DITA Open Toolkit User Guide
Total Page:16
File Type:pdf, Size:1020Kb
DITA Open Toolkit User Guide Third Edition - April 18, 2007 - DITA Open Toolkit 1.3.1 2 | DITA Open Toolkit | Preface Authoring and publishing information for this document. Title DITA Open Toolkit User Guide Edition, release, Third edition, April 18, 2007. Based on release 1.3.1 of DITA Open Toolkit. All copyright files copyright 2006-2007 by VR Communications, Inc., unless otherwise indicated. Licensing and usage of this document and related materials is regulated by a Common Public License (CPL) granted by OASIS (Organization for the Advancement of Structured Information Standards), http://www.oasis-open.org. Publishing DITA Open Toolkit is an open-source, reference implementation of the OASIS information DITA standard (currently DITA 1.0). Authors Anna van Raaphorst and Richard H. (Dick) Johnson, principals, VR Communications, Inc. (http://www.vrcommunications.com). DITA logo artwork by Elizabeth Tichenor (http://www.elizabethtichenor.com) Major changes in this edition • The document title has been shortened • The document has been significantly restructured • New topics include key concepts, processing overview, localization, content reuse, building from within Eclipse, configuring the Eclipse XMLBuddy editor, creating Eclipse Infocenters, and publishing to XHTML using a frameset Acknowledgements The authors would like to thank those members of the DITA community who have authored or contributed content to this document: Kylene Bruski, Don Day, Anne Gentle, JoAnn Hackos, Jennifer Linton, Deborah Pickett, Michael Priestley, Nat Wyatt, Stephen Zhang, and various anonymous IBM writers. We are also grateful to others in the community who have offered valuable encouragement, feedback, suggestions, and sources of information: Robert Anderson, Bernard Aschwanden, Ricardo Mattiazzi Baumgartner, Bob Doyle, Andy Hall, Erik Hennum, Carolyn Henry, Ellen Livengood, Shawn McKenzie, Scott Prentice, Paul Prescod, Todd Rose, Kate Wilhelm, Stacey Winn, Chris Wong, and Bonnie Yelverton. Invitation to The authors invite others in the DITA community to contribute to future editions contribute to future of this document.To contact us: http://www.vrcommunications.com/aboutus.htm. editions DITA Open Toolkit | TOC | 3 Contents Colophon..............................................................................................2 Introduction...........................................................................................................11 About DITA (Darwin Information Typing Architecture)............................................................11 About DITA Open Toolkit (DITA OT).......................................................................................11 About this document...............................................................................................................12 Key concepts (DITAdemystified).........................................................................15 Documentation lifecycle.........................................................................................................15 Traditional lifecycle.......................................................................................................15 Typical DITA lifecycle...................................................................................................15 Technology trends in the documentation lifecycle.......................................................16 Creating and managing content..................................................................................17 Processing and publishing.....................................................................................................18 Processing and publishing overview............................................................................18 About XML...................................................................................................................19 About DTDs.................................................................................................................21 About schemas............................................................................................................21 About XSLT..................................................................................................................22 About XPath.................................................................................................................22 About Java...................................................................................................................23 Project components................................................................................................................23 Source files..................................................................................................................24 Processing files...........................................................................................................26 Output files..................................................................................................................28 Getting started......................................................................................................33 Getting information (general)..............................................................................35 Evaluating DITA and DITA Open Toolkit..............................................................41 The DITA authoring/production framework.............................................................................41 Use cases...............................................................................................................................43 Use case template..................................................................................................................44 Installing and upgrading DITA Open Toolkit.......................................................47 System requirements and supported applications.................................................................47 Installation overview...............................................................................................................49 DITA Tookit distributions..............................................................................................49 Upgrade considerations...............................................................................................50 Installation considerations...........................................................................................50 Installing your DITA authoring tool..........................................................................................51 Installing the Java SDK (JDK)................................................................................................51 Installing the JDK on Windows....................................................................................51 Installing the JDK on Linux..........................................................................................51 4 | DITA Open Toolkit | TOC Installing the DITA Tookit full package distribution..................................................................52 Installing the DITA Tookit small package distribution..............................................................53 Installing the small package on Windows....................................................................54 Installing the small package on Linux..........................................................................56 Installing on Mac OS..............................................................................................................58 Directories and files in the ditaot directory.............................................................................58 Installing the optional tools.....................................................................................................59 Installing the HTML Help compiler on Windows..........................................................60 Installing FOP on Windows..........................................................................................60 Installing the JavaHelp processor on Windows...........................................................60 Installing FOP on Linux...............................................................................................61 Installing the JavaHelp processor on Linux.................................................................61 DITAblogs (installing and upgrading)......................................................................................61 DITA Open Toolkit plug-ins..................................................................................63 About DITA Open Toolkit plug-ins...........................................................................................63 Installing the plug-ins..............................................................................................................64 Installing the Idiom FO plug-in.....................................................................................64 DITAblogs (plug-ins)...............................................................................................................64 For more information (plug-ins)..............................................................................................64 Setting up your working environment................................................................65 Configuring your authoring tool to use the Toolkit catalog......................................................65 Configuring your authoring tool to use DTD or schema URLs...............................................69