Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to deactivate the heading demotion in the pdf-export?

Merihim January 10, 2017

Hi,

i have partially a very deep space structure. When i export the space to pdf, the headings of the deepest pages are just normal text. Is there a way to handle this ? 

 

1 answer

0 votes
Marcel Woschek
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.
January 11, 2017

Hi Benjamin,

I guess the problem lies in the CSS-PDF Stylesheet. It simply doesn't define so many levels of headings.

You can change this by adding more levels in the stylesheet as described here.

 

A simple example: A Level 6-Heading in CSS can be defined as following:

h6 { 
    display: block;
    font-size: .67em;
    margin-top: 2.33em;
    margin-bottom: 2.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}
Marcel Woschek
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.
January 11, 2017

You can also "bulk-define" headings like this:

h2,
h3,
h4,
h5,
h6 {
    display: block;
    font-size: .67em;
    margin-top: 2.33em;
    margin-bottom: 2.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events