SlideShare a Scribd company logo
1 of 37
Copyright © Stilo International plc, 2017.Copyright © Stilo International plc, 2017.
REUSING
YOUR REUSE:
How to keep the
reuse you have
when you move
to DITA
Helen St. Denis
Conversion Services Manager
Stilo International
Copyright © Stilo International plc, 2017.
► Works closely with Stilo Migrate customers,
helping to analyse their legacy content and
configure appropriate mapping rules
► Provides Migrate customer training and support
► Helen has helped Migrate customers to convert
tens of thousands of pages of content to DITA
and custom XML
► BA in English from St. Francis Xavier University in
Antigonish, Nova Scotia and has pursued
graduate studies at Queen’s University in Kingston
Ontario
Helen St. Denis | Conversion Services Manager
Copyright © Stilo International plc, 2017.
The three R’s of DITA
Copyright © Stilo International plc, 2017.
► Most authoring environments offer some form of
content reuse capability
► Yes, even Microsoft Word!
► Some do a very good job of it, too
► Do we have to lose all the work we’ve put into reuse
when we move to DITA, and start all over again?
But … haven’t I already got reuse?
Copyright © Stilo International plc, 2017.
► At the document level
► At the phrase level
► Somewhere in between
Legacy reuse at various levels
Copyright © Stilo International plc, 2017.
► Adobe FrameMaker has books …
► You can use the same chapter (.fm file) in many
books
► You can maintain a folder of shared chapters to
which a book can refer, or you can keep all the
chapters together with several maps
Reuse at the document level …
Copyright © Stilo International plc, 2017.
… reuse at the document level
► MadCap Flare and Adobe RoboHelp have one or
more ToCs to assemble the HTML files into a project
Copyright © Stilo International plc, 2017.
… reuse at the document level
► Microsoft Word has Master Documents
► Like a ToC, it assembles various DocX files into one
document
► Any of these DocX files could be used in more than
one master document
► They are assembled through linking
Copyright © Stilo International plc, 2017.
Reuse at the phrase level
► Word has auto text
► FrameMaker has variables
► RoboHelp and Flare also have variables
Copyright © Stilo International plc, 2017.
► FrameMaker has text insets
► Flare and RoboHelp have snippets
► Word is not much help here!
Reuse at the in-between level
Copyright © Stilo International plc, 2017.
Conditional text
► Not actually reuse, but facilitates it …
Copyright © Stilo International plc, 2017.
Bonus: Keywords, glossaries and index terms
► This isn’t reuse, exactly, but you’ve put effort into
generating these things and don’t want to lose them
Copyright © Stilo International plc, 2017.
So how does this all work in DITA?
► Reuse in DITA is at the element level
► Some of this will be straightforward,
but some will not
Copyright © Stilo International plc, 2017.
DITA reuse at the document level
► Maps can bring in other maps
► So you could create maps on a per-document basis,
and include the map in as many other maps as
needed
► In FrameMaker, this is often a map per chapter
► In Flare or RoboHelp, it might be a map per HTML
page, or a map per folder
► In Word, a map per Word document
Copyright © Stilo International plc, 2017.
► This might be conrefs, conkeyrefs, or keys
► Generally variables can be readily converted to keys,
conrefs or conkeyrefs
► Conref files or keys can be created from the legacy
content, or pointers to an existing reuse library can
be inserted
DITA reuse at the phrase level
Copyright © Stilo International plc, 2017.
<keydef keys="prodname">
<topicmeta>
<keywords>
<keyword>OmniMark</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="_component">
<topicmeta>
<keywords>
<keyword>OMCPE</keyword>
</keywords>
</topicmeta>
</keydef>
Keys
Copyright © Stilo International plc, 2017.
<p outputclass="ID-00000007">OmniMark Concurrent Processing Engine runs programs written
in the <keyword outputclass="ID-000001d9" keyref="Prodname">OmniMark</keyword> programming
language. </p>
<map>
<title/>
<keydef keys="Prodname">
<topicmeta>
<keywords>
<keyword>OmniMark</keyword>
</keywords>
</topicmeta> </keydef> <keydef keys="_component">
<topicmeta>
<keywords>
<keyword>OMCPE</keyword>
</keywords>
</topicmeta> </keydef>
In the topic, and in the map
Copyright © Stilo International plc, 2017.
DITA reuse at the in-between level
► DITA reuse at the element level
► Topic level is the most obvious way
► <topicref> in the map
Copyright © Stilo International plc, 2017.
Challenges with topicrefs
► Most legacy formats don’t have topic-level reuse
specifically
► Flare or RoboHelp HTML files might be a single
topic, but usually are not
Copyright © Stilo International plc, 2017.
Conrefs
► Conrefs allow you to reuse a single DITA element
► This means you can reuse a paragraph, a table, a single list item
or a whole list
► You can also reuse the content at a phrase level, so that the content
of a step in a task topic, for example, can be reused inside a list in a
concept
Copyright © Stilo International plc, 2017.
Conref range
► This allows you to reuse a chunk of content that
includes more than one element
► But, the first and last elements must be the same
► So, you can reuse a set of list items from a list using
conref range
► But, you can’t reuse a chunk that starts with a list item
and ends with a paragraph or a table
Copyright © Stilo International plc, 2017.
From our example:
Copyright © Stilo International plc, 2017.
We can reuse the list…
<ol id=change-warnings-list>
<li> to ignore the class of warnings, use <codeph>-warning-ignore
warning-class</codeph>,</li>
<li> to report only a summary of the class of warnings, use
<codeph>-warning-summary warning-class</codeph>,</li>
<li> to report the warning and continue compiling, use <codeph>-
warning-report warning-class</codeph>, and</li>
<li> to promote the class of warnings to an error, use <codeph>-
warning-error warning-class</codeph>.</li>
</ol>
Copyright © Stilo International plc, 2017.
In the topic
<ul conref="generalConref.xml#titles/change-warnings-list">
<li> to ignore the class of warnings, use <codeph>-warning-ignore
warning-class</codeph>,</li>
<li> to report only a summary of the class of warnings, use
<codeph>-warning-summary warning-class</codeph>,</li>
<li> to report the warning and continue compiling, use <codeph>-
warning-report warning-class</codeph>, and</li>
<li> to promote the class of warnings to an error, use <codeph>-
warning-error warning-class</codeph>.</li> </ul>
Copyright © Stilo International plc, 2017.
Or reuse just some of the bullets:
<li id="change-warnings-1"> to ignore the class of warnings, use
<codeph>-warning-ignore warning-class</codeph>,</li>
<li id="change-warnings-2"> to report only a summary of the class of
warnings, use <codeph>-warning-summary warning-class</codeph>,</li>
<li id="change-warnings-3"> to report the warning and continue
compiling, use <codeph>-warning-report warning-class</codeph>, and</li>
<li id="change-warnings-4"> to promote the class of warnings to an
error, use <codeph>-warning-error warning-class</codeph>. </li>
In the topic
<ul>
<li conref="generalConref.xml#titles/change-warnings-1"
conrefend="generalConref.xml#titles/change-warnings-3"/>
<li>Another, different list item</li>
</ul>
Copyright © Stilo International plc, 2017.
Challenges with conrefs
► Snippets and text insets can contain anything; any
number of different elements
► It is not possible, therefore, to make a conref from
each one
► Nor is it possible to make a topic from each one
Copyright © Stilo International plc, 2017.
Identifying the reused content
► Text insets and snippets are in their own file – we can
use the filename
► We can create conrefs using the filename as identifier
► Each block level element becomes a conref (and so
do inline elements, if you like) with the filename as ID
► Other schemes for creating IDs are possible
Copyright © Stilo International plc, 2017.
Text inset …
Copyright © Stilo International plc, 2017.
<li id="change-warnings"> to ignore the class of warnings,
use <codeph>-warning-ignore warning-class</codeph>,</li>
<li id="change-warnings-1"> to report only a summary of the
class of warnings, use <codeph>-warning-summary warning-
class</codeph>,</li>
<li id="change-warnings-2"> to report the warning and
continue compiling, use <codeph>-warning-report warning-
class</codeph>, and</li>
<li id="change-warnings-3"> to promote the class of warnings
to an error, use <codeph>-warning-error warning-
class</codeph>.</li>
<p id="change-warnings-4">You can also use the
<codeph>all</codeph> warning class to quickly apply the same
command-line option to all classes of warnings. For
example,</p>
<codeblock id="change-warnings-5"> -warning-error all -
warning-ignore uninitialized-data-access</codeblock>
<p id="change-warnings-6">would report warnings for any
warning other than <codeph>uninitialized-data-
access</codeph>.</p>
This is what it could look like …
Copyright © Stilo International plc, 2017.
… in an XML editor
Copyright © Stilo International plc, 2017.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="titles">
<title>Reference definitions</title>
<conbody>
<p id="change-warnings">By default, the<keyword keyref="Prodname">OmniMark</keyword>
compiler will display all these classes of warnings except for uninitialized-data-access, which
is ignored. You can change how each class of warning is handled using the following command line
options:</p>
<ol id=change-warnings-list>
<li> to ignore the class of warnings, use <codeph>-warning-ignore warning-
class</codeph>,</li>
<li> to report only a summary of the class of warnings, use <codeph>-warning-summary
warning-class</codeph>,</li>
<li> to report the warning and continue compiling, use <codeph>-warning-report warning-
class</codeph>, and</li>
<li> to promote the class of warnings to an error, use <codeph>-warning-error warning-
class</codeph>.</li>
</ol>
<p id="change-warnings-5">You can also use the <codeph>all</codeph> warning class to
quickly apply the same command-line option to all classes of warnings. For example,</p>
<codeblock id="change-warnings-6"> -warning-error all -warning-ignore uninitialized-data-
access</codeblock>
<p id="change-warnings-7">would report warnings for any warning other than
<codeph>uninitialized-data-access</codeph>.</p>
</conbody>
</concept>
… in the raw DITA
Copyright © Stilo International plc, 2017.
► DITA has built in profiling attributes
► Or you can use “otherprops”
Conditional text
Copyright © Stilo International plc, 2017.
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop action="include" att="otherprops"
val="port-locking"/>
</val><val>
<prop action=“exlude" att="otherprops"
val=“no-port-locking"/>
</val>
DITAVAL file
Copyright © Stilo International plc, 2017.
<topicref navtitle="Generating a license request
key (port locking)"
href="1.5.8_Generating_a_license_request_key__po
rt_locking_.dita" product="omspe
omdc"></topicref>
<topicref navtitle="Generating a license request
key"
href="1.5.8_Generating_a_license_request_key.dit
a" product="omcpe ombc"></topicref>
Using a profiling attribute
Copyright © Stilo International plc, 2017.
► A RoboHelp glossary is almost DITA already
<glossentry>
<glossterm>CSH</glossterm>
<glossdef>(Context Sensitive Help)</glossdef>
</glossentry>
<glossentry>
<glossterm>Opportunity</glossterm>
<glossdef>Any contact with a customer (or potential
customer) is generically known as an opportunity. This is
because you have an opportunity to convert a potential customer
to an actual customer. Or an opportunity to deepen and
strengthen the existing customer experience.</glossdef>
</glossentry>
Glossaries
Copyright © Stilo International plc, 2017.
Indexes
Copyright © Stilo International plc, 2017.
In the DITA

