SlideShare una empresa de Scribd logo
1 de 33
Can I Have a Word:
Managing Shared Glossaries and
References to Terms With DITA
Eliot Kimber
Contrext
Tekom 2017
About the Author
• Independent consultant focusing on DITA
analysis, design, and implementation
• Doing SGML and XML for cough 30 years cough
• Founding member of the DITA Technical
Committee
• Founding member of the XML Working Group
• Co-editor of HyTime standard (ISO/IEC 10744)
• Primary developer and founder of the DITA for
Publishers project
• Author of DITA for Practitioners, Vol 1 (XML Press)
Tekom 2017
Agenda
• DITA glossary markup
• Glossary challenges
• Managing and using glossary entries
• Glossary processing
Tekom 2017
INTRODUCTION TO
GLOSSARIES
Tekom 2017
Glossary is…
• Terms and their definitions
• For presentation to readers
• May include definitions of acronyms and
abbreviations
• May include lexicographic details: part of
speech, etc.
• Source for use-by-reference of <term>
elements in content
Tekom 2017
Glossary is not…
• Formal term list as used in terminology
management tools like Congree or Acrolinx
– Terminology management is a separate concern
from glossary authoring and presentation
Tekom 2017
General Requirements
• Provide glossary of terms in publications
• Get terms by reference in content (mentions of
terms)
• Links from uses of terms to their glossary entries
• Show expansions of acronyms and abbreviations
on first use
• Reuse glossary entries in multiple publications
• Publish master glossary with links to it from other
publications
Tekom 2017
GLOSSARY MARKUP
Tekom 2017
<glossentry>
• Topic type for glossary entries
• Captures:
– Term
– Definition
– Abbreviated forms
– Parts of speech
– Surface form
– Other details
Tekom 2017
<glossgroup>
• Topic type for grouping glossary entries
together into one source document
• Allows nested <glossentry> elements
Tekom 2017
<glossref>
• Topicref type for referring to glossary topics
• DO NOT USE
• Sets @toc to “no”
• Sets @print to “no”
– Nobody knows why
• Requires @keys attribute
Tekom 2017
<abbreviated-form>
• Reference to a glossary entry
– Specialization of <term>
• Intended to produce abbreviation and
expansion on “first use”
• Produces just abbreviation on other
occurrences
• Challenge: When is a use the “first use”?
Tekom 2017
<term>
• Can use @keyref to use a glossary term by
reference
• Reflects the term if no local content
• Should be a link to the glossary entry
• Example:
<p>The <term keyref="gloss-framitz"/>
…</p>
Tekom 2017
<sort-as>
• Can be used in topic prolog to provide sorting
key
– Often required for Japanese
– May be required for Simplified Chinese
– Other languages, terms with special characters,
etc.
Tekom 2017
MANAGING AND USING
GLOSSARIES
Tekom 2017
Glossary Entries as Resources
• Manage glossentry topics as individual docs
– Typical DITA practice for topics in general
• Must have associated keys
• Challenges:
– Where to define the keys?
– Defining naming conventions for keys
Tekom 2017
Maps for Glossaries
• Glossary entries MUST be part of the
publication navigation tree
• <keydef> is either not appropriate or not
sufficient
– <keydef> has processing role of “resource-only”
– Does not put referenced topic in the navigation
tree
• Need normal-role topicrefs to glossary entries
Tekom 2017
Grouping Entries
• Obvious approach is to use topicheads to group entries:
<topichead>
<topicmeta>
<navtitle>Glossary</navtitle>
</topicmeta>
<topichead>
<topicmeta>
<navtitle>A</navtitle>
</topicmeta>
<topicref keys="gloss-apple"
href="glossary/apple-gloss.dita"/>
…
</topichead>
…
</topichead>
• Doesn’t always work the way you might expect
Tekom 2017
Topichead Chunking Rule
• @chunk="to-content" on <topichead>
makes topic act like reference to a title-only topic
– DITA Spec: Clause 2.4.5.1 “Using the @chunk
attribute”
• Unfortunately, includes all child topics in the
resulting chunk
– Probably not what you want for glossaries
– Have to specify @chunk on each subordinate topicref
– Very annoying
• Bugs in Open Toolkit as of 2.5.4 produce incorrect
results in both HTML and PDF
Tekom 2017
Workaround for Grouping
• Create title-only topics for what would
otherwise be topicheads
– Glossary top-level topic
– Each group
• Will need these for each language-specific
group for localized glossaries
• Easy enough to generate
– Could do as extension to Open Toolkit
preprocessing
Tekom 2017
Challenge:
How to Define Glossaries in Maps?
• Two basic options:
1. Use normal-role topicrefs only
2. Use both resource-only topicrefs and
normal-role topicrefs that refer to the
resource-only topicrefs by key
• Depends on your reuse requirements
Tekom 2017
Map Organization Option 1:
Just Normal-Role Topicrefs
• Publication map has normal topicrefs to the
glossary entries
• Can have a single reusable submap
• Or can author separately for each publication
• Advantage: Keeps it simple
• Disadvantage: May have redundant or
duplicate authoring in different publications
Tekom 2017
Map Organization Option 2:
Keydefs + Normal Topicrefs
• Have a master map that uses <keydef> to refer to glossary entry topics
– These <keydef> keys are NOT to be used as target of <term> and
<abbreviated-term> elements
– Reflects “exactly one topicref with URI reference to a given topic”
policy
• In each publication:
– Grouping topicrefs
– Normal-role topicrefs with keys and keyref to <keydef> keys
• Advantage: Makes reuse easier to manage
• Disadvantages:
– Two keys where there were one
– May still have per-publication navigation structures for glossaries
Tekom 2017
Master Glossaries
• Separate publication that is just the glossary
• Cross-deliverable links from other publications to
glossary entries
• Cross-deliverable links are always a challenge
• DITA 1.3 provides cross-deliverable linking feature
– Probably not implemented in your tools as of
November 2017
• Can use deliverable-specific topicrefs
– Requires that you know how glossary entries will be
delivered
– Would expect to generate them automatically
Tekom 2017
GLOSSARY PROCESSING
Tekom 2017
Processing Challenges
• Determining “first use” for abbreviated form
references
• Automatic grouping and sorting
• Producing minimum glossary for a given
publication
Tekom 2017
First Use Problem
• What is the scope?
– Single topic?
– “Chapter”?
– Entire publication?
• Scope may be different for different
deliverable types
• May have different editorial rules
• Difficult to have a general solution
Tekom 2017
Automated Grouping and
Sorting
• Nothing in standard-defined map markup that
says unambiguously “this branch of the map is a
glossary”
• Need locale-specific configuration for grouping
• Need local-specific configuration for sorting
• Simplified Chinese needs special support
– DITA Community i18n project provides necessary
features
– Somebody needs to implement Open Toolkit plugin
for doing glossary sorting
Tekom 2017
Generating Glossary Based on
Terms Used
• Possible to generate a glossary that reflects
only those terms actually used in the topics
included in a publication
• Requires synthesizing normal-role topicrefs so
key references will work properly
• Could be implemented as an extension to
Open Toolkit preprocessing
• Could be a separate process that generates
otherwise-normal map and topic components
Tekom 2017
Demo
If time permits
Tekom 2017
Questions?
Tekom 2017
Resources
• Me: ekimber@contrext.com
• DITA specification: http://docs.oasis-
open.org/dita/dita/v1.3/dita-v1.3-part0-
overview.html
• DITA Community i18n project:
https://github.com/dita-community/org.dita-
community.i18n
• Sample files: https://github.com/dita-
community/dita-test-
cases/tree/master/glossaries/realistic-
glossary/wipo-glossary
Tekom 2017
Your opinion is important to us! Please tell us what you thought of the
lecture. We look forward to your feedback via smartphone or tablet under
http://ta10.honestly.de
or scan the QR code
The feedback tool will be available even after the conference!

