How can I fix my broken PDF? Edited

I have a pdf file generatted with Confluence with Chrome in July 2017 which was fine, but by following the same process, the same file is now collapsed.
The PDF creation process is:
1, view the confluence page
2, Click 'Export to PDF' and download the file, 
or Press 'ctrl + p' key and  select pdf and save.

Issues are :
1, The link in the 'table of contents' is not working.
2, "pageーbreakーbefore:always" is not working.

Has anybody face the same issue?
I need help how to solve the issue.

1 answer

1 accepted


Do you mean you use a PDF utility to print files ? CTRL-P is a functionality of the browser, the usual way to export PDF files with Confluence is to click on the "..." menu then "Export to PDF". I tried on a page containing the "Table of contents" macro and it works fine. The only issue I have at the moment is related to the "child page" macro when exporting a space: in this case the links point to the cloud and not to the PDF document.

FYI, this problem is described here: CONFCLOUD-56581

Thank you very much for your reply.

This time, I used the "Export to PDF" function of Confluence, but the pdf is still broken. (This time I can see "Error rendering macro 'toc' : null" error on the pdf.)

*IE,Chrome, Chrome-incognito, the result is the same.



By the way, Ctrl+P with Chrome worked fine in July for the same Confluence page.


I'd recommend you open a ticket at Confluence support. They will need to have access to your page and PDF stylesheet to help you to solve this issue.

Yuki Okamoto Atlassian Team Sep 25, 2017

I'm support engineer in Atlassian and the original problem has already been solved in the support ticket.

The root cause was that the appropriate font file hadn't been installed in the cloud instance. (cf.

Installing the font file solved the macro break.

Hi Yuki-san,

Thank you very much, this is solved. 


Yuki Okamoto Atlassian Team Sep 26, 2017

Thanks for your reply, Ando-san.


- 日本語でコミュニティサイトを利用する


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you