More Related Content

Similar to LavaCon 2017 - Reusing Your Reuse: How to Keep the Reuse You Have When You Move to DITA

Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...
Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...
Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...Edureka!
 
Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...
Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...
Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...valcker
 
LavaCon 2017 - DITA: Start Small, Grow Big Using Open Source Tools
LavaCon 2017 - DITA: Start Small, Grow Big Using Open Source ToolsLavaCon 2017 - DITA: Start Small, Grow Big Using Open Source Tools
LavaCon 2017 - DITA: Start Small, Grow Big Using Open Source ToolsJack Molisani
 
Acceleo presentation - EclipseCon 2017
Acceleo presentation - EclipseCon 2017Acceleo presentation - EclipseCon 2017
Acceleo presentation - EclipseCon 2017Etienne Juliot
 
Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.
Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.
Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.Chris Laning
 
DDD Overrated GOTOpia.pdf
DDD Overrated GOTOpia.pdfDDD Overrated GOTOpia.pdf
DDD Overrated GOTOpia.pdfhewas1
 
Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...
Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...
Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...Information Development World
 
Understanding and Communicating the Financial Impact of XML & DITA
Understanding and Communicating the Financial Impact of XML & DITAUnderstanding and Communicating the Financial Impact of XML & DITA
Understanding and Communicating the Financial Impact of XML & DITAScott Abel
 
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014DouglasWaterfall
 
