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

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

It seems I've probably misinterpreted this defect. The solution I've built just 
takes an existing DocumentModel and expands each document that's included to 
build the TOC from actual contents. However it's still sitting in chapters 
based on the original configured TOC and I've done nothing explicit to handle 
nested, linked documents.

If you still want to try out my solution you can build my version of the 
maven-pdf-plugin. It has the dependency to my customized maven-doxia-sitetools
https://github.com/sasjo/maven-plugins/tree/trunk/maven-pdf-plugin

To try it out, first do mvn install for the 
maven-doxia-sitetools/doxia-doc-renderer, then mvn install on my 
maven-pdf-plugin. Then change groupId and version in your POM to point to the 
values in my projects.
                
> 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


Reply via email to