No image on PDF front page
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Sat Mar 23, 2013 5:43 pm
No image on PDF front page
Hi. I'm evaluating this product for use at my company, kinda new to all this. Like many other posts in here, I'm trying to customize the front page of a PDF file with a company logo. This is a .dita --> PDF conversion. Using a Mac, OS X 10.6.
I found your great instructions on DITA to PDF customization. Followed those steps, but I cannot get the PDF to render the image. I'm using a small red rectangle to test with. The PDF generates fine, but no image.
Here's what I did:
Thank you.
I found your great instructions on DITA to PDF customization. Followed those steps, but I cannot get the PDF to render the image. I'm using a small red rectangle to test with. The PDF generates fine, but no image.
Here's what I did:
- Copied the Customization directory to a new location,
Code: Select all
/Users/<user name>/oxygenAuthor/Customization
- Moved sample .png file to
Code: Select all
\Customization\common\artwork\
- Removed the .org extensions from the catalog.xml and custom.xsl files
- Uncommented the appropriate line in catalog.xml, this:
Code: Select all
<uri name="cfg:fo/xsl/custom.xsl" uri="fo/xsl/custom.xsl"/>
- Added front matter code to custom.xsl and changed to graphic link to point to my test image, like this:
Code: Select all
<fo:external-graphic src="url({concat($artworkPrefix, '/Customization/OpenTopic/common/artwork/small_red.png')})"/>
Thank you.
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: No image on PDF front page
Hi Joe,
So sorry for the delay, your post got stuck in our moderation queue.
To make sure your customization is used please try to make the custom.xsl not well formed and then run the transformation. If the transformation fails, then your customization is used.
You can also edit the transformation scenario and set the parameter clean.temp to no.
After the transformation you will find in the temporary files folder a file called topic.fo. Try to look in it and see how the reference to the image was constructed, maybe it points to an invalid path.
Regards,
Radu
So sorry for the delay, your post got stuck in our moderation queue.
To make sure your customization is used please try to make the custom.xsl not well formed and then run the transformation. If the transformation fails, then your customization is used.
You can also edit the transformation scenario and set the parameter clean.temp to no.
After the transformation you will find in the temporary files folder a file called topic.fo. Try to look in it and see how the reference to the image was constructed, maybe it points to an invalid path.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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