Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24004

PDF export: TOC page numbers overflow the right margin when more than 999 pages

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      PDF exports from the Confluence documentation can contain over 1000 pages. When that is true, page numbers in the TOC overflow the right-hand margin, so that from page 999 on you see 100, 100, 100, 101 etc. (i.e. when page numbers have >3 digits) Embarrassing, really.

      See this user comment: (They have the same trouble.)
      http://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF?focusedCommentId=269980052#comment-269980052

      This CSS in the PDF Stylesheet is a workaround (it mucks with the indentation a bit):
      div.toc

      { text-align:right; }

      Can this CSS (or equivalent) be added to the default CSS for PDF export?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pwatson paulwatson (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: