You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Johannes Schwalb (JIRA)" <ji...@codehaus.org> on 2013/04/13 21:09:52 UTC

[jira] (MPDF-59) In "Table of Contents" the TOC itself is chapter 1, but not in the document

Johannes Schwalb created MPDF-59:
------------------------------------

             Summary: In "Table of Contents" the TOC itself is chapter 1, but not in the document
                 Key: MPDF-59
                 URL: https://jira.codehaus.org/browse/MPDF-59
             Project: Maven 2.x PDF Plugin
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Java version: 1.7.0_07, vendor: Oracle Corporation
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

            Reporter: Johannes Schwalb
         Attachments: maven-pdf-plugin-doc-1.0-SNAPSHOT.pdf

In the Table of Contents, the TOC itself is listed as item/chapter 1. However, in the document itself the first item/chapter of the pdf.xml is listed as item/chapter 1, whereas the TOC lists it as item/chapter 2. This is confusing...

The attachment is the well-known pdf generated from the filtering testcase of the maven-pdf-plugin, version 1.3-SNAPSHOT. It shows on page "i" the Table of Contents having a self-reference to itself as item/chapter 1. In the TOC, the chapter "Introduction" is defined as item/chapter 2 on page 1. Having a look at page 1, the item/chapter "Introduction" is labelled as item/chapter 1.

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