webcast: dita best practices

36
Aiming for Best Practice in DITA Authoring Tony Self [email protected]

Upload: scriptorium-publishing

Post on 06-Nov-2014

2.882 views

Category:

Technology


2 download

DESCRIPTION

In this webcast hosted by Scriptorium Publishing, author Tony Self discusses his new book, The DITA Style Guide, and how it fits into a DITA workflow.

TRANSCRIPT

Page 1: Webcast: DITA Best Practices

Aiming for Best Practice in DITA Authoring

Tony [email protected]

Page 2: Webcast: DITA Best Practices

Context

• “Informed” by academic research at Swinburne University

• What constitutes best practice in the Darwin Information Typing Architecture for technical publications?

Page 3: Webcast: DITA Best Practices

What is “best practice”?

• Different things to different people• Bit like “quality”• “Better practice”• The adoption of work practices that

reflect the most efficient and effective that are practically possible.

• Few achieve best practice, but many aim for it!

Page 4: Webcast: DITA Best Practices

Aiming for best practice

• Understand different alternatives• Minimise inefficiencies• Reduce process bottlenecks• Choose effective methods• Standardise

Page 5: Webcast: DITA Best Practices

Conventional best practice

• Standard editing marks• Standard spelling• Standard punctuation rules• Standard paper sizes• Standard writing tools• Standard printing metrics• Presentation conventions• Methodologies• Captured in a style guide

Page 6: Webcast: DITA Best Practices

A Style Guide forAuthoring Documents in DITA

Page 7: Webcast: DITA Best Practices

Big Picture

Page 8: Webcast: DITA Best Practices

What is DITA again?

• DITA is a new open standard for the creation and management of written documents such as policies and procedures, teaching and learning documents, Help systems, Web sites and instruction manuals.

• DITA is many things in one. It is:– an XML language– a writing methodology– a topic-based information architecture– a structured authoring platform.

Page 9: Webcast: DITA Best Practices

For Tech Writers...

• The DITA approach utterly separates content from its presentation by using document semantics as the basis for mark-up.

• It takes a modular approach• It is very different from the existing

methods of:– linear writing– style-based markup

Page 10: Webcast: DITA Best Practices

Two differences to focus on

• Separation of content and form– Author not concerned with presentational

form

• Modularity– Documents written as re-useable

components

Page 11: Webcast: DITA Best Practices

Different Approaches

Page 12: Webcast: DITA Best Practices

Influences on Tech Comms

Technical Communication

Globalisation Embedded UA

Agile

Single-sourcing

Re-use

Facets

Dublin Core

Modularity

Page 13: Webcast: DITA Best Practices

Separation of Content and Form

Page 14: Webcast: DITA Best Practices

Separation of Content

• DITA incorporates the idea of the separation of content from formatting (and delivery)

• Documents authored in a neutral format• For presentation and delivery to the

reader, source documents need to be transformed into a reading format

• Build, compile, publish, transform

Page 15: Webcast: DITA Best Practices

Workflow

Page 16: Webcast: DITA Best Practices

Separation with Semantics

• Author:– Mark up the document using semantic

entities– Do not consider page size, font, colour,

indent, margin, leading, spacing, headers, footers, bolding, kerning, padding, alignment and numbering

– Concentrate on getting the semantic markup right

– Topic level focus: write topics, not documents

Page 17: Webcast: DITA Best Practices

Separation with Semantics

• Information Architect:– Define which topics need writing– Assemble those topics into collections– May be same person as author, but roles are

distinct– Planning separated from writing

Page 18: Webcast: DITA Best Practices

Separation with Semantics

• Styling and aesthetic presentation is another job, perhaps for a different person (graphic designer)

• Some styling jobs become XSL-FO or XSL-T programming jobs

• Generating the document is another process (publishing)

Page 19: Webcast: DITA Best Practices

Everything is Different

• The semantic authoring approach might be alien...– and the modular approach– and the re-use philosophy– and the minimalism theory

• Makes authoring entirely different

Page 20: Webcast: DITA Best Practices

The Need for a DITA Style Guide

Page 21: Webcast: DITA Best Practices

What is a Style Manual?

• A set of standards governing the design and writing of documents.

• Usually takes the form of a printed manual.• Originators: publishing organisations,

standards bodies, government agencies and publication departments

• Examples:– AGPS Style Manual – Chicago Manual of Style– News Limited Style

Page 22: Webcast: DITA Best Practices

Need for a DITA Style Manual

• Style manuals promote consistency– Leading to authority– and readability

• Existing Style Manuals focus on style-based authoring, and most are entirely unsuitable for semantic authoring

• One of the difficulties of DITA adoption is working without a relevant Style Manual

Page 23: Webcast: DITA Best Practices

Style Guide Content vs Form

Page 24: Webcast: DITA Best Practices

Style Guide Content vs Form

Page 25: Webcast: DITA Best Practices

“Traditional” Style Manual Use

Page 26: Webcast: DITA Best Practices

DITA Style Manual Need

Page 27: Webcast: DITA Best Practices

How style guides work

• Document the standards and conventions used• Policed by the manager or editor• Self-policed by authors themselves• Example – a style guide might stipulate that:

– Each topic should have a primary heading that describes the content of the content.

• DITA's language reference is a type of style guide• But many requirements can be policed by the

validating editor– For example, a topic cannot be saved unless it has a

title

Page 28: Webcast: DITA Best Practices

Interchange

• WOOO– Write Once and Once Only

• Company supplying components to manufacturer should supply documentation

• Component document “consumed” by assembly document

• Relies on the same application of the standard

• The DITA standard has gaps

Page 29: Webcast: DITA Best Practices

DITA Style Manual

• Supra-organisational semantic mark-up rules• Important when the formal language rules

themselves are open to interpretation– <varname> or <apiname>?– <term> or <ph> or <keyword>?

• DITA Language Reference is large, technical, and impenetrable for “non-technical” technical authors

• Example – Stem sentence followed by a list• Authority (eventually) of Style Manual via open

source, community ownership

Page 30: Webcast: DITA Best Practices

Examples

Page 31: Webcast: DITA Best Practices

DITA Language Reference

• The command (<cmd>) element is required as the first element inside a <step>. It provides the active voice instruction to the user for completing the step, and should not be more than one sentence. If the step needs additional explanation, this can follow the <cmd> element inside an <info> element.

Page 32: Webcast: DITA Best Practices

The DITA Style Guide

• Short Description used throughoutWhat element for keystrokes?The uicontrol element should be used when

describing keys on a keyboard, and the userinput element for describing keystrokes that the user must input.

• More detailed explanation and tool neutral mark-up examples

Page 33: Webcast: DITA Best Practices

The DITA Style Guide

What Element for Keystrokes?It is not immediately obvious in DITA what element

should be used to mark up keyboard keys, such as Enter, Ctrl and Backspace. The best approach is to use the uicontrol and userinput elements, depending on context.

When describing keys on a computer keyboard, use the uicontrol element. For example:<p>Use the <uicontrol>Tab<uicontrol> to move from field

to field.</p>Note: Do not use the shortcut element; this element is

intended to identify keyboard shortcuts in descriptions of user interface controls in windowed applications.

Page 34: Webcast: DITA Best Practices

Potential for controversy

• What if you disagree?• Paragraphs within list items• Lists within stem sentence paragraph• Serial commas• For example, no punctuation at the end

of list items• Not a matter of right or wrong, but a

means of achieving consistency

Page 35: Webcast: DITA Best Practices

Questions, Discussion, Ideas

Page 36: Webcast: DITA Best Practices

More information

• www.ditastyle.com• www.scriptorium.com/books/the-dita-

style-guide-best-practices-for-authors/