iOS Development at Scale @Chegg
iOS Development at Scale @CheggiOS Development at Scale @Chegg
iOS Development at Scale @CheggGalOrlanczyk
 
Translation Markup Language and Universal Translation Memory
Translation Markup Language and Universal Translation MemoryTranslation Markup Language and Universal Translation Memory
Translation Markup Language and Universal Translation MemoryMichael Berkovich
 
Safetty systems intro_embedded_c
Safetty systems intro_embedded_cSafetty systems intro_embedded_c
Safetty systems intro_embedded_cMaria Cida Rosa
 
Lets dance- Dutch Architecture Conference (LAC) 2018
Lets dance- Dutch Architecture Conference (LAC) 2018Lets dance- Dutch Architecture Conference (LAC) 2018
Lets dance- Dutch Architecture Conference (LAC) 2018Yenlo
 
JavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptJavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptLaurence Svekis ✔
 
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptxUnit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptxMalla Reddy University
 
Catalyst - refactor large apps with it and have fun!
Catalyst - refactor large apps with it and have fun!Catalyst - refactor large apps with it and have fun!
Catalyst - refactor large apps with it and have fun!mold
 

Similar to LavaCon 2017 - Reusing Your Reuse: How to Keep the Reuse You Have When You Move to DITA (20)

Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...
Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...
Talend Open Studio for Big Data | Talend Open Studio Tutorial | Talend Online...
 
Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...
Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...
Building a multilingual & multi-country e-commerce site with Drupal 7 @ NYC C...
 
