Page 1 of 1

Large Headings in pdf transformation

Posted: Tue Oct 22, 2019 3:38 pm
by dpksaini89
Hi team,

I am using <oXygen/> XML Author 21.1, build 2019090904 for pdf transformation.

The pdf after transformation has heading 1 and 2 bigger than the size defined in css. Also the safety statements are distorted.

Re: Large Headings in pdf transformation

Posted: Tue Oct 22, 2019 4:23 pm
by Costin
Hello,

Maybe there are some other rules in your customization CSS that override the headers size?
Or there could be selectors (either from your customization or from the default CSS files in oXygen) that have a higher specificity?

I suggest you should use the technique described in the Debugging the CSS section from the "Oxygen DITA-OT CSS Publishing to PDF Plugin" to better notice which selectors match the headers and which rules are applied. Then you could use higher specificity selectors or the !important marker in your customization CSS to override them.

If you still won't manage to find out what causes the different size, you should provide us some minimal sample files together with the specific customization CSS that you are using and which reproduce the issue and we could have a look at them to see if we find something.

Regards,
Costin

Re: Large Headings in pdf transformation

Posted: Wed Oct 23, 2019 12:24 pm
by dpksaini89
In which .xsl file are the heading 1,2,3,4 styles defined? What is its location?

Re: Large Headings in pdf transformation

Posted: Wed Oct 23, 2019 1:52 pm
by Costin
Which transformation scenario are you using?
The DITA Map PDF based on XSL-FO, or the DITA Map PDF based on HTML5 and CSS?

As you asked about the .xsl files that style the headers, am I right in supposing you are using the XSL-FO based scenario?

Regards,
Costin