Picture path error in PDF output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 26
- Joined: Wed Nov 27, 2019 11:03 am
Picture path error in PDF output
Hi team!
I've met a strange thing - inline images don't appear in PDF. I tried to prepare an example, but it didn't happen again for the short filepath.
Please see a screenshot.
Sincerely,
Dmitry
I've met a strange thing - inline images don't appear in PDF. I tried to prepare an example, but it didn't happen again for the short filepath.
Please see a screenshot.
Sincerely,
Dmitry
path_error.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Picture path error in PDF output
Can you try transforming using the classic PDF transformation, one based on XSL-FO? Do the images appear in this case? Can you move the image next to the topic, change its reference and give it a try?
Regards,
Dan
Regards,
Dan
-
- Posts: 26
- Joined: Wed Nov 27, 2019 11:03 am
Re: Picture path error in PDF output
Hi Dan.
I've prepared an example.
Topic from first folder is processed properly.
Topic from second folder takes error messages for every picture reference (I put the picture in two places):
Regards,
Dmitry
I've prepared an example.
Topic from first folder is processed properly.
Topic from second folder takes error messages for every picture reference (I put the picture in two places):
Code: Select all
Image not found. URI: file:/D:/Temp/1/checkbox.svg. (See position 10:478)
Image not found. URI: file:/D:/Temp/1/../images/checkbox.svg. (See position 14:406)
Image not found. URI: file:/D:/Temp/1/../images/checkbox.svg. (See position 18:406)
Dmitry
test.zip
You do not have the required permissions to view the files attached to this post.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Picture path error in PDF output
I see that the image is outside the folder containing the transformed topic.
Please set the transformation parameter:
Many regards,
Dan
Please set the transformation parameter:
Code: Select all
fix.external.refs.com.oxygenxml = true
Dan
-
- Posts: 26
- Joined: Wed Nov 27, 2019 11:03 am
Re: Picture path error in PDF output
I see, Dan, thanks!
I should have guessed that it is bad idea to transform individual topics to check the appearance of graphics.
Only ditamap.
Even if it's 40 pages.
BTW, just for ask - one of links in my example is about image inside. But is causes an error as well. Why?
Regards,
Dmitry
I should have guessed that it is bad idea to transform individual topics to check the appearance of graphics.
Only ditamap.
Even if it's 40 pages.
BTW, just for ask - one of links in my example is about image inside. But is causes an error as well. Why?
Regards,
Dmitry
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Picture path error in PDF output
Publishing individual topics is always more tricky because there might be references that are not processed (especially if not having a key context for it). Anyway, with fix.external.refs.com.oxygenxml parameter it should work for simple cases.
The other problem you noticed, the direct link to an image next to the topic itself, is a bug. It is also fixed by setting that parameter. We have recorded an issue about this.
Many regards,
Dan
The other problem you noticed, the direct link to an image next to the topic itself, is a bug. It is also fixed by setting that parameter. We have recorded an issue about this.
Many regards,
Dan
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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