I am using mpdf library for creating pdf files, but I have problem - when I'm using @page in css, then {PAGENO} doesn't work - in all pages this is substituted with '1'. When I remove @page from css, then everything is ok - pages are counting.
In documentation here I found a sentence:
Page numbering changes are made when adding a new page using AddPage() or (or TOCpagebreak() and ) or using @page.
Maybe someone knows how to solve it?