DITA PDF2 "external-graphic" reference
Posted: Wed Mar 17, 2010 12:30 am
Hello,
I am using Oxygen to transform DITA topics into PDF2 (Idiom plugin) and I have added the following code to the front-matter_1.0.xsl file:
But I need the path to be relative not absolute. I am not sure if this is possible so I have tried rather utilizing an existing parameter such as <fo:external-graphic src="{$artworkPrefix}/cis_logo.jpg"/> and that seems to work okay except it does not point to the directory of my logo (the basedir), so I would like to pass another parameter to it from build.xml (in /DITA-OT/demo/fo), but am unsure of how to do this. Does anyone have any ideas how I can point to the logo in my basedir with a variable/parameter? Or should I consult the DITA yahoo users group?
Thanks,
Josh
I am using Oxygen to transform DITA topics into PDF2 (Idiom plugin) and I have added the following code to the front-matter_1.0.xsl file:
Code: Select all
<fo:block>
<fo:external-graphic src="/some/absolute/path/cis_logo.jpg"/>
</fo:block>
Thanks,
Josh