This page of the Scroll PDF doc: http://k15t.com/display/PDF/How+Scroll+Handles+Headings defines the default algorithm for promoting the highest level of headings found on a page to h1 because most users default to the page title + a general repeat of the page title as the first heading on the page. That makes sense as a general rule.
We stopped doing that a long time ago - our page titles reflect the page content, and don't repeat the title as a top heading (our introductory text just starts on the page). We use h2 headings to connote the highest level of subsections on the page, with h3, h4, etc. under that. So we have:
intro text (if any)
In my template, I have the Static Pages setting for Content configured to insert the page title as an h1 on every page, with a CSS rule to page break before every h1. However, the subsections (which were h2) are being promoted to h1 levels, which means the subsections are ending up on new pages, and inflating the size of my PDF export (129 Confluence pages has become just under 500 pages in PDF, with lots of half-blank pages).
Is there any method I could use to force the h2 headings on my pages to stay h2 in this scenario?
Thanks in advance -
Please sign in to leave a comment.