I have a working custom PDF plugin that I'm starting to roll out to teammates. Unfortunately, the resulting PDF lacks cover images (which appear perfectly on my machine) because the src is an absolute path:
<fo:external-graphic src="url('file:/C:/Users/greg.wait/Documents/SENSUS/dita-ot-2.2.2/plugins/com.sensus-techpubs.pdf/cfg/common/artwork/checkerboard.png')" content-height="5.0in"/>
I've tried every iteration of a relative version of this path that I can think of, with no luck.
The folder structure is as follows:
com.sensus-techpubs.pdf
- cfg
- common
- artwork <- graphics are here
- xsl
- fo <- stp_front-matter.xsl which references the graphics is here
The folder structure from the dita-ot-2.2.2 folder on down is identical. How do I create a relative src path for these images so that when I install the dita-ot-2.2.2 folder on someone else's machine the image paths are valid?
Thanks in advance... - G