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.
Large Headings in pdf transformation
Re: Large Headings in pdf transformation
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
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
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
Re: Large Headings in pdf transformation
In which .xsl file are the heading 1,2,3,4 styles defined? What is its location?
Re: Large Headings in pdf transformation
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
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
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support