Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

My TOC Heading breaks before generated TOC.

Gillian Flato
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2015

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

0 votes
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2015

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
TAGS
AUG Leaders

Atlassian Community Events