Part III. The DITA For Publishers Word to DITA and DITA to InDesign Tools

This part documents the Word-to-DITA and DITA-to-InDesign transformation frameworks.

The Word-to-DITA and DITA-to-InDesign transformation frameworks enable the use of DITA with Word as the primary authoring and editorial workflow vehicle and InDesign as the primary print production technology.

These two frameworks reflect the fact that for many publishers it is simply impractical or impossible to use an XML-first or XML-only editorial process, especially when dealing with external authors and subject matter experts. For good or ill, Microsoft Word is the form most authors can or will use. Likewise, InDesign is almost universally accepted as the tool for producing high-quality typeset publications. Without ways to integrate these two technologies into a DITA-based environment, the use of DITA (or XML in general) is a non-starter for most Publishers.

The technologies documented in this part are frameworks, meaning that they require some degree of configuration and customization to be useful in a specific context—you cannot simply take an arbitrary Word document and expect any transform to give you a useful XML result. Likewise, the use of InDesign (or any desktop publishing system) requires a mapping to specific styles and layouts that will always be specific to your documents.

Given that configuration is always required, these frameworks have been designed to make the configuration and, where necessary, customization process as easy as possible.

The Word-to-DITA transformation can be configured largely or entirely (depending on your requirements) using an XML configuration file to map Word styles to DITA markup structures. It can handle going from Word documents to single topics or to complete systems of maps and topics.

The DITA-to-InDesign transformation is configured through a simple-to-modify XSLT module that maps DITA elements in context to InDesign style names.

When requirements are not too extreme it is possible to get a demonstrable end-to-end-with-DITA-in-the-middle system going in less than a day, including defining custom vocabulary modules.

These frameworks don't do everything you may want to have and are not intended to compete with or replace commercial tools. They are intended primarily to get you started and to provide a starting point for further development and extension.

For example, Word-based authoring can be made more effective and reliable by using Word macros to guide authors in styling. Likewise, InDesign scripting can go a long way toward automating some repetitive layout tasks by taking advantage of the additional structure provided by base markup. There are a number of commercial products that offer support for authoring XML in Word or generating XML from styled word, such as the Inera eXstyles product (http://www.inera.com/).

Finally, the production of complete, print-ready publications from XML through InDesign is an inherently challenging process. The DITA For Publishers DITA-to-InDesign framework does not attempt to solve that problem. It is intended primarily to support processes where designers must be directly involved in the layout, such as magazine production, or where there is no attempt to completely automate composition, but simply to provide the input to an more traditional manual layout process.

To fully automate production from XML the Typefi product is the best solution (typefi.com). Typefi enables up to 100% automation of InDesign-based production where book design is consistent across titles, e.g., for series publications like travel guides, journals, and so on. Typefi provides a level of sophistication that would be impossible (and pointless) to replicate. Typefi is a for-cost product but it offers a tremendous value when automated composition is a requirement.