No image on PDF front page
Posted: Sat Mar 23, 2013 6:28 pm
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.