Content in Excerpt Macro Does Not Render Correctly in PDF Output

Each topic in my my publication space has an {excerpt} macro right at the top which contains the topic description. This is used in our indexing pages along with the topic title.

The issue is that when I export to PDF, the content within the macro is treated as H1, rather than body text. Since there is automatic demotion of the H1 page title because of the way the PDF renders hierarchy (something that I also find rather annoying), I wind up with an introductory paragraph that is rendered in larger type than the topic title.

I have tried various ways to fix this through CSS, but nothing seems to work, and when I inspect the HTML with Firebug, there doesn't seem to be any styling element around this content that I can manipulate with CSS. Is this a bug, or is there a way to fix this so I can output decent-looking PDFs?

2 answers

0 vote

Hello Phil,

I believe this is a bug indeed, however I couldn't find one of these in our bug tracker unfortunately.

I think the best is to open a ticket to support.atlassian.com and state the exact steps to reproduce this issue so we can open a bug report for it.

Hope that helps :)

Cheers,

Rodrigo Girardi Adami

This has been escalated to a full-scale bug: https://jira.atlassian.com/browse/CONF-27191. If others are having the same problem I urge you to vote it up so that it will be resolved. It seems to be affecting many other people in a substantial way.

This has been logged as a different bug now: https://jira.atlassian.com/browse/CONF-26613. According to JIRA, this is "Unresolved" and "Unassigned," though the problem appears to be fixed in 5.0. However, I don't want to upgrade to 5.0 because of the interface changes and the Confluence UI development path that will set the Documentation theme as the default. Can someone tell me if this was actually corrected in an incremental upgrade, or only in 5.0?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

369 views 20 10
Join discussion

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