[ http://jira.codehaus.org/browse/DOXIA-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton updated DOXIA-338: ---------------------------------- Attachment: DOXIA-338.diff Here is a patch for your requirements. Test under your test case and also mvn pdf:pdf -Dimplementation=itext Waiting for your comments before to apply > Section numbering and links > --------------------------- > > Key: DOXIA-338 > URL: http://jira.codehaus.org/browse/DOXIA-338 > Project: Maven Doxia > Issue Type: Bug > Components: Book > Affects Versions: 1.1.1 > Environment: Java 5, OSX 10.5.7, Maven 2.1.0 > Reporter: Nathan Sowatskey > Attachments: DOXIA-338.diff, doxia-site-test.zip > > > Hi > The attached project exhibits two issues that I would like to discuss: > - Section numbering > - Internal links > With section number, I see this: > 1. Chapter 1 > ... > 1. First Section > Note that the Chapter and the first section of the Chapter have the same > number. I would like the first section to be numbered 1.1, i.e. prepended by > the chapter number. > If you look at chapter two, the chapter and first section are not the same. > This is fine, but you can see that the first section in chapter 2 has the > same number as the first section in chapter. Overall, then, the section > numbers in the document are not unique. If we prepended with the chapter > number, they would be. > On internal linking, the link in "See Second Section below." doesn't work. > The link in the TOC does though. > Thanks > Nathan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira