HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › TOC More Parameters / Inject CSS classes in TOC › Re: Re: TOC More Parameters / Inject CSS classes in TOC
April 3, 2013 at 18:40
#29277
[/language:1cdvml8b] –
By the link you may find an info, which reveals what is behind
http://pd4ml.com/cookbook/pd4ml_table_of_contents.htm
Unfortunately the only workaround for the number alignment problem is like that:
[language=xml:1cdvml8b]
1. Line 1
2. Line 2
10. Line 10
40. Line 40
[/language:1cdvml8b]
Unfortunately the workaround has its drawbacks: entities slightly shift chapter names in the the main document, and TOC printed with “Courier New” does not always look matching the main document style.
An implementation of a proprietary numbering attribute for