Más contenido relacionado

Similar a Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA

Implementing Structured Writing and Content Management Globally
Implementing Structured Writing and Content Management GloballyImplementing Structured Writing and Content Management Globally
Implementing Structured Writing and Content Management GloballyPam Noreault
 
Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...
Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...
Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...IXIASOFT
 
Topic-based Authoring and Reuse
Topic-based Authoring and ReuseTopic-based Authoring and Reuse
Topic-based Authoring and ReuseClearPath, LLC
 
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
DITA Quick Start Webinar: Defining Your Style Sheet RequirementsDITA Quick Start Webinar: Defining Your Style Sheet Requirements
DITA Quick Start Webinar: Defining Your Style Sheet RequirementsSuite Solutions
 
An introduction to go programming language
An introduction to go programming languageAn introduction to go programming language
An introduction to go programming languageTechnology Parser
 
Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32IXIASOFT
 
Lavacon 2011: Managing Translations in Frame DITA without a CMS
Lavacon 2011: Managing Translations in Frame DITA without a CMSLavacon 2011: Managing Translations in Frame DITA without a CMS
Lavacon 2011: Managing Translations in Frame DITA without a CMSClearPath, LLC
 
A tailor-made one-size-fits-all approach to sentiment analysis
A tailor-made one-size-fits-all approach to sentiment analysisA tailor-made one-size-fits-all approach to sentiment analysis
A tailor-made one-size-fits-all approach to sentiment analysisDiana Maynard
 
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key References
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key ReferencesKi, Qi, Key: The Way of DITA Harmony With Keys and Key References
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key ReferencesContrext Solutions
 
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse? TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse? IXIASOFT
 
