Hello:
I am interested in setting some parameters when I run a file through the
convert document
docbook to ps/pdf options. I need to customize some of the parameters, and have
some issues that could use some clarification. I went through the documentation
and did not see anything this specific there, If I missed it I apologize.
When going through, options -> customize configuration -> change document
conversion parameters, this is all very clear, as well as setting some custom
options like paper.type and value. This is fine, while trying to use a
parameter that has attributes, how to set that value??
For example a parameter like section.title.properties, where there are numerous
attributes that can be set. How to set that through the interface?
I tried the obvious to use the value as something like
@font-family="Franklin-Gothic", even to set the name as
section.title.propert...@font-family and then set value to Franklin-Gothic
and that does not seem to work. I know to add a custom XSL layer and transform
manually
such as:
<xsl:attribute-set name="section.title.properties">
<xsl:attribute name="font-family">Franklin-Gothic</xsl:attribute>
</xsl:attribute-set>
I want to do this inside of XML Mind document conversion parameters? Is there a
convention for parameter attributes like this?
Another question I have is somewhat related. Another Parameter I am setting is
admon.graphics and admon.graphics.path
and again while I can run XSL outside of XML Mind and these parameters work, I
am getting that systen cannot find graphic. I treid both relative paths and
absolute. Neither time does the conversion find the graphic. I have tried
putting the graphic in several different directories, the app config, the
source xml directory, but it seems to be looking in a TEMP directory which
seems to be created unique every time the conversion is run. Here is an excerpt
to illustrate what is happening.
[FOP ERROR] Error while opening file. Could not load image from system
identifier
'file:/C:/Documents%20and%20Settings/gpevaco/Local%20Settings/Temp/xxe3017655903611532231/icons/warning.png'
(C:\Documents and Settings\gpevaco\Local
Settings\Temp\xxe3017655903611532231\icons\warning.png (The system cannot find
the path specified))
[FOP ERROR] Image not found: icons/warning.png
[FOP ERROR] Image not found: icons/warning.png
[FOP INFO] Generated 84 pages.
Copying files to "file:/C:/DocBook/DocBookDev/PM_DB.pdf"
Copying "C:\Documents and Settings\gpevaco\Local
Settings\Temp\xxe3017655903611532231\__doc.pdf" to
"C:\DocBook\DocBookDev\PM_DB.pdf" (1/1)
It is looking for the image file in %%\Temp\xxe301... where that xxe number
directory seems to be getting generated unique every time it runs the
conversion. Is there anyway to specify where to look for this graphic, or
perhaps looks like need to specify the working directory. The goal is to
include the warning image in the convereted PS/PDF file.
Once again thank you for taking the time to review my questions, and I am
looking forward to your replies.
Regards,
/Gregorio
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support