Hi...
Can someone share with me some confluencedefaultpdf.css customization examples - that demonstrate
the control/generation of PDF bookmarks...
I'd like to generate bookmarks - according to headings h1/h2/h3 - in a manner similar to the TOC (Table of Contents Macro). This seems to me - a very common requirement, referenced many times in documentation/forums - but no example anywhere ?
If found the following online - can someone help - or forward me a link that explores this type of customization.....
Thanks
.pagetitle { page-break-before: always; }
From:
See:
https://answers.atlassian.com/questions/30169/confluence-export-to-pdf-generate-bookmark-index
https://answers.atlassian.com/questions/4625/pdf-export-creates-bookmarks-at-end-of-prior-section
That is exactly what i am looking for, too. Has anybody an answer? Unfortunately pagebreak just isnt enough. I also have found this issue, but nobody seems to care :-/
See comments... for link
Question has been answered already:
1) You can insert a user-macro to do this...
## Macro name: pagebreak ## Has body: NO ## Generates: HTML markup <div id="pagebreak" style="page-break-before:always;"></div>
2) OR You can use CSS - in Confluence>Admin>LookFeel>PDFExportStylesheet
div.pagebreak {page-break-before: always;}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK
I'm able to add PageBreaks - now - at any HTML element I want ?
H1, H2... or DIVs of a certain 'class'.... BUT this does not seem to create bookmarks in the generated PDF as I was led to believe my the documentation ?
Any thoughts ?
This has been answered here:
https://answers.atlassian.com/questions/9558/page-breaks-in-pdf-s
1) You can insert a user-macro to do this...
## Macro name: pagebreak ## Has body: NO ## Generates: HTML markup <div id="pagebreak" style="page-break-before:always;"></div>
2) OR You can use CSS - in Confluence>Admin>LookFeel>PDFExportStylesheet
div.pagebreak {page-break-before: always;}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.