Page 1 of 1

PDF outout: Preserve formatting in titles?

Posted: Wed Feb 13, 2019 1:51 pm
by Bilderboerg CEO
Is there a way to preserve multiple styles within a topic title when producing PDF output?

For example:

Code: Select all

<title><i>Italic</i> normal <codeph>Code</codeph> normal</title>
I get the expected output in HTML, but PDF strips out all the formatting.

Re: PDF outout: Preserve formatting in titles?

Posted: Wed Feb 13, 2019 2:32 pm
by Radu
Hi,

There may be two possibilities for this behavior:

1) You have a custom PDF plugin (or customization folder) which somehow changed the way in which the title text was generated and removed all formatting from it.
2) You are using for the title a font which does not support italic glyphs (for example most fonts which render Chinese content might not support rendering bold or italic content).

Regards,
Radu

Re: PDF outout: Preserve formatting in titles?

Posted: Wed Feb 13, 2019 3:31 pm
by Bilderboerg CEO
Thanks for the quick reply. :)

Do you know if the org.dita.pdf2 plugin removes the formatting likes this?

Re: PDF outout: Preserve formatting in titles?

Posted: Wed Feb 13, 2019 3:52 pm
by Radu
Hi,

I did a quick test and the italic formatting was preserved in a topic title when published to PDF.

Regards,
Radu

Re: PDF outout: Preserve formatting in titles?

Posted: Wed Feb 13, 2019 5:28 pm
by Bilderboerg CEO
Radu wrote:Hi,

I did a quick test and the italic formatting was preserved in a topic title when published to PDF.

Regards,
Radu
Thanks for the help :)