PDF output for inline graphic
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 6
- Joined: Mon Aug 08, 2016 5:56 pm
PDF output for inline graphic
I'm using DITA and adding an inline graphic to a task step. I'm using the PDF2 output. I add an image element and set the "placement" attribute to "inline" because I'm describing an icon the user should click. When I generate the PDF output, however, the baseline of the step text, but not the step number, has been shifted so that the text no longer lines up with the step number.
Here's an example of the output:
https://drive.google.com/open?id=0BwMEf ... JQR05yS1Ew
My question is: how can keep the line from shifting below the step number?
Here's an example of the output:
https://drive.google.com/open?id=0BwMEf ... JQR05yS1Ew
My question is: how can keep the line from shifting below the step number?
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: PDF output for inline graphic
Post by radu_pisoi »
Hi,
Unfortunately, this is a known issue that cannot be fixed due to limitations in Apache FOP processor.
https://github.com/dita-ot/dita-ot/issues/1241
This happens when the image height is greater than the text line height. So, an workaround could be to resize your image.
Another option is to use a commercial XSL-FO processor: Antenna House or RenderX XEP. In this case the list item number is placed on the base line.
Unfortunately, this is a known issue that cannot be fixed due to limitations in Apache FOP processor.
https://github.com/dita-ot/dita-ot/issues/1241
This happens when the image height is greater than the text line height. So, an workaround could be to resize your image.
Another option is to use a commercial XSL-FO processor: Antenna House or RenderX XEP. In this case the list item number is placed on the base line.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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