On 08/19/2016 03:07 PM, mike heer wrote:
As a response to your mail announcing ditac-2_6_2 and  since you have
recommended to me the use of XMLmind DITA Converter as an alternative
for the dita-ot curiosity made me to download the zipped converter
files, unzipped it on my portable drive. Simple enough I managed to
convert my first bigger project into various output formats. Just out of
the box, it worked perfectly. One thing however is not clear to me when
it comes to register the location of my  HTML help compiler. I can
convert into a CHM file when I add the location of the hcc compiler
every time as a command line option (-hhc exe_file). Now I want to fix
that path in the ditac.option file as per manual.

FYI, here is a copy of my own ditac.option file:

---
-ahf "C:\Program Files\Antenna House\AHFormatterV6\AHFCmd.exe"
-xep C:\opt\xep\xep.bat
-fop C:\opt\fop\fop.bat
-xfc C:\src\xfc\java\bin\fo2rtf.bat
-jhindexer C:\opt\javahelp\javahelp\bin\jhindexer.bat
-hhc "C:\Program Files\HTML Help Workshop\hhc.exe"
---




My problem now,
where shall I place that ditac.option file really. Remember, I did not
install the dita converter, but only unzipped it. The manual says, the
ditac.option file shall be located in
"C:\Users\john\AppData\Roaming\XMLmind\ditac\", which normally will be
created during an installation, but not when unzipping it. Well I
created the directory manually and copied my ditac.option file there.

Yes, this is the normal way to do that.




And it works. My only concern is, that when I wanted to run the dita
converter from my portable drive, the AppData\Roaming-path and thus the
ditac.option file might be missing on my other computers. My question
now: Can I keep the ditac.option file within the installation directory
of the ditac converter?

No. The ditac.options is expected to be found exclusively in

%APPDATA%\XMLmind\ditac\

Note that APPDATA is an environment variable, not a hardwired value.




And if, where shall I place it?


An alternative is to create an option file similar to ditac.options and use the -o (or -option) command-line option when invoking ditac. See http://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/commandLine.html#commandLine__option-option



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

Reply via email to