On 07/30/2012 05:29 AM, Elena Roman wrote:
Hi,

I am developing a script on groovy which compiles a table of content
"manually" and then  includes the children documents before exporting to
PDF.

So finally compiled  document content looks like

"

=={{{     }}}[[1. Software Requirements
Specification>>#H1.SoftwareRequirementsSpecification-1]]==

==={{{        }}}[[1.1. Use cases>>#H1.1.Usecases-1]]===

===={{{           }}}[[1.1.1. Bite registration and occlusal clearance
UC

......



......

== 1. Software Requirements Specification==

{{include document="Polaris.SoftwareRequirementsSpecification"
context="new"/}}

=== 1.1. Use cases===

{{include document="Polaris.Use cases" context="new"/}}

......

"



But when I export the document to PDf my compiled TOC(which is rather
large) is not carried on the next page, it is just cut in the middle.

The Export to RTF passes ok with carrying the TOC on the next page.



Could somebody  help to understand where is the problem?


It might be a styling problem, meaning that the ToC is forced to be displayed in just one unbreakable block. It would help if you provide the intermediary FO file for debugging.

--
Sergiu Dumitriu
http://purl.org/net/sergiu/


_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to