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

My TOC Heading breaks before generated TOC.

In the bottom of my PDF Space Export Title Page, I have the following: <div><h1>Table of Contents</h1></div> The Heading renders properly, but the TOC content is on the following page. Obviously I want the TOC heading and the TOC content on the same page. How do I achieve this?

1 answer

If that <div>...</div> heading is at the bottom of the Title Page there is a good chance that there simply isn't enough space for the TOC itself and it will be moved to the next page.

The easiest solution should be to include a page break before the <div>...</div> so that the heading also moves to the next page.

If that doesn't work try to explain more precisely:

  • What is the code in you Title Page?
  • What TOC do you use? The confluence one or the macro?
  • Do you use a PDF Export Stylesheet? What is in there?

How a page break can be created has been answered numerous times. It is just a bit difficult to find these answers with the forum search engine. Perhaps try a Google search instead.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Industry Groups

🚗 How the Engineers at Karma used Atlassian products to build the Karma Revero

Hello, Automotive enthusiasts! Are you ready for October to begin 🙀? I wanted to share with you an Article I came across from Work/Life (The Atlassian blog) from Soumya Menon of Go2Group, a worldw...

38 views 2 1
View post

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