Large Headings in pdf transformation
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
Large Headings in pdf transformation
Post 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.
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.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
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
Post by dpksaini89 »
In which .xsl file are the heading 1,2,3,4 styles defined? What is its location?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
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
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service