Adding a custom graphic to XSL-FO stylesheets
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 1
- Joined: Tue Apr 07, 2015 12:42 am
Adding a custom graphic to XSL-FO stylesheets
Apologies if I should have been able to find the answer, but I wasn't able to after some searching.
I am customizing the DITA-OT pdf generation process. I have found where one is supposed to be able to put custom graphics into cfg/common/artwork/ to modify the graphics used for the various note types. But try as I might, I cannot figure out how to add a new graphic such as the client's logo so that I can reference it from the XSL-FO stylesheets. Putting the graphic in the same directory as the custom fo (cfg/fo/xsl/) and referencing it with a path-less file name doesn't work (presumably because the FO stylesheet is not really in that location any more when the XSLT processor is running).
What's the trick to be able to reference a custom graphic from a custom xsl-fo file?
thanks.
paul
Using: <oXygen/> XML Editor 15.2, build 2014040317
I am customizing the DITA-OT pdf generation process. I have found where one is supposed to be able to put custom graphics into cfg/common/artwork/ to modify the graphics used for the various note types. But try as I might, I cannot figure out how to add a new graphic such as the client's logo so that I can reference it from the XSL-FO stylesheets. Putting the graphic in the same directory as the custom fo (cfg/fo/xsl/) and referencing it with a path-less file name doesn't work (presumably because the FO stylesheet is not really in that location any more when the XSLT processor is running).
What's the trick to be able to reference a custom graphic from a custom xsl-fo file?
thanks.
paul
Using: <oXygen/> XML Editor 15.2, build 2014040317
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Adding a custom graphic to XSL-FO stylesheets
Post by sorin_ristache »
Hi,
I think you can find one of the best explanations in this DITA PDF cutomization book. Failing that, I suppose the many DITA-OT experts that follow the dita-users mailing list can give you a detailed example.
I think you can find one of the best explanations in this DITA PDF cutomization book. Failing that, I suppose the many DITA-OT experts that follow the dita-users mailing list can give you a detailed example.
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor 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)
- ↳ 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