It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I set the table of contents when I export to PDF to match the actual page breaks?

I've set the page breaks in the PDF Stylesheet to break before each h1 in order to separate each page of the space when exporting.  Otherwise, the pages from the space print continuously, one after another with no breaks.  However the TOC included with the export does not seem to recognize these page breaks set in the stylesheet and identifies the page numbers as if the page breaks were not set, so the TOC page numbers do not accurately identify the pages in the export.  For instance if 2 pages would have fit on one page without the h1 set page breaks, the TOC shows each of those pages from the space with the same page number, even though they are printed as 2 consecutive pages in the export.  The page numbers at the bottom of each exported page are accurate, but they do not match the TOC.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

67 views 3 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you