On 04/17/2013 09:56 AM, Claus Poulsen wrote:

After an upgrade to 5.6, setting and image in the header, using the
"Change Document Conversion Parameters" and adding parameter
'header-center' with the value
'file:/C:/Program%20Files%20(x86)/XMLmind_XML_Editor_Pro5_6/addon/config/dita/xsl/fo/resources/pure_p_logo_black.gif'
(Selected using the file-selector) in a PDF conversion, the result shows
only the path in the header. See attached screenshot.




I can see in the conf-file that the parameter is set as <cfg:parameter
name="header-center">file:/C:/Program%20Files%20(x86)/XMLmind_XML_Editor_Pro5_6/addon/config/dita/xsl/fo/resources/pure_p_logo_black.gif</cfg:parameter>

Is there a bug here or have I missed something important? It seems to
ignore any value inserted.


The value of the header-center parameter should be:

{{image(file:/C:/Program%20Files%20(x86)/XMLmind_XML_Editor_Pro5_6/addon/config/dita/xsl/fo/resources/pure_p_logo_black.gif)}}

and not simply:

file:/C:/Program%20Files%20(x86)/XMLmind_XML_Editor_Pro5_6/addon/config/dita/xsl/fo/resources/pure_p_logo_black.gif

This is documented here:

XMLmind DITA Converter Manual

Specifying a header or a footer

http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__header_footer_spec




Note, I don't know if this worked in previous versions as I've started
on a new project.


May be it worked this way in old versions of XXE (don't remember). However how to specify headers and footers has completely changed with the integration of XMLmind DITA Converter v2 into XXE.


--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to