You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Samuel Sjöberg (JIRA)" <ji...@codehaus.org> on 2012/11/12 17:25:14 UTC

[jira] (MPDF-10) Support menu sub-items in table of contents

    [ https://jira.codehaus.org/browse/MPDF-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313433#comment-313433 ] 

Samuel Sjöberg commented on MPDF-10:
------------------------------------

I've forked doxia-doc-renderer on github in an attempt to fix this for FOP.

https://github.com/sasjo/maven-doxia-sitetools

I've changed the FoPdfRenderer to do a 2-pass rendering of the document. The first round is using the IndexingSink (from the TocMacro) and allows me to build a DocumentTOC where each configured chapter (i.e., document) has been extended to include the titles in the document. Things seems to work OK for the test cases and my real-word documents so far. Perhaps this could be a starting point for a full-on solution if not already sufficient as-is.
                
> Support menu sub-items in table of contents
> -------------------------------------------
>
>                 Key: MPDF-10
>                 URL: https://jira.codehaus.org/browse/MPDF-10
>             Project: Maven 2.x PDF Plugin
>          Issue Type: New Feature
>            Reporter: Lukas Theussl
>
> Currently, every source document starts a new chapter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira