Table of contents in PDF generated document

0
Been trying out the new pdf generation beta from Mendix. Anyone has an idea to create a table of contents with dynamic page numbers for a generated document?  I've done some research and got pointed to the target-counter css lvl 3 property which can retrieve a page number for a certain anchor point in a document. But it looks like this property can only be used from certain libraries like PagedJS or PrintCSS or PrinceXML. Anyone has an idea what the best approach would be? 
asked
0 answers