On 04/04/2018 12:31 PM, Grundtvig Nielsen Niels wrote:
Good afternoon! things have been going so well here, and suddenly a
colleague manages to find a completely new question :-}
At the moment, I update our DITA source files (using XML Mind, of
course!) and save them in a GIT repository. Other people in the team
then generate the WebHelp when they are alerted that the source files
have changed. Someone has just noticed that the .svg line drawings are
being rendered as .png when they use the command given below. I don’t
have this problem when I generate WebHelps, because my preprocessing
options are set correctly.
How can my eager colleagues adapt their command-line arguments to make
sure referenced .svg files are copied to the output?
Thanks in advance.
N
*From:*Matte Olivier
*Sent:* woensdag 4 april 2018 11:07
*To:* Grundtvig Nielsen Niels
*Cc:* Mahieu Philippe
*Subject:* RE: image in concept_RetryAlgorithm.html not readable
Here is the command line that we are using to build the html from the
sources:
<*execution*>
<*id*>Convert Dita xml doc to html</*id*>
<*phase*>generate-resources</*phase*>
<*goals*>
<*goal*>exec</*goal*>
</*goals*>
<*configuration*>
<*executable*>xxetool.bat</*executable*>
<*arguments*>
<*argument*>convert</*argument*>
<*argument*>dita.toWebHelp</*argument*>
<*argument*>src/xntHelps.ditamap</*argument*>
<*argument*>-u</*argument*>
<*argument*>target/html/</*argument*>
</*arguments*>
</*configuration*>
</*execution*>
o//
*From:*Grundtvig Nielsen Niels
*Sent:* Tuesday 3 April 2018 09:27
*To:* Mahieu Philippe
*Subject:* RE: image in concept_RetryAlgorithm.html not readable
You need to set the images pre-processing option shown here … but I
don’t know how you access it in your environment.
Your "You need to set the images pre-processing option shown here"
answer is correct. See also attached screenshot.
xxetool.bat
(http://www.xmlmind.com/xmleditor/_distrib/doc/xxetool/index.html) being
XXE without a GUI, suffice to start the XXE desktop app on their
machines and then use "Options → Customize Configuration → Preprocessing
Options"
(http://www.xmlmind.com/xmleditor/_distrib/doc/dita/preprocess_options.html#com.xmlmind.xmleditext.dita.PreprocessingOptionsEditor).
This is done once for all as xxetool.bat picks up all the preferences
and settings specified by the user. (I've rested that; it works great.)
--> This being said, I really don't see how this issue could have
happened at the first place, given the fact that SVG files are by
default *NOT* converted to PNG.
- May be your coworkers use a very old version of XXE (xxetool.bat IS XXE).
- May be the problem comes from their document (i.e. they think they use
SVG but in fact they are using PNG OR they use both formats and they
apply the wrong DITAVAL to filter out one of the formats).
I'm afraid you'll have to debug this because we have to way to reproduce
this issue here.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support