Maven 1.x PDF Plugin
  1. Maven 1.x PDF Plugin
  2. MPPDF-37

Page numbering not correct with more than 10 items in menu

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.5
    • Labels:
      None
    • Environment:
      any
    • Number of attachments :
      0

      Description

      With the following menus in my navigation.xml file:

      <menu name="User Guide">
      <item name="Home" href="/index.html"/>
      <item name="Introduction" href="/intro.html"/>
      <item name="Installation" href="/install.html"/>
      <item name="Screen Elements" href="/screen.html"/>
      <item name="Usage" href="/usage.html"/>
      <item name="Known Problems" href="/problems.html"/>
      <item name="Documentation" href="/doc.html"/>
      <item name="History" href="/history.html"/>
      <item name="Credits" href="/credits.html"/>
      <item name="Style Files" href="/style.html"/>
      <item name="License" href="/license.html"/>
      </menu>
      <menu name="Appendix">
      <item name="Bibliography" href="/bib.html"/>
      </menu>

      the page number of the pdf file gets reset to one at the 11th section ("License"). Interestingly, if I move 10 items from the first into the second menu, the page numbering stays correct, so it only seems to affect the first menu.

        Activity

        Hide
        Lukas Theussl added a comment -

        Because of a weird way of determining the chapter number, the page number got reset to 1 at chapters 1.1, 1.1.1, 1.11,1.111...

        Show
        Lukas Theussl added a comment - Because of a weird way of determining the chapter number, the page number got reset to 1 at chapters 1.1, 1.1.1, 1.11,1.111...

          People

          • Assignee:
            Unassigned
            Reporter:
            Lukas Theussl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 1 hour
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified