Page number in the table of content

When I use the custom PDF export of Confluence, I sometimes have in the TOC a list item that spans 2 lines. When the second line is also almost filled, the page number seems to be split, one number is on the second line, the other number is on a third line on the left.

Example:

1.34 201404 Principiële goedkeuring van voorontwerp besluit Vlaamse Regering inzake goedkeuring van IMKL en PMKL en betreffende de inwerkingtreding van het KLIP-wijzigingsdecreet dd 17 januari 2014 wat betreft de wijze van het afhandelen van een planaanvraag 50
50

Is this a known issue?

1 answer

This widget could not be displayed.

Hi Patrick,

I hope that I understand to your request :)

PDF export is always little bit problematic. So we have to make a few CSS fixes for that. Maybe try to set line-height or margins?

And which version of Confluence do you have?

Hi Ales,

We have version 5.5.3.

Patrick

We have the same. So maybe try to define line-height in CSS

OK, but how do I do that for the TOC?

This is all our CSS where is somethink with li (html elemt for lists)

.wiki-content > div > ul,   
.wiki-content > div > ol{
   margin-left: 15pt;  
}

p, td, th, table td, table th, li, a, div, span, .panelMacro, .panelMacro td, .panelMacro p {  
  font-size: 10pt; line-height: 13pt;  
  font-family: "DejaVu Sans Condensed", serif;  
}  

li {  
  margin-top: 2pt; margin-bottom: 2pt;  
}  

div.toc 
{
    page-break-after: avoid;
}

Last one, page break after is about one issue, maybe it was fixed. When we exported to PDF, we have a page break after TOC :)

Hi Ales,

I added the line-height for the li element: the toc was better for some items, but other items get the same issue then.

Not sure if it's a Confluence PDF creation problem or a Adobe PDF problem.

Thanks,

Patrick

Still have the issue...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
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