I use the xhtml2pdf module to generate a PDF document and I want to use the pdf:pagecount tag in a normal text, i.e. outside the footer.
xhtml2pdf
pdf:pagecount
When I