I found this article in the 2010 (!!) archives and have updated it. Surprisingly, the general gist is still accurate.
There are numerous alternatives for producing PDF output from DITA content. The approach you choose will depend on your output requirements—do you need images floating in text, sidebars, and unique layouts on each page? How often do you republish content? How much content do you publish? Do you need to create variants for different audiences? Do you provide content in multiple languages?
This article describes several common approaches and what requirements they support best. Your options include the following:
DITA Open ToolkitThe DITA Open Toolkit includes support for PDF output via XSL-FO. By default, the output created through the Open Toolkit is ugly, and customizing the XSL-FO code is a daunting task. The advantages of the Open Toolkit are automation and licensing cost. You run the Open Toolkit from the command line, and it’s possible to integrate the Open Toolkit with automated build systems. If you use the free FOP processor, you can generate PDF without any software licensing costs. The commercial FO processors cost up to $5,000 but have better functionality than FOP. Configuring the Open Toolkit to produce even reasonably attractive pages requires significant technical skills and is not for the faint of heart.
Pros:
Cons:
CSSYou can run DITA XML through CSS rendering engines, such as Prince. AEM Guides includes a “native PDF” generator that is CSS-based. oXygen also provides CSS capability.
Pros:
Cons:
InDesignIt’s possible to export DITA content to InDesign. Once the information is in InDesign, you can see exact layout and pagination and make adjustments before creating the PDF output. This workflow increases the cost of production, but may be worthwhile for highly designed publications.
Pros:
Cons:
Other solutionsThere are a variety of commercial and open source solutions that let you convert HTML to PDF, or generate PDF on the fly from a web server. Typifi supports InDesign publishing. Miramo offers a graphical user interface for PDF output design. Antenna House has both XSL-FO and CSS processors.
You can get creative within your infrastructure. For example, you could use an existing Markdown publishing environment. If you have Markdown to PDF working, you just need to export your DITA content to Markdown and feed it into the Markdown/Git pipeline.
Next stepsThe following factors will drive your decisions:
Still not sure what’s next? Reach out to Scriptorium and we can help.
"*" indicates required fields
FacebookThis field is for validation purposes and should be left unchanged.Your name (required)Your email (required)Your companySubject (required)Consulting requestSchedule a meetingLearningDITA.comStoreTrainingOtherYour messageData collection (required)I consent to my submitted data being collected and stored. This article is a condensed version of Creating PDF files from DITA content, originally published in STC Intercom in May of 2010.*
The post The PDF landscape for DITA content appeared first on Scriptorium.