TOC: font changes - list of figures

sushmatechpub
Posts: 7
Joined: Fri Mar 01, 2019 9:08 am

TOC: font changes - list of figures

Post by sushmatechpub » Tue Jun 25, 2019 9:16 am

On Generating TOC, the font changes at a point for list of figures. Have to manually change it and save the PDF. See screenshot for more information.
TOC_listofigures_err.PNG
screenshot - TOC - error highlighted
TOC_listofigures_err.PNG (57.63 KiB) Viewed 498 times

Costin
Posts: 600
Joined: Mon Dec 05, 2011 6:04 pm

Re: TOC: font changes - list of figures

Post by Costin » Tue Jun 25, 2019 11:30 am

Hello,

This is most probably something that has to do with your own customization (I noticed you also have orange color for the figurelist entries, so most probably you are using your own cutom CSS, or a publishing template).
I double checked and there is no issue with the figurelist's font. Please try using the latest version of oXygen available on our website and the default DITA Map PDF - based on HTML5 & CSS scenario, without any custom CSS.

You can see in the screenshot below that there is no font difference for any of the table of contents titles.

Image

Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

sushmatechpub
Posts: 7
Joined: Fri Mar 01, 2019 9:08 am

Re: TOC: font changes - list of figures

Post by sushmatechpub » Tue Jun 25, 2019 1:24 pm

Thanks for your reply. However, I have some font requirements, for example, it should be Calibri. Should this kind of customization block the TOC that gets generated? how to debug?

Costin
Posts: 600
Joined: Mon Dec 05, 2011 6:04 pm

Re: TOC: font changes - list of figures

Post by Costin » Tue Jun 25, 2019 2:29 pm

I tried using

Code: Select all

*[class ~= "placeholder/figurelist"] *[class ~= "listentry/entry"] {
    font-family: Calibri;
    color: orange;
}
in a customization CSS but still do not see any difference.
So it must be another selector that matches your figurelist entries in your customization.

For debugging suggestions, see the "Debugging the CSS" section from the DITA-OT CSS Publishing to PDF Plugin User-Guide on our website.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

Post Reply