SAIF DITA Training

48
SAIF DITA Training Fall 2010 1

description

SAIF DITA Training. Fall 2010. Part I – Introduction to DITA. Objectives Learn about DITA Set up your DITA environment Become familiar with the oXygen interface. Part 1.1 – Learn about DITA. What is DITA? Benefits of using DITA Challenges of using DITA SAIF DITA strategy and goals. - PowerPoint PPT Presentation

Transcript of SAIF DITA Training

Page 1: SAIF DITA Training

1

SAIF DITA TrainingFall 2010

Page 2: SAIF DITA Training

2

Part I – Introduction to DITAObjectives◦Learn about DITA◦Set up your DITA environment◦Become familiar with the oXygen interface

Page 3: SAIF DITA Training

3

Part 1.1 – Learn about DITAWhat is DITA?Benefits of using DITAChallenges of using DITASAIF DITA strategy and goals

Page 4: SAIF DITA Training

4

DITA overviewDITA is an XML-based architecture for

creating topic-oriented, information-typed content that can be reused and single-sourced in a variety of ways.

DITA is an extensible architecture that allows creating new information types and specialized elements.

Page 5: SAIF DITA Training

5

Benefits of using DITATopic-based authoring

Page 6: SAIF DITA Training

6

Benefits of using DITATopic-based authoringConsistent look and feel

Page 7: SAIF DITA Training

7

Benefits of using DITATopic-based authoringConsistent look and feelPublishable in many output formats

Page 8: SAIF DITA Training

8

Benefits of using DITATopic-based authoringConsistent look and feelPublishable in many output formatsEasy to restructure table of contents

Page 9: SAIF DITA Training

9

Benefits of using DITATopic-based authoringConsistent look and feelPublishable in many output formatsEasy to restructure table of contentsContent reuse

Page 10: SAIF DITA Training

10

Benefits of using DITATopic-based authoringConsistent look and feelPublishable in many output formatsEasy to restructure table of contentsContent reuseInteroperability and portability

Page 11: SAIF DITA Training

11

Benefits of using DITATopic-based authoringConsistent look and feelPublishable in many output formatsEasy to restructure table of contentsContent reuseInteroperability and portabilityCustomizable (filtering of information)

Page 12: SAIF DITA Training

12

Challenges to using DITAMoving from Word to DITA

Page 13: SAIF DITA Training

13

Challenges to using DITAMoving from Word to DITALearning curve

Page 14: SAIF DITA Training

14

Challenges to using DITAMoving from Word to DITALearning curveChallenge of converting legacy docs

Page 15: SAIF DITA Training

15

Challenges to using DITAMoving from Word to DITALearning curveChallenge of converting legacy docsEasy to create output but difficult to

customize w/o scripting knowledge

Page 16: SAIF DITA Training

16

Challenges to using DITAMoving from Word to DITALearning curveChallenge of converting legacy docsEasy to create output but difficult to

customize w/o scripting knowledgeHandling images in different output formats

Page 17: SAIF DITA Training

17

Challenges to using DITAMoving from Word to DITALearning curveChallenge of converting legacy docsEasy to create output but difficult to

customize w/o scripting knowledgeHandling images in different output formatsDeciding which DITA template to use for

specific material

Page 18: SAIF DITA Training

18

SAIF Documentation – Paper based

Page 19: SAIF DITA Training

19

SAIF Documentation – DITA based

Page 20: SAIF DITA Training

20

Short-term goals of the SAIF DITA project

Convert the SAIF documents from Word to DITA.

Compile a SAIF “book” using DITA. Publish the book to the HL7.org web

site.

Page 21: SAIF DITA Training

21

Long-term SAIF DITA strategySet up a common, shared infrastructure

for future maintenance of the SAIF material.

Make the SAIF DITA document available to other HL7 work groups and organizations working on related projects.  

If the SAIF DITA project is successful, HL7 will be more likely to use DITA for other projects.

Page 22: SAIF DITA Training

22

Part 1.2 - Components of a DITA project

Ditamap filesDITA topic filesGraphics files

Page 23: SAIF DITA Training

23

DitamapsA ditamap organizes the topics in a DITA

document.A ditamap can include other ditamaps.You can specify a relationship table of

links in a ditamap file.

Page 24: SAIF DITA Training

SAIF master ditamap

Sub-ditamaps within the master ditamap

Page 25: SAIF DITA Training

SAIF introduction ditamap

Page 26: SAIF DITA Training

26

