Hi Hussain,

Is there a way to run the ditac  command line utility from the xmlmind 
installation and so use the custom_fo.xsl I've created in XML Mind and embed 
the Calibri font I specified in XMLMind

I've installed ditac separately and also fop, but I had to change the 
custom_fi.xsl to <xsl:import href="ditac-xsl:fo/fo.xsl"/> and the calibri font 
is not embedded in the pdf, and is not used as a result.

If I use ditac, does that mean I can't use XMLMInd to do the XSL customisation?

Cheers

Mike



-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com] 
Sent: 07 January 2014 11:50
To: Mike Dodds
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Image in the header or footer of the PDF generated out of a 
DITA document (WAS: Using the Calibri font in the PDF conversion)

On 01/07/2014 12:09 PM, Mike Dodds wrote:
>
> Sorry for all the questions...
>
> {{image(URI)}}
>      An image having specified URI. A relative URI is resolved against the 
> current working directory. Example: "{{image(artwork/logo.svg)}}".
>

The above sentence does not mean that you are *forced* to use a relative URI.



>
> Where is the current working directory? (I'm doing the conversion from 
> XMLMind)
>
> I've tried the directory containing the map, the directory where the pdf is 
> written, and the directory where the custom_fo.xsl file is,  but it does not 
> seem to be any of them.
>

It is very error prone to use a relative URI when the conversion is 
performed from within XMLmind XML Editor. So error prone that, in 
practice, you *cannot* use a relative URI when the conversion is 
performed from within XMLmind XML Editor.

(Of course, there is no such problem when conversion is performed using 
the ditac command-line utility.)

Please specify an absolute URI, that is, something like:

file:/C:/My%20Images/photo.jpg

The above URI corresponds to filename "C:\My Images\photo.jpg".







++++ Message Scanning REF:284-AVS2-1389095418 ++++

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to