Detlef M. wrote:
1.
I have to show my supervisor a test PDF output which looks similar to
the output we are used to.
Therefore, I am trying to include a logo in the header of the PDF
output. I added the parameter "header-right" to the document conversion
parameters of the PDF output dialog, giving it the following value::
two-sides first||odd:: {{document-title}};; even::
{{image(//ZORG/XXX/YYY/Logos/Logo.png)}};;
However, no logo shows up, although the Execute command dialog pauses
for a while at "[FOP INFO] Rendered page #2". It seems that the FOP
processes something but fails. What am I doing wrong?
Yes, the path is correct (copied from the Win Explorer).
It's {{image(URI)}}. See
http://www.xmlmind.com/ditac/_distrib/doc/manual/pageHeaderFooter.html#pageHeaderFooter
and
//ZORG/XXX/YYY/Logos/Logo.png
is not an URI.
Please first try (not 100% sure it'll work):
file://ZORG/XXX/YYY/Logos/Logo.png
and if it still does not work, please map "//ZORG" to a drive letter
(e.g. "Z:"), then try with something like:
file:/Z:/XXX/YYY/Logos/Logo.png
BTW, under Windows the file selector icon in the Edit dialog produces a
path which is indigestible for FOP.
Sorry but I don't understand this.
2.
Where can I find the FOP logs?
Just after generating some PDF, please click the "Blue Triangle" icon
(tooltip "Show Message Log") in the status bar, then select log section
called "Command Execution".
More information:
http://www.xmlmind.com/xmleditor/_distrib/doc/help/statusTool.html
3.
Is there a way to tweak the stylesheet to show a certain
document-metadata-element in the header or footer? Even better a
text-element with an ID?
Our present documentation pages carry a document ID, which is used to
identify pages taken out of context (copied or sent via fax etc.).
Sorry but but there is no easy way to do this.
4.
I defined "header-separator" "yes" and "footer-separator" "yes", but no
separator lines show up.
The default value of XSLT stylesheet parameters header-separator and
footer-separator is "yes". See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__footer-separator.
Therefore this is not needed.
I cannot reproduce this issue. In our own documents, there are always
header and footer separators. See for example:
http://www.xmlmind.com/tutorials/DITA/DITA-book.pdf
May be your headers and footers contain a lot of information and in such
case, you need to specify larger values for body-top-margin,
header-height, footer-height, body-bottom-margin. See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__page_areas
5.
Has the GUI of XXE been translated to German? Just curious, don't need
that really.
Yes. Please select "Options|Install Add-ons". In the dialog box, please
select "German (Deutsch) translation" then follow the instructions.
After restarting XXE, you'll see XXE GUI translated to German but only
if the locale of your operating system is German.
More information:
http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support