SlideShare a Scribd company logo
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!

More Related Content

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

Sheila tamizrad combining language
Sheila tamizrad  combining languageSheila tamizrad  combining language
Sheila tamizrad combining language
Sheila Rad
 
Technical Editing for Beginners Final
Technical Editing for Beginners FinalTechnical Editing for Beginners Final
Technical Editing for Beginners Final
Bethany Aguad
 

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

Terminology Presentation by Lloyd International Translations for TCUK 2010
Terminology Presentation by Lloyd International Translations for TCUK 2010Terminology Presentation by Lloyd International Translations for TCUK 2010
Terminology Presentation by Lloyd International Translations for TCUK 2010
 
Webcast: DITA Best Practices
Webcast: DITA Best PracticesWebcast: DITA Best Practices
Webcast: DITA Best Practices
 
A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017
A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017
A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017
 
Stc halfday tech-edit_23apr_final
Stc halfday tech-edit_23apr_finalStc halfday tech-edit_23apr_final
Stc halfday tech-edit_23apr_final
 
Sheila tamizrad combining language
Sheila tamizrad  combining languageSheila tamizrad  combining language
Sheila tamizrad combining language
 
Is DITA Right for You? - STC Summit 2017
Is DITA Right for You? - STC Summit 2017Is DITA Right for You? - STC Summit 2017
Is DITA Right for You? - STC Summit 2017
 
Comparative Analysis of W3C Text Layout Requirements
Comparative Analysis of W3C Text Layout RequirementsComparative Analysis of W3C Text Layout Requirements
Comparative Analysis of W3C Text Layout Requirements
 
Seven components of content strategy global swisher
Seven components of content strategy global swisherSeven components of content strategy global swisher
Seven components of content strategy global swisher
 
Technical_translation_is_it_really_about_terminology_en
Technical_translation_is_it_really_about_terminology_enTechnical_translation_is_it_really_about_terminology_en
Technical_translation_is_it_really_about_terminology_en
 
The Seven Components of a Global Content Strategy
The Seven Components of a Global Content StrategyThe Seven Components of a Global Content Strategy
The Seven Components of a Global Content Strategy
 
TCUK 2012, Tony Self, DITA Style Guide
TCUK 2012, Tony Self, DITA Style GuideTCUK 2012, Tony Self, DITA Style Guide
TCUK 2012, Tony Self, DITA Style Guide
 
Produce reliable content_v5
Produce reliable content_v5Produce reliable content_v5
Produce reliable content_v5
 
Communication Skills Lectures # 4.pptx
Communication Skills Lectures # 4.pptxCommunication Skills Lectures # 4.pptx
Communication Skills Lectures # 4.pptx
 
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
 
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 ...
 
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
 
Technical Editing for Beginners Final
Technical Editing for Beginners FinalTechnical Editing for Beginners Final
Technical Editing for Beginners Final
 
One Tool to Help Them All - Leigh White
One Tool to Help Them All -  Leigh WhiteOne Tool to Help Them All -  Leigh White
One Tool to Help Them All - Leigh White
 
Fhbib Chronology2
Fhbib Chronology2Fhbib Chronology2
Fhbib Chronology2
 
Tata kelola jurnal menuju akreditasi sinta 2
Tata kelola jurnal menuju akreditasi  sinta 2 Tata kelola jurnal menuju akreditasi  sinta 2
Tata kelola jurnal menuju akreditasi sinta 2
 

More from Contrext Solutions

More from Contrext Solutions (20)

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
 
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
 
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)
 
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
 
RELAX NG to DTD and XSD Using the Open Toolkit
RELAX NG to DTD and XSD Using the Open ToolkitRELAX NG to DTD and XSD Using the Open Toolkit
RELAX NG to DTD and XSD Using the Open Toolkit
 

Recently uploaded

Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
mbmh111980
 

Recently uploaded (20)

Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 

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