It’s getting crowded! A critical view of what crowdsourcing can do for termin...
It’s getting crowded! A critical view of what crowdsourcing can do for termin...It’s getting crowded! A critical view of what crowdsourcing can do for termin...
It’s getting crowded! A critical view of what crowdsourcing can do for termin...TERMCAT
 
Multi-language database design appoaches
Multi-language database design appoachesMulti-language database design appoaches
Multi-language database design appoachesSudabaSolaimankhil
 
Using Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentUsing Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentIXIASOFT
 
Lean and Collaborative Content - Workshop
Lean and Collaborative Content - WorkshopLean and Collaborative Content - Workshop
Lean and Collaborative Content - WorkshopIXIASOFT
 

Similar a Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA (20)

Implementing Structured Writing and Content Management Globally
Implementing Structured Writing and Content Management GloballyImplementing Structured Writing and Content Management Globally
Implementing Structured Writing and Content Management Globally
 
Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...
Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...
Optimizing Content Reuse with DITA - LavaCon Webinar with Keith Schengili-Rob...
 
Topic-based Authoring and Reuse
Topic-based Authoring and ReuseTopic-based Authoring and Reuse
Topic-based Authoring and Reuse
 
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
DITA Quick Start Webinar: Defining Your Style Sheet RequirementsDITA Quick Start Webinar: Defining Your Style Sheet Requirements
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
 
Webcast: DITA Best Practices
Webcast: DITA Best PracticesWebcast: DITA Best Practices
Webcast: DITA Best Practices
 
Introduction to Text Mining
Introduction to Text MiningIntroduction to Text Mining
Introduction to Text Mining
 
An introduction to go programming language
An introduction to go programming languageAn introduction to go programming language
An introduction to go programming language
 
Workshop 6 may 27 2021
Workshop 6 may 27 2021Workshop 6 may 27 2021
Workshop 6 may 27 2021
 
Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32
 
Workshop 3 august 11
Workshop 3 august 11Workshop 3 august 11
Workshop 3 august 11
 
Lavacon 2011: Managing Translations in Frame DITA without a CMS
Lavacon 2011: Managing Translations in Frame DITA without a CMSLavacon 2011: Managing Translations in Frame DITA without a CMS
Lavacon 2011: Managing Translations in Frame DITA without a CMS
 
A tailor-made one-size-fits-all approach to sentiment analysis
A tailor-made one-size-fits-all approach to sentiment analysisA tailor-made one-size-fits-all approach to sentiment analysis
A tailor-made one-size-fits-all approach to sentiment analysis
 
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key References
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key ReferencesKi, Qi, Key: The Way of DITA Harmony With Keys and Key References
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key References
 
Interactive DSML Design
Interactive DSML DesignInteractive DSML Design
Interactive DSML Design
 
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse? TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
TC Dojo Open Session: Are You Getting the Most Out of DITA Content Reuse?
 
Software development fundamentals
Software development fundamentalsSoftware development fundamentals
Software development fundamentals
 
It’s getting crowded! A critical view of what crowdsourcing can do for termin...
It’s getting crowded! A critical view of what crowdsourcing can do for termin...It’s getting crowded! A critical view of what crowdsourcing can do for termin...
It’s getting crowded! A critical view of what crowdsourcing can do for termin...
 
Multi-language database design appoaches
Multi-language database design appoachesMulti-language database design appoaches
Multi-language database design appoaches
 
Using Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentUsing Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative Environment
 
Lean and Collaborative Content - Workshop
Lean and Collaborative Content - WorkshopLean and Collaborative Content - Workshop
Lean and Collaborative Content - Workshop
 

Más de Contrext Solutions

Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...Contrext Solutions
 
Loose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
Loose Leaf Publishing Using Antenna House Formatter and CSS for PaginationLoose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
Loose Leaf Publishing Using Antenna House Formatter and CSS for PaginationContrext Solutions
 
Twisted XSL Tricks: Column Switching for FOP
Twisted XSL Tricks: Column Switching for FOPTwisted XSL Tricks: Column Switching for FOP
Twisted XSL Tricks: Column Switching for FOPContrext Solutions
 
Content Management on Zero Budget: DITA for Small Teams
Content Management on Zero Budget: DITA for Small TeamsContent Management on Zero Budget: DITA for Small Teams
Content Management on Zero Budget: DITA for Small TeamsContrext Solutions
 
Using CSS Paging to Render DITA Documents
Using CSS Paging to Render DITA DocumentsUsing CSS Paging to Render DITA Documents
Using CSS Paging to Render DITA DocumentsContrext Solutions
 
DITA for Small Teams Workshop (Tekom 2017)
DITA for Small Teams Workshop (Tekom 2017)DITA for Small Teams Workshop (Tekom 2017)
DITA for Small Teams Workshop (Tekom 2017)Contrext Solutions
 
XSLT Magic Tricks with DITA and FrameMaker
XSLT Magic Tricks with DITA and FrameMakerXSLT Magic Tricks with DITA and FrameMaker
XSLT Magic Tricks with DITA and FrameMakerContrext Solutions
 
FrameMaker and the DITA Open Toolkit
FrameMaker and the DITA Open ToolkitFrameMaker and the DITA Open Toolkit
FrameMaker and the DITA Open ToolkitContrext Solutions
 
DITA Reuse Challenges and Response
DITA Reuse Challenges and ResponseDITA Reuse Challenges and Response
DITA Reuse Challenges and ResponseContrext Solutions
 
RELAX NG and DITA: An Almost Perfect Match
RELAX NG and DITA: An Almost Perfect MatchRELAX NG and DITA: An Almost Perfect Match
RELAX NG and DITA: An Almost Perfect MatchContrext Solutions
 
Managing Multiple Open Toolkit Configurations Using git Lightning Talk
Managing Multiple Open Toolkit Configurations Using git Lightning TalkManaging Multiple Open Toolkit Configurations Using git Lightning Talk
Managing Multiple Open Toolkit Configurations Using git Lightning TalkContrext Solutions
 
DITA OT Day 2015 Lightning Talk On The DITA Community Project
DITA OT Day 2015 Lightning Talk On The DITA Community ProjectDITA OT Day 2015 Lightning Talk On The DITA Community Project
DITA OT Day 2015 Lightning Talk On The DITA Community ProjectContrext Solutions
 
They Worked Before, What Happened? Understanding DITA Cross-Book Links
They Worked Before, What Happened? Understanding DITA Cross-Book Links They Worked Before, What Happened? Understanding DITA Cross-Book Links
They Worked Before, What Happened? Understanding DITA Cross-Book Links Contrext Solutions
 
No Ki Magic: Managing Complex DITA Hyperdocuments
No Ki Magic: Managing Complex DITA HyperdocumentsNo Ki Magic: Managing Complex DITA Hyperdocuments
No Ki Magic: Managing Complex DITA HyperdocumentsContrext Solutions
 