LavaCon 2017 - DITA: Start Small, Grow Big Using Open Source Tools
LavaCon 2017 - DITA: Start Small, Grow Big Using Open Source ToolsLavaCon 2017 - DITA: Start Small, Grow Big Using Open Source Tools
LavaCon 2017 - DITA: Start Small, Grow Big Using Open Source Tools
 
Acceleo presentation - EclipseCon 2017
Acceleo presentation - EclipseCon 2017Acceleo presentation - EclipseCon 2017
Acceleo presentation - EclipseCon 2017
 
FLossEd-BK Tequila Framework3.2.1
FLossEd-BK Tequila Framework3.2.1FLossEd-BK Tequila Framework3.2.1
FLossEd-BK Tequila Framework3.2.1
 
Salcedo BSI and ISO STS
Salcedo BSI and ISO STSSalcedo BSI and ISO STS
Salcedo BSI and ISO STS
 
Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.
Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.
Taming the Legacy Beast: Turning wild old code into a sleak new thoroughbread.
 
DDD Overrated GOTOpia.pdf
DDD Overrated GOTOpia.pdfDDD Overrated GOTOpia.pdf
DDD Overrated GOTOpia.pdf
 
Structured writing - What's it Good For?
Structured writing - What's it Good For?Structured writing - What's it Good For?
Structured writing - What's it Good For?
 
Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...
Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...
Single-Source Publishing Across Multiple Formats with George Bina and Radu Co...
 
Understanding and Communicating the Financial Impact of XML & DITA
Understanding and Communicating the Financial Impact of XML & DITAUnderstanding and Communicating the Financial Impact of XML & DITA
Understanding and Communicating the Financial Impact of XML & DITA
 
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
Advanced EPUB creation for iPad with Adobe InDesign CC - Digital Book World 2014
 
iOS Development at Scale @Chegg
iOS Development at Scale @CheggiOS Development at Scale @Chegg
iOS Development at Scale @Chegg
 
Translation Markup Language and Universal Translation Memory
Translation Markup Language and Universal Translation MemoryTranslation Markup Language and Universal Translation Memory
Translation Markup Language and Universal Translation Memory
 
Safetty systems intro_embedded_c
Safetty systems intro_embedded_cSafetty systems intro_embedded_c
Safetty systems intro_embedded_c
 
Lets dance- Dutch Architecture Conference (LAC) 2018
Lets dance- Dutch Architecture Conference (LAC) 2018Lets dance- Dutch Architecture Conference (LAC) 2018
Lets dance- Dutch Architecture Conference (LAC) 2018
 
JavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptJavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScript
 
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptxUnit 1 - TypeScript & Introduction to Angular CLI.pptx
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
 
Catalyst - refactor large apps with it and have fun!
Catalyst - refactor large apps with it and have fun!Catalyst - refactor large apps with it and have fun!
Catalyst - refactor large apps with it and have fun!
 
T4 presentation
T4 presentationT4 presentation
T4 presentation
 

More from Jack Molisani

