On 06/01/2015 10:38 PM, Alberto Perri wrote:
Thank you very much for the solution. I spent several hours trying to
figure what i should be doing with no success. Then in "chapter 9.
Simple Customization" for the "Customizing the look of PDF files
generated by ditac" in the ditac manual, unless i missed something while
reading it, there is an instruction that says to use "
-t customize/custom_fo.xsl"
This command (though with the correct path to the custom_fo.xsl file) is
not recognized by the parser and cause it to come back with a series of
commands no different than what is the manual.
I'm sorry but I see no mistake in:
Commonly used command-line options
http://www.xmlmind.com/ditac/_distrib/doc/manual/commandLine.html#commandLine
-t is a short form for -xslt, just like -param is a long form for -p.
For example:
---
ditac -vvv \
-t file:/home/hussein/tmp/aperri/custom_fo.xsl \
-frontmatter toc,figurelist \
-p footer-center "{{topic-title}}" \
-p foProcessor FOP \
-p screen-resolution 96 \
-param page-orientation landscape \
-p default-table-width 100% \
-p title-after "fig table" \
-p base-font-size 8pt \
-p number all \
-p pdf-outline yes \
manual.pdf manual.ditamap
---
gives the same results as:
---
ditac -vvv \
-xslt file:/home/hussein/tmp/aperri/custom_fo.xsl \
-frontmatter toc,figurelist \
-p footer-center "{{topic-title}}" \
-p foProcessor FOP \
-p screen-resolution 96 \
-p page-orientation landscape \
-p default-table-width 100% \
-p title-after "fig table" \
-p base-font-size 8pt \
-p number all \
-p pdf-outline yes \
manual.pdf manual.ditamap
---
Also note that there is no difference in behavior between the ditac
command-line utility and the embeddable conversion engine. Command-line
utility ditac is simply the conversion engine embedded in a command-line.
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support