Poster: Cross-Document Linking in DITA
Poster: Cross-Document Linking in DITAPoster: Cross-Document Linking in DITA
Poster: Cross-Document Linking in DITAContrext Solutions
 
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for KeysManaging Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for KeysContrext Solutions
 
What's New in DITA 1.3 (Tekom, Nov 2014)
What's New in DITA 1.3 (Tekom, Nov 2014)What's New in DITA 1.3 (Tekom, Nov 2014)
What's New in DITA 1.3 (Tekom, Nov 2014)Contrext Solutions
 
Taking Cross References to the Next Level: Reltables for Non-Topic Elements
Taking Cross References to the Next Level: Reltables for Non-Topic ElementsTaking Cross References to the Next Level: Reltables for Non-Topic Elements
Taking Cross References to the Next Level: Reltables for Non-Topic ElementsContrext Solutions
 

Más de Contrext Solutions (20)

Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...Stupid DITA Tricks:After-The-Fact Specialization: Treating Aircraft Manuals ...
Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals ...
 
Loose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
Loose Leaf Publishing Using Antenna House Formatter and CSS for PaginationLoose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
Loose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
 
Twisted XSL Tricks: Column Switching for FOP
Twisted XSL Tricks: Column Switching for FOPTwisted XSL Tricks: Column Switching for FOP
Twisted XSL Tricks: Column Switching for FOP
 
Content Management on Zero Budget: DITA for Small Teams
Content Management on Zero Budget: DITA for Small TeamsContent Management on Zero Budget: DITA for Small Teams
Content Management on Zero Budget: DITA for Small Teams
 
Using CSS Paging to Render DITA Documents
Using CSS Paging to Render DITA DocumentsUsing CSS Paging to Render DITA Documents
Using CSS Paging to Render DITA Documents
 
DITA for Small Teams Workshop (Tekom 2017)
DITA for Small Teams Workshop (Tekom 2017)DITA for Small Teams Workshop (Tekom 2017)
DITA for Small Teams Workshop (Tekom 2017)
 
XSLT Magic Tricks with DITA and FrameMaker
XSLT Magic Tricks with DITA and FrameMakerXSLT Magic Tricks with DITA and FrameMaker
XSLT Magic Tricks with DITA and FrameMaker
 
FrameMaker and the DITA Open Toolkit
FrameMaker and the DITA Open ToolkitFrameMaker and the DITA Open Toolkit
FrameMaker and the DITA Open Toolkit
 
DITA Reuse Challenges and Response
DITA Reuse Challenges and ResponseDITA Reuse Challenges and Response
DITA Reuse Challenges and Response
 
RELAX NG and DITA: An Almost Perfect Match
RELAX NG and DITA: An Almost Perfect MatchRELAX NG and DITA: An Almost Perfect Match
RELAX NG and DITA: An Almost Perfect Match
 
Managing Multiple Open Toolkit Configurations Using git Lightning Talk
Managing Multiple Open Toolkit Configurations Using git Lightning TalkManaging Multiple Open Toolkit Configurations Using git Lightning Talk
Managing Multiple Open Toolkit Configurations Using git Lightning Talk
 
DITA OT Day 2015 Lightning Talk On The DITA Community Project
DITA OT Day 2015 Lightning Talk On The DITA Community ProjectDITA OT Day 2015 Lightning Talk On The DITA Community Project
DITA OT Day 2015 Lightning Talk On The DITA Community Project
 
Why Is DITA So Hard?
Why Is DITA So Hard?Why Is DITA So Hard?
Why Is DITA So Hard?
 
They Worked Before, What Happened? Understanding DITA Cross-Book Links
They Worked Before, What Happened? Understanding DITA Cross-Book Links They Worked Before, What Happened? Understanding DITA Cross-Book Links
They Worked Before, What Happened? Understanding DITA Cross-Book Links
 
No Ki Magic: Managing Complex DITA Hyperdocuments
No Ki Magic: Managing Complex DITA HyperdocumentsNo Ki Magic: Managing Complex DITA Hyperdocuments
No Ki Magic: Managing Complex DITA Hyperdocuments
 
