demystifying dita to pdf publishing

26
Demystifying DITA to PDF Publishing Sarah O'Keefe Scriptorium Publishing

Upload: scriptorium-publishing

Post on 25-Dec-2014

4.298 views

Category:

Technology


0 download

DESCRIPTION

This session, from DocTrain West 2009, explores the pros and cons of using InDesign, FrameMaker, or the DITA Open Toolkit for publishing DITA content.

TRANSCRIPT

Page 1: Demystifying DITA to PDF Publishing

Demystifying DITA to PDF Publishing

Sarah O'KeefeScriptorium Publishing

Page 2: Demystifying DITA to PDF Publishing

Housekeeping

Slides and some demo files available after the presentation; email me.I will have several question breaks.Please ask questions.Emphasis will be on Open Toolkit and InDesign; no extensive FrameMaker demo.

Page 3: Demystifying DITA to PDF Publishing

The five stages of DITA-based PDF publishing

“How hard could it be?”“Why is this so $#@!$#@ hard??”“Maybe I can get this to work with different tools/people...”“At least I got our logo on the front page and nobody knows that I did this.”“It looks adequate and it publishes in seconds.”

Page 4: Demystifying DITA to PDF Publishing

PDF publishing is hard because:

Printed page layouts have more options than HTML layouts.Extensible Stylesheet Language Formatting Objects (XSL-FO) needs to support sophisticated page layout options.Pushing XML into page layout tools is challenging.Automation means giving up page-by-page formatting.

Page 5: Demystifying DITA to PDF Publishing

Please choose one of the following terrifying options:

DITA Open ToolkitPage-based layout tool

FrameMakerInDesignQuark

Help authoring/conversion toolRoboHelpePublisher ProFlare?

Page 6: Demystifying DITA to PDF Publishing

What are your PDF priorities?

For typography, choose InDesign or similar.For automation, choose the DITA Open Toolkit.For a middle ground, choose FrameMaker.

Page 7: Demystifying DITA to PDF Publishing

Lower your standards.

Does your audience care about fine typography?Less copyfitting = greater automation

Page 8: Demystifying DITA to PDF Publishing

What about the help authoring tools?

Yes, if you need cross-browser, cross-platform help.Not the best choice for PDF only.

Page 9: Demystifying DITA to PDF Publishing

PDF through the DITA Open Toolkit

Very difficult to configureNo “tweaking” to fix copyfitting problemsAlmost certainly the long-term winner

Page 10: Demystifying DITA to PDF Publishing

DITA Open Toolkit process

Install the DITA OT (!)JavaAntXSL processorXSL-FO processor

Modify XSL-FO files to get the output you wantGenerate PDF from the command line

Page 11: Demystifying DITA to PDF Publishing

DITA Open Toolkit challenges

FontsFormattingFoggy FOFOP foibles

Page 12: Demystifying DITA to PDF Publishing

DITA Open Toolkit demo

Page 13: Demystifying DITA to PDF Publishing

Questions about DITA Open Toolkit?

Page 14: Demystifying DITA to PDF Publishing

PDF via FrameMaker

Configuration requires modifying a formatting templateNice PDFCan tweak to adjust pagination

Page 15: Demystifying DITA to PDF Publishing

FrameMaker process

Modify the template to meet your requirementsOpen the map file(v8 and earlier) Generate intermediate bookSave as PDF

Page 16: Demystifying DITA to PDF Publishing

Only sort of fake FrameMaker demo

Page 17: Demystifying DITA to PDF Publishing

FrameMaker pitfalls

Sensitive to whitespaceDITA specializationsRound-trippingAuthoring

Page 18: Demystifying DITA to PDF Publishing

FrameMaker recommendations

Use DITA-FMx plug-in

Page 19: Demystifying DITA to PDF Publishing

Questions about FrameMaker?

Page 20: Demystifying DITA to PDF Publishing

PDF via InDesign

Beautiful typographyCan tweak to adjust paginationNo default support for DITAExtensive configuration requiredWhitespace in XML results in anaphylactic shock for InDesign

Page 21: Demystifying DITA to PDF Publishing

InDesign process

Transform DITA content into “InDesign-friendly” XML via XSLT

Flatten map filesResolve and flatten content references (conrefs)Modify structure of images and tablesControl whitespaceDo something about xrefs with InDesign scripts

Set up template in InDesignImport modified XML into InDesign

Page 22: Demystifying DITA to PDF Publishing

InDesign challenges

Extensive preprocessingRound-trippingAuthoringWhitespace

Page 23: Demystifying DITA to PDF Publishing

Questions about InDesign?

Page 24: Demystifying DITA to PDF Publishing

Factors to consider

Platform requirementsTechnical resourcesTypography requirementsVelocityVolumeVersioning

Page 25: Demystifying DITA to PDF Publishing
Page 26: Demystifying DITA to PDF Publishing

Questions