On 2/24/24 05:46, Caroline Leccese wrote:
Do we register the fop.xconf the same in 3_15_0?
Yes. In principle, ditac 3.15 is 100% compatible with ditac 3.14.
This works for us in 3_14_0, but not 3_15_0:<arg line="-foconverter FOP pdf '@{fo-processor} -c @{fo-config} -fo %I -pdf %O'" />I've checked the paths and they're correct, but the PDF is not displaying in Tahoma font.
You are right. This does not work.It seems that we have a *regression* here. Sorry for that. We'll fix this bug to in next release. Note that this bug is specific to ditac 3.15+bundled FOP ("ditac-3_15_0-plus-fop.zip" distribution). It does not happen with ditac 3.15 without bundled FOP.
--> Meanwhile, ditac 3.15 features a *new* *simpler* method for specifying a custom FOP configuration file. See option -fopconf, https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/commandLine.html#commandLine__option-fopconf
If you are using ditac 3.15+bundled FOP, please replace: ---<arg line="-foconverter FOP pdf '@{fo-processor} -c @{fo-config} -fo %I -pdf %O'" />
---
by simply:
---
<arg line="-fopconf @{fo-config}" />
---
For example, this command invoking ditac 3.15+bundled FOP worked fine
for me:
---~/ditac_site/site/_download/ditac-3_15_0/docsrc/manual$ ../../bin/ditac -vvv -fopconf ~/tmp/fop.conf manual.pdf manual.ditamap
ditac: DEBUG: Registering external XSL-FO converter FOP[ps]: ""/home/hussein/ditac_site/site/_download/ditac-3_15_0/plus/fop-2.9/fop/fop" -q -r -c "/home/hussein/tmp/fop.conf" -fo "%I" -ps "%O""...
ditac: DEBUG: Registering external XSL-FO converter FOP[pdf]: ""/home/hussein/ditac_site/site/_download/ditac-3_15_0/plus/fop-2.9/fop/fop" -q -r -c "/home/hussein/tmp/fop.conf" -fo "%I" -pdf "%O""...
ditac: INFO: Loading "/home/hussein/ditac_site/site/_download/ditac-3_15_0/docsrc/manual/manual.ditamap"...
... -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

