The fix cause a error in generation of PDF catalog
Caused by: org.apache.fop.fo.ValidationException: Property id "N100A9-chapter-refid-1" previously used; id values must be unique in document.
at org.apache.fop.fo.FObj.checkId(FObj.java:176)
at org.apache.fop.fo.FObj.startOfNode(FObj.java:156)
at org.apache.fop.fo.flow.Block.startOfNode(Block.java:138)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:295)
The ids are not unique for each aggregated contents
Laurence Aumeunier
added a comment - The fix cause a error in generation of PDF catalog
Caused by: org.apache.fop.fo.ValidationException: Property id "N100A9-chapter-refid-1" previously used; id values must be unique in document.
at org.apache.fop.fo.FObj.checkId(FObj.java:176)
at org.apache.fop.fo.FObj.startOfNode(FObj.java:156)
at org.apache.fop.fo.flow.Block.startOfNode(Block.java:138)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:295)
The ids are not unique for each aggregated contents
In your patch, the PDF version does not conform to the HTML view:
title "Table of contents" should not appear
the chapter numbering is bad when table of content is inserted in middle of the page
the space between two chapter is too high
See HTMLvsPDF.png for details
Laurence Aumeunier
added a comment - In your patch, the PDF version does not conform to the HTML view:
title "Table of contents" should not appear
the chapter numbering is bad when table of content is inserted in middle of the page
the space between two chapter is too high
See HTMLvsPDF.png for details
Table of content with CSS counters