Images missing from DITAVal output (action="flag")
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 11:22 pm
Images missing from DITAVal output (action="flag")
I'm trying to add images to flagged content. These images appear in HTML output, but not in PDF.
Here is the markup from my DITAVal file:
Here's the error I get in processing:
Is this maybe a toolkit bug? I'm using DITA OT 2.3.3.
Thanks.
Here is the markup from my DITAVal file:
Code: Select all
<val>
<prop action="flag" att="platform" val="win" backcolor="yellow">
<startflag imageref="microsoft.jpg">
<alt-text>Windows</alt-text>
</startflag>
</prop>
</val>
Code: Select all
[fop] [ERROR] Image not found. URI: file:/private/var/folders/1g/9n6smx8d1g7gngs6rrr0wpf40000gq/T/OxygenXMLTemp/ditaTemporaryOutputDir-1529690744365/t1/t2/t3/t4/t5/../product_name/microsoft.jpg. (See position 10:-1)
Thanks.
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Images missing from DITAVal output (action="flag")
Hi Kate,
I can also reproduce the problem using the DITA OT 2.5.4 bundled with Oxygen 20.1. The problem seems somehow related to using the "fix.external.references" parameter. I can no longer reproduce the problem using DITA OT 3.1, there is an Oxygen add-on for it:
https://github.com/oxygenxml/dita-ot-3x-plugin.
Maybe as a possible workaround, just for the PDF publishing in the DITAVAL you could have an absolute reference to the image, like:
Regards,
Radu
I can also reproduce the problem using the DITA OT 2.5.4 bundled with Oxygen 20.1. The problem seems somehow related to using the "fix.external.references" parameter. I can no longer reproduce the problem using DITA OT 3.1, there is an Oxygen add-on for it:
https://github.com/oxygenxml/dita-ot-3x-plugin.
Maybe as a possible workaround, just for the PDF publishing in the DITAVAL you could have an absolute reference to the image, like:
Code: Select all
<val>
<prop action="flag" att="platform" val="win" backcolor="yellow">
<startflag imageref="file:/C:/path/to/my/project/Salvia.jpg">
<alt-text>Windows</alt-text>
</startflag>
</prop>
</val>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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