Morikawa K. wrote:

Greetings from Japan.
...
At the moment, we are trying out XXE as Lightweight DITA
editor/converter for topics.
However, we are wondering if DITA-OT plugin can be implemented to convert
dita to PDF from XXE's "convert document" menu.

Could you guide to any document that shows how to do that?

For editing, XXE is great and if our old plugin can be used to create PDF
it would be really great.



My guess is like all our Japanese customers you want to use:

- Antenna House XSL stylesheets for DITA (https://www.antennahouse.com/dita-pdf5-plugin/)

and:

- Antenna House XSL Formatter (https://www.antennahouse.com/formatter/).

We certainly understand this as Antenna House creates very high quality tools.



--> Before answering your question, first let me say that that XMLmind DITA Converter (ditac for short; https://www.xmlmind.com/ditac/), our clean room implementation of a DITA processor, supports the Antenna House Formatter too.

Example:
---
ditac -ahf "C:\AHFv6\AHFCmd.exe" out/manual.pdf manual.ditamap
---
See https://www.xmlmind.com/ditac/_distrib/doc/manual/commandLine.html#commandLine__option-ahf

In practice, this means that integrating Antenna House Formatter (like Apache FOP and RenderX XEP currently are) in XXE should be quite easy.

This being said, may be you still want to use Antenna House XSL stylesheets for DITA, and not our own, less Japanese friendly, XMLmind XSL stylesheets for DITA.



--> Currently, the only way to integrate DITA-OT into XXE is to execute an external command-line tool, something resembling:

---
my-dita-ot my-dita-ot-options1 DITAMAP_INPUT_FILE my-dita-ot-options2 PDF_OUTPUT_FILE
---

Please send us privately (mailto:huss...@xmlmind.com) the exact command-line you would like to use and we'll *try* to send you a ready-to-use add-on customizing our DITA map and bookmap configurations.

We'll try to do this because we are somewhat curious to see how easy this is.

We would implement this add-on just like any third-party developer by taking a look at the stock configurations:

- ".xxe" and ".incl" files found in XXE_install_dir/addon/config/dita/ and XXE_install_dir/addon/lwdita_config/

and by refering to the following documentation:

- "XMLmind XML Editor - Configuration and Deployment", https://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html

- "XMLmind XML Editor - Commands", https://www.xmlmind.com/xmleditor/_distrib/doc/commands/index.html

and more precisely, to the kind of commands used to implement document conversions: "Chapter 5. Process commands", https://www.xmlmind.com/xmleditor/_distrib/doc/commands/process.html

Our add-on would replace the commands called "dita.toPS", "dita.toPSFile" and also their invocations from the DITA menu. See XXE_install_dir/addon/config/dita/xslMenu.incl.

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to