Ditamap templatesDitamap type DescriptionDitamap Use this ditamap template for all output

formats.

Bookmap Use this ditamap template for publishing books.

Learning ditamap Use this ditamap template for training documents.

Learning bookmap Use this template for training books.

Eclipse ditamap Use this ditamap template in an Eclipse-based help system.

Subject scheme Use this template to create a DITA subject scheme.

Page 27: SAIF DITA Training

27

What is a DITA topic?A topic is a discrete piece of content

that is about a specific subject, has an identifiable purpose, and can stand alone.

Each DITA topic is normally in its own file.

A large DITA project can have hundreds of topic files.

Page 28: SAIF DITA Training

28

DITA topic templates (1)DITA provides templates for different

types of topics.The SAIF book uses the following topic

types:◦Concept◦Reference◦Generic topic◦Glossterm

Page 29: SAIF DITA Training

29

DITA topic templates (2)Topic type Description

Composite Use for content references.Use for complex topics that include conceptual, task, and reference information.

Concept Use for explaining concepts and narrative material.

Generic topic Use for topics that do not fit into the other categories, or for transitional topics.

Glossterm Use for glossary entries.

Reference Use for lookup tables, graphics, examples, and other data.

Task Use for procedures.

General task Use for procedures (more flexible structure).

Page 30: SAIF DITA Training

30

DITA topic templates (3)If you are writing a training document,

DITA provides 4 learning topic types:◦Learning assessment◦Learning content◦Learning overview◦Learning summary

Page 31: SAIF DITA Training

31

DITA examplesThe next few slides show examples of

the different types of DITA topics.

Page 32: SAIF DITA Training

SAIF concept topic example

Page 33: SAIF DITA Training

SAIF reference topic example

Page 34: SAIF DITA Training

Task topic example

Page 35: SAIF DITA Training

SAIF glossterm topic example

Page 36: SAIF DITA Training

36

Part 1.3 – Setting up your DITA environment

Page 37: SAIF DITA Training

37

Set up your DITA environment1. Install and configure oXygen.2. Set up your source file directories.3. Ensure that you have permissions to

SVN for http://gforge.hl7.org/svn/saeaf/trunk/docs/saeaf-dita/.

4. Learn the oXygen interface and menu commands.

Page 38: SAIF DITA Training

38

Installing and configuring oXygen Download & install oXygen from

http://www.oxygenxml.com/download_oxygenxml_editor.html.

See Wilfred Bonney for the license key. The oXygen license is name based, so

you can install it on as many computers as you use.

Page 39: SAIF DITA Training

39

Set up your source file directories Check out the DITA source files from

http://gforge.hl7.org/svn/saeaf/trunk/docs/saeaf-dita/saif-dita-source-files/.

Copy these files to another location on your computer. When you are finished updating your DITA files, validate the

SAIF ditamap. Copy the files back to the checked out SVN directories. Commit these files at least weekly. Create an output directory for storing DITA output. Back up the DITA files stored on your computer. Coordinate work with others who might be working on DITA

files from the same SVN directory to avoid overwriting each other’s changes.

Page 40: SAIF DITA Training

40

Transferring the oXygen license1. To remove the oXygen license, delete the

license.xml file from the home folder on your computer.

2. It is not necessary to uninstall the oXygen application if you want to preserve it until you need it again. When needed again, you can start oXygen and re-enter the license key.

Windows 7 -C:\Users\(Admin)\AppData\Roaming\com.oxygenxml\license.xml

Page 41: SAIF DITA Training

The oXygen interface

Page 42: SAIF DITA Training

42

Author view (main window) Shows the DITA topic that you are editing or writing

Page 43: SAIF DITA Training

43

Grid view Displays grid structure (useful for working with

tables and databases)

Page 44: SAIF DITA Training

44

Text view Displays the source XML code

Page 45: SAIF DITA Training

45

Outline viewShows the DITA tags and displays the structure

of a DITA document

Page 46: SAIF DITA Training

46

Displaying DITA tagsFull tags with attributes <fig id="bf_transactions" frame="topbot">Tags <fig> (shows all tags w/o attributes)Block tags <fig> (paragraph level)Inline tags (text level)Partial tags (triangles show styled text)No tags (looks like Word)

Page 47: SAIF DITA Training

Demo #1 Take a tour of the DITA functions in

oXygen

Page 48: SAIF DITA Training

48

Part I SummaryYou have:◦Learned about DITA◦Set up your DITA environment◦Become familiar with the oXygen interface