Poster: Cross-Document Linking in DITA
Poster: Cross-Document Linking in DITAPoster: Cross-Document Linking in DITA
Poster: Cross-Document Linking in DITA
 
DITA for Small Teams
DITA for Small TeamsDITA for Small Teams
DITA for Small Teams
 
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for KeysManaging Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
 
What's New in DITA 1.3 (Tekom, Nov 2014)
What's New in DITA 1.3 (Tekom, Nov 2014)What's New in DITA 1.3 (Tekom, Nov 2014)
What's New in DITA 1.3 (Tekom, Nov 2014)
 
Taking Cross References to the Next Level: Reltables for Non-Topic Elements
Taking Cross References to the Next Level: Reltables for Non-Topic ElementsTaking Cross References to the Next Level: Reltables for Non-Topic Elements
Taking Cross References to the Next Level: Reltables for Non-Topic Elements
 

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA

  • 1. Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA Eliot Kimber Contrext Tekom 2017
  • 2. About the Author • Independent consultant focusing on DITA analysis, design, and implementation • Doing SGML and XML for cough 30 years cough • Founding member of the DITA Technical Committee • Founding member of the XML Working Group • Co-editor of HyTime standard (ISO/IEC 10744) • Primary developer and founder of the DITA for Publishers project • Author of DITA for Practitioners, Vol 1 (XML Press) Tekom 2017
  • 3. Agenda • DITA glossary markup • Glossary challenges • Managing and using glossary entries • Glossary processing Tekom 2017
  • 5. Glossary is… • Terms and their definitions • For presentation to readers • May include definitions of acronyms and abbreviations • May include lexicographic details: part of speech, etc. • Source for use-by-reference of <term> elements in content Tekom 2017
  • 6. Glossary is not… • Formal term list as used in terminology management tools like Congree or Acrolinx – Terminology management is a separate concern from glossary authoring and presentation Tekom 2017
  • 7. General Requirements • Provide glossary of terms in publications • Get terms by reference in content (mentions of terms) • Links from uses of terms to their glossary entries • Show expansions of acronyms and abbreviations on first use • Reuse glossary entries in multiple publications • Publish master glossary with links to it from other publications Tekom 2017
  • 9. <glossentry> • Topic type for glossary entries • Captures: – Term – Definition – Abbreviated forms – Parts of speech – Surface form – Other details Tekom 2017
  • 10. <glossgroup> • Topic type for grouping glossary entries together into one source document • Allows nested <glossentry> elements Tekom 2017
  • 11. <glossref> • Topicref type for referring to glossary topics • DO NOT USE • Sets @toc to “no” • Sets @print to “no” – Nobody knows why • Requires @keys attribute Tekom 2017
  • 12. <abbreviated-form> • Reference to a glossary entry – Specialization of <term> • Intended to produce abbreviation and expansion on “first use” • Produces just abbreviation on other occurrences • Challenge: When is a use the “first use”? Tekom 2017
  • 13. <term> • Can use @keyref to use a glossary term by reference • Reflects the term if no local content • Should be a link to the glossary entry • Example: <p>The <term keyref="gloss-framitz"/> …</p> Tekom 2017
  • 14. <sort-as> • Can be used in topic prolog to provide sorting key – Often required for Japanese – May be required for Simplified Chinese – Other languages, terms with special characters, etc. Tekom 2017
  • 16. Glossary Entries as Resources • Manage glossentry topics as individual docs – Typical DITA practice for topics in general • Must have associated keys • Challenges: – Where to define the keys? – Defining naming conventions for keys Tekom 2017
  • 17. Maps for Glossaries • Glossary entries MUST be part of the publication navigation tree • <keydef> is either not appropriate or not sufficient – <keydef> has processing role of “resource-only” – Does not put referenced topic in the navigation tree • Need normal-role topicrefs to glossary entries Tekom 2017
  • 18. Grouping Entries • Obvious approach is to use topicheads to group entries: <topichead> <topicmeta> <navtitle>Glossary</navtitle> </topicmeta> <topichead> <topicmeta> <navtitle>A</navtitle> </topicmeta> <topicref keys="gloss-apple" href="glossary/apple-gloss.dita"/> … </topichead> … </topichead> • Doesn’t always work the way you might expect Tekom 2017
  • 19. Topichead Chunking Rule • @chunk="to-content" on <topichead> makes topic act like reference to a title-only topic – DITA Spec: Clause 2.4.5.1 “Using the @chunk attribute” • Unfortunately, includes all child topics in the resulting chunk – Probably not what you want for glossaries – Have to specify @chunk on each subordinate topicref – Very annoying • Bugs in Open Toolkit as of 2.5.4 produce incorrect results in both HTML and PDF Tekom 2017
  • 20. Workaround for Grouping • Create title-only topics for what would otherwise be topicheads – Glossary top-level topic – Each group • Will need these for each language-specific group for localized glossaries • Easy enough to generate – Could do as extension to Open Toolkit preprocessing Tekom 2017
  • 21. Challenge: How to Define Glossaries in Maps? • Two basic options: 1. Use normal-role topicrefs only 2. Use both resource-only topicrefs and normal-role topicrefs that refer to the resource-only topicrefs by key • Depends on your reuse requirements Tekom 2017
  • 22. Map Organization Option 1: Just Normal-Role Topicrefs • Publication map has normal topicrefs to the glossary entries • Can have a single reusable submap • Or can author separately for each publication • Advantage: Keeps it simple • Disadvantage: May have redundant or duplicate authoring in different publications Tekom 2017
  • 23. Map Organization Option 2: Keydefs + Normal Topicrefs • Have a master map that uses <keydef> to refer to glossary entry topics – These <keydef> keys are NOT to be used as target of <term> and <abbreviated-term> elements – Reflects “exactly one topicref with URI reference to a given topic” policy • In each publication: – Grouping topicrefs – Normal-role topicrefs with keys and keyref to <keydef> keys • Advantage: Makes reuse easier to manage • Disadvantages: – Two keys where there were one – May still have per-publication navigation structures for glossaries Tekom 2017
  • 24. Master Glossaries • Separate publication that is just the glossary • Cross-deliverable links from other publications to glossary entries • Cross-deliverable links are always a challenge • DITA 1.3 provides cross-deliverable linking feature – Probably not implemented in your tools as of November 2017 • Can use deliverable-specific topicrefs – Requires that you know how glossary entries will be delivered – Would expect to generate them automatically Tekom 2017
  • 26. Processing Challenges • Determining “first use” for abbreviated form references • Automatic grouping and sorting • Producing minimum glossary for a given publication Tekom 2017
  • 27. First Use Problem • What is the scope? – Single topic? – “Chapter”? – Entire publication? • Scope may be different for different deliverable types • May have different editorial rules • Difficult to have a general solution Tekom 2017
  • 28. Automated Grouping and Sorting • Nothing in standard-defined map markup that says unambiguously “this branch of the map is a glossary” • Need locale-specific configuration for grouping • Need local-specific configuration for sorting • Simplified Chinese needs special support – DITA Community i18n project provides necessary features – Somebody needs to implement Open Toolkit plugin for doing glossary sorting Tekom 2017
  • 29. Generating Glossary Based on Terms Used • Possible to generate a glossary that reflects only those terms actually used in the topics included in a publication • Requires synthesizing normal-role topicrefs so key references will work properly • Could be implemented as an extension to Open Toolkit preprocessing • Could be a separate process that generates otherwise-normal map and topic components Tekom 2017
  • 32. Resources • Me: ekimber@contrext.com • DITA specification: http://docs.oasis- open.org/dita/dita/v1.3/dita-v1.3-part0- overview.html • DITA Community i18n project: https://github.com/dita-community/org.dita- community.i18n • Sample files: https://github.com/dita- community/dita-test- cases/tree/master/glossaries/realistic- glossary/wipo-glossary Tekom 2017
  • 33. Your opinion is important to us! Please tell us what you thought of the lecture. We look forward to your feedback via smartphone or tablet under http://ta10.honestly.de or scan the QR code The feedback tool will be available even after the conference!