Keith Schengili-Roberts - DITA Worst Practices
Keith Schengili-Roberts - DITA Worst PracticesKeith Schengili-Roberts - DITA Worst Practices
Keith Schengili-Roberts - DITA Worst PracticesJack Molisani
 
LavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s Table
LavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s TableLavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s Table
LavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s TableJack Molisani
 
LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...
LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...
LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...Jack Molisani
 
LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...
LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...
LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...Jack Molisani
 
LavaCon 2017 - Who Cares About Change?
LavaCon 2017 - Who Cares About Change?LavaCon 2017 - Who Cares About Change?
LavaCon 2017 - Who Cares About Change?Jack Molisani
 
LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...
LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...
LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...Jack Molisani
 
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...Jack Molisani
 
LavaCon 2017 - Take the Risk, Embrace the Change!
LavaCon 2017 - Take the Risk, Embrace the Change!LavaCon 2017 - Take the Risk, Embrace the Change!
LavaCon 2017 - Take the Risk, Embrace the Change!Jack Molisani
 
LavaCon 2017 - Structured Content Authoring For All!
LavaCon 2017 - Structured Content Authoring For All!LavaCon 2017 - Structured Content Authoring For All!
LavaCon 2017 - Structured Content Authoring For All!Jack Molisani
 
LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...
LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...
LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...Jack Molisani
 
LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...
LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...
LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...Jack Molisani
 
LavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 Seconds
LavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 SecondsLavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 Seconds
LavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 SecondsJack Molisani
 
LavaCon 2017 - How UX and Content Can (and Should) Work Together
LavaCon 2017 - How UX and Content Can (and Should) Work TogetherLavaCon 2017 - How UX and Content Can (and Should) Work Together
LavaCon 2017 - How UX and Content Can (and Should) Work TogetherJack Molisani
 
LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...
LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...
LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...Jack Molisani
 
LavaCon 2017 - Evolving the New Content Order
LavaCon 2017 - Evolving the New Content OrderLavaCon 2017 - Evolving the New Content Order
LavaCon 2017 - Evolving the New Content OrderJack Molisani
 
LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...
LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...
LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...Jack Molisani
 
LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...
LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...
LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...Jack Molisani
 
LavaCon 2017 - Silos. (And other concepts that make us average)
LavaCon 2017 - Silos. (And other concepts that make us average)LavaCon 2017 - Silos. (And other concepts that make us average)
LavaCon 2017 - Silos. (And other concepts that make us average)Jack Molisani
 
LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...
LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...
LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...Jack Molisani
 
LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...
LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...
LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...Jack Molisani
 

More from Jack Molisani (20)

Keith Schengili-Roberts - DITA Worst Practices
Keith Schengili-Roberts - DITA Worst PracticesKeith Schengili-Roberts - DITA Worst Practices
Keith Schengili-Roberts - DITA Worst Practices
 
LavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s Table
LavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s TableLavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s Table
LavaCon 2017 - Developing Your Edge: Getting a Seat at the Customer’s Table
 
LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...
LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...
LavaCon 2017 - How Modern Analytics Will Turn Your Technical Content Into a R...
 
LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...
LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...
LavaCon 2017 - Agile Localization: Building Bridges Between Translation Quali...
 
LavaCon 2017 - Who Cares About Change?
LavaCon 2017 - Who Cares About Change?LavaCon 2017 - Who Cares About Change?
LavaCon 2017 - Who Cares About Change?
 
LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...
LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...
LavaCon 2017 - Much Ado About Templates: Reduce the Learning Curve and Increa...
 
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
 
LavaCon 2017 - Take the Risk, Embrace the Change!
LavaCon 2017 - Take the Risk, Embrace the Change!LavaCon 2017 - Take the Risk, Embrace the Change!
LavaCon 2017 - Take the Risk, Embrace the Change!
 
LavaCon 2017 - Structured Content Authoring For All!
LavaCon 2017 - Structured Content Authoring For All!LavaCon 2017 - Structured Content Authoring For All!
LavaCon 2017 - Structured Content Authoring For All!
 
LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...
LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...
LavaCon 2017 - Building Catwalks Between Silos: Using Taxonomy to Drive Engag...
 
LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...
LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...
LavaCon 2017 - Getting Dragged Along? Start Charting Your Team’s Course with ...
 
LavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 Seconds
LavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 SecondsLavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 Seconds
LavaCon 2017 - Feed the Goldfish in 19 Minutes and 52 Seconds
 
