Hello,
I want to customize TOC in my PDF export but I don’t know if I can.
/home/applis/xwiki/templates/pdftoc.vm containing:
<h1>$services.localization.render('core.pdf.tableOfContents')</h1>
and debug displayed
Final XHTML for export:
</div><div class="pdftoc" style="display: block; ">
<h1 style="display: block; font-size: 2em; font-weight: bold; ">Table des matières</h1>
</div><div id="xwikimaincontainer" style="display: block; ">
and next showing “Intermediary XSL-FO:”
Then I can not watch the HTML code inside “pdftoc” div to add some CSS code…
By the way, I Tried to use Numbered Headings xwikicontent with pdf.css but the PDF export failed with "javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Invalid property encountered on “fo:block”: counter-reset".
I read your previous post about it: http://lists.xwiki.org/pipermail/users/2016-June/033181.html
Ty
Pascal B