LavaCon 2017 - How UX and Content Can (and Should) Work Together
LavaCon 2017 - How UX and Content Can (and Should) Work TogetherLavaCon 2017 - How UX and Content Can (and Should) Work Together
LavaCon 2017 - How UX and Content Can (and Should) Work Together
 
LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...
LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...
LavaCon 2017 - Implementing a Customer-driven Transition to DITA Content: A S...
 
LavaCon 2017 - Evolving the New Content Order
LavaCon 2017 - Evolving the New Content OrderLavaCon 2017 - Evolving the New Content Order
LavaCon 2017 - Evolving the New Content Order
 
LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...
LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...
LavaCon 2017 - Managing Stakeholders Across the Content Ecosystem: The Key to...
 
LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...
LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...
LavaCon 2017 - Future-proof Your Content: Beyond Traditional Publishing for S...
 
LavaCon 2017 - Silos. (And other concepts that make us average)
LavaCon 2017 - Silos. (And other concepts that make us average)LavaCon 2017 - Silos. (And other concepts that make us average)
LavaCon 2017 - Silos. (And other concepts that make us average)
 
LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...
LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...
LavaCon 2017 - Management Workshop Part 1: Leadership and Management in Techn...
 
LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...
LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...
LavaCon 2017 - Stop, Listen, and Collaborate: Creating an Experience-first Co...
 

Recently uploaded

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

LavaCon 2017 - Reusing Your Reuse: How to Keep the Reuse You Have When You Move to DITA

  • 1. Copyright © Stilo International plc, 2017.Copyright © Stilo International plc, 2017. REUSING YOUR REUSE: How to keep the reuse you have when you move to DITA Helen St. Denis Conversion Services Manager Stilo International
  • 2. Copyright © Stilo International plc, 2017. ► Works closely with Stilo Migrate customers, helping to analyse their legacy content and configure appropriate mapping rules ► Provides Migrate customer training and support ► Helen has helped Migrate customers to convert tens of thousands of pages of content to DITA and custom XML ► BA in English from St. Francis Xavier University in Antigonish, Nova Scotia and has pursued graduate studies at Queen’s University in Kingston Ontario Helen St. Denis | Conversion Services Manager
  • 3. Copyright © Stilo International plc, 2017. The three R’s of DITA
  • 4. Copyright © Stilo International plc, 2017. ► Most authoring environments offer some form of content reuse capability ► Yes, even Microsoft Word! ► Some do a very good job of it, too ► Do we have to lose all the work we’ve put into reuse when we move to DITA, and start all over again? But … haven’t I already got reuse?
  • 5. Copyright © Stilo International plc, 2017. ► At the document level ► At the phrase level ► Somewhere in between Legacy reuse at various levels
  • 6. Copyright © Stilo International plc, 2017. ► Adobe FrameMaker has books … ► You can use the same chapter (.fm file) in many books ► You can maintain a folder of shared chapters to which a book can refer, or you can keep all the chapters together with several maps Reuse at the document level …
  • 7. Copyright © Stilo International plc, 2017. … reuse at the document level ► MadCap Flare and Adobe RoboHelp have one or more ToCs to assemble the HTML files into a project
  • 8. Copyright © Stilo International plc, 2017. … reuse at the document level ► Microsoft Word has Master Documents ► Like a ToC, it assembles various DocX files into one document ► Any of these DocX files could be used in more than one master document ► They are assembled through linking
  • 9. Copyright © Stilo International plc, 2017. Reuse at the phrase level ► Word has auto text ► FrameMaker has variables ► RoboHelp and Flare also have variables
  • 10. Copyright © Stilo International plc, 2017. ► FrameMaker has text insets ► Flare and RoboHelp have snippets ► Word is not much help here! Reuse at the in-between level
  • 11. Copyright © Stilo International plc, 2017. Conditional text ► Not actually reuse, but facilitates it …
  • 12. Copyright © Stilo International plc, 2017. Bonus: Keywords, glossaries and index terms ► This isn’t reuse, exactly, but you’ve put effort into generating these things and don’t want to lose them
  • 13. Copyright © Stilo International plc, 2017. So how does this all work in DITA? ► Reuse in DITA is at the element level ► Some of this will be straightforward, but some will not
  • 14. Copyright © Stilo International plc, 2017. DITA reuse at the document level ► Maps can bring in other maps ► So you could create maps on a per-document basis, and include the map in as many other maps as needed ► In FrameMaker, this is often a map per chapter ► In Flare or RoboHelp, it might be a map per HTML page, or a map per folder ► In Word, a map per Word document
  • 15. Copyright © Stilo International plc, 2017. ► This might be conrefs, conkeyrefs, or keys ► Generally variables can be readily converted to keys, conrefs or conkeyrefs ► Conref files or keys can be created from the legacy content, or pointers to an existing reuse library can be inserted DITA reuse at the phrase level
  • 16. Copyright © Stilo International plc, 2017. <keydef keys="prodname"> <topicmeta> <keywords> <keyword>OmniMark</keyword> </keywords> </topicmeta> </keydef> <keydef keys="_component"> <topicmeta> <keywords> <keyword>OMCPE</keyword> </keywords> </topicmeta> </keydef> Keys
  • 17. Copyright © Stilo International plc, 2017. <p outputclass="ID-00000007">OmniMark Concurrent Processing Engine runs programs written in the <keyword outputclass="ID-000001d9" keyref="Prodname">OmniMark</keyword> programming language. </p> <map> <title/> <keydef keys="Prodname"> <topicmeta> <keywords> <keyword>OmniMark</keyword> </keywords> </topicmeta> </keydef> <keydef keys="_component"> <topicmeta> <keywords> <keyword>OMCPE</keyword> </keywords> </topicmeta> </keydef> In the topic, and in the map
  • 18. Copyright © Stilo International plc, 2017. DITA reuse at the in-between level ► DITA reuse at the element level ► Topic level is the most obvious way ► <topicref> in the map
  • 19. Copyright © Stilo International plc, 2017. Challenges with topicrefs ► Most legacy formats don’t have topic-level reuse specifically ► Flare or RoboHelp HTML files might be a single topic, but usually are not
  • 20. Copyright © Stilo International plc, 2017. Conrefs ► Conrefs allow you to reuse a single DITA element ► This means you can reuse a paragraph, a table, a single list item or a whole list ► You can also reuse the content at a phrase level, so that the content of a step in a task topic, for example, can be reused inside a list in a concept
  • 21. Copyright © Stilo International plc, 2017. Conref range ► This allows you to reuse a chunk of content that includes more than one element ► But, the first and last elements must be the same ► So, you can reuse a set of list items from a list using conref range ► But, you can’t reuse a chunk that starts with a list item and ends with a paragraph or a table
  • 22. Copyright © Stilo International plc, 2017. From our example:
  • 23. Copyright © Stilo International plc, 2017. We can reuse the list… <ol id=change-warnings-list> <li> to ignore the class of warnings, use <codeph>-warning-ignore warning-class</codeph>,</li> <li> to report only a summary of the class of warnings, use <codeph>-warning-summary warning-class</codeph>,</li> <li> to report the warning and continue compiling, use <codeph>- warning-report warning-class</codeph>, and</li> <li> to promote the class of warnings to an error, use <codeph>- warning-error warning-class</codeph>.</li> </ol>
  • 24. Copyright © Stilo International plc, 2017. In the topic <ul conref="generalConref.xml#titles/change-warnings-list"> <li> to ignore the class of warnings, use <codeph>-warning-ignore warning-class</codeph>,</li> <li> to report only a summary of the class of warnings, use <codeph>-warning-summary warning-class</codeph>,</li> <li> to report the warning and continue compiling, use <codeph>- warning-report warning-class</codeph>, and</li> <li> to promote the class of warnings to an error, use <codeph>- warning-error warning-class</codeph>.</li> </ul>
  • 25. Copyright © Stilo International plc, 2017. Or reuse just some of the bullets: <li id="change-warnings-1"> to ignore the class of warnings, use <codeph>-warning-ignore warning-class</codeph>,</li> <li id="change-warnings-2"> to report only a summary of the class of warnings, use <codeph>-warning-summary warning-class</codeph>,</li> <li id="change-warnings-3"> to report the warning and continue compiling, use <codeph>-warning-report warning-class</codeph>, and</li> <li id="change-warnings-4"> to promote the class of warnings to an error, use <codeph>-warning-error warning-class</codeph>. </li> In the topic <ul> <li conref="generalConref.xml#titles/change-warnings-1" conrefend="generalConref.xml#titles/change-warnings-3"/> <li>Another, different list item</li> </ul>
  • 26. Copyright © Stilo International plc, 2017. Challenges with conrefs ► Snippets and text insets can contain anything; any number of different elements ► It is not possible, therefore, to make a conref from each one ► Nor is it possible to make a topic from each one
  • 27. Copyright © Stilo International plc, 2017. Identifying the reused content ► Text insets and snippets are in their own file – we can use the filename ► We can create conrefs using the filename as identifier ► Each block level element becomes a conref (and so do inline elements, if you like) with the filename as ID ► Other schemes for creating IDs are possible
  • 28. Copyright © Stilo International plc, 2017. Text inset …
  • 29. Copyright © Stilo International plc, 2017. <li id="change-warnings"> to ignore the class of warnings, use <codeph>-warning-ignore warning-class</codeph>,</li> <li id="change-warnings-1"> to report only a summary of the class of warnings, use <codeph>-warning-summary warning- class</codeph>,</li> <li id="change-warnings-2"> to report the warning and continue compiling, use <codeph>-warning-report warning- class</codeph>, and</li> <li id="change-warnings-3"> to promote the class of warnings to an error, use <codeph>-warning-error warning- class</codeph>.</li> <p id="change-warnings-4">You can also use the <codeph>all</codeph> warning class to quickly apply the same command-line option to all classes of warnings. For example,</p> <codeblock id="change-warnings-5"> -warning-error all - warning-ignore uninitialized-data-access</codeblock> <p id="change-warnings-6">would report warnings for any warning other than <codeph>uninitialized-data- access</codeph>.</p> This is what it could look like …
  • 30. Copyright © Stilo International plc, 2017. … in an XML editor
  • 31. Copyright © Stilo International plc, 2017. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> <concept id="titles"> <title>Reference definitions</title> <conbody> <p id="change-warnings">By default, the<keyword keyref="Prodname">OmniMark</keyword> compiler will display all these classes of warnings except for uninitialized-data-access, which is ignored. You can change how each class of warning is handled using the following command line options:</p> <ol id=change-warnings-list> <li> to ignore the class of warnings, use <codeph>-warning-ignore warning- class</codeph>,</li> <li> to report only a summary of the class of warnings, use <codeph>-warning-summary warning-class</codeph>,</li> <li> to report the warning and continue compiling, use <codeph>-warning-report warning- class</codeph>, and</li> <li> to promote the class of warnings to an error, use <codeph>-warning-error warning- class</codeph>.</li> </ol> <p id="change-warnings-5">You can also use the <codeph>all</codeph> warning class to quickly apply the same command-line option to all classes of warnings. For example,</p> <codeblock id="change-warnings-6"> -warning-error all -warning-ignore uninitialized-data- access</codeblock> <p id="change-warnings-7">would report warnings for any warning other than <codeph>uninitialized-data-access</codeph>.</p> </conbody> </concept> … in the raw DITA
  • 32. Copyright © Stilo International plc, 2017. ► DITA has built in profiling attributes ► Or you can use “otherprops” Conditional text
  • 33. Copyright © Stilo International plc, 2017. <?xml version="1.0" encoding="UTF-8"?> <val> <prop action="include" att="otherprops" val="port-locking"/> </val><val> <prop action=“exlude" att="otherprops" val=“no-port-locking"/> </val> DITAVAL file
  • 34. Copyright © Stilo International plc, 2017. <topicref navtitle="Generating a license request key (port locking)" href="1.5.8_Generating_a_license_request_key__po rt_locking_.dita" product="omspe omdc"></topicref> <topicref navtitle="Generating a license request key" href="1.5.8_Generating_a_license_request_key.dit a" product="omcpe ombc"></topicref> Using a profiling attribute
  • 35. Copyright © Stilo International plc, 2017. ► A RoboHelp glossary is almost DITA already <glossentry> <glossterm>CSH</glossterm> <glossdef>(Context Sensitive Help)</glossdef> </glossentry> <glossentry> <glossterm>Opportunity</glossterm> <glossdef>Any contact with a customer (or potential customer) is generically known as an opportunity. This is because you have an opportunity to convert a potential customer to an actual customer. Or an opportunity to deepen and strengthen the existing customer experience.</glossdef> </glossentry> Glossaries
  • 36. Copyright © Stilo International plc, 2017. Indexes
  • 37. Copyright © Stilo International plc, 2017. In the DITA

Editor's Notes

  1. Show an example
  2. Show example