Glossary items
Capture a glossary item in a def-item element within a def-list element.
Capture each glossary term and its definition as a pair of term and def elements within the def-item element.
Give each term element an id attribute.
Glossary item in a box
Capture an instance of the glossary term in the text (as indicated with a typecode) in a xref element with attribute ref-type="glossary-term".
See also Boxed text.
<p>...according to the local <xref rid="workid-UKRAI10JL5MB-book-part-1-term-1" ref-type="glossary-term">bylaws</xref>.</p>
<boxed-text content-type="definition">
<def-list>
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-1">bylaws</term>
<def>
<p>laws that relate to the local area authority only</p>
</def>
</def-item>
</def-list>
</boxed-text>
Glossary or abbreviations list
The def-list element contains multiple items.
<book-part book-part-type="glossary" id="isbn-9780190058319-book-part-27">
<book-part-meta>
<book-part-id book-part-id-type="doi">10.1093/9780190058319.003.0027</book-part-id>
<title-group id="isbn-9780190058319-book-part-27-title-group-1">
<title>Glossary</title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Shafer-Landau</surname>
<given-names>Russ</given-names>
</name>
</contrib>
</contrib-group>
</book-part-meta>
<body>
<def-list>
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-1">HBV</term>
<def>
<p>Hepatitis B virus</p>
</def>
</def-item>
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-2">HCC</term>
<def>
<p>hepatocellular carcinoma</p>
</def>
</def-item>
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-3">AFB</term>
<def>
<p>aflatoxin B<sub>1</sub></p>
</def>
</def-item>
</def-list>
</body>
</book-part>
Glossary with alphabetical markup
Capture a def-list element for each letter of the alphabet, and use the title element to capture the initial letter of the corresponding terms. Include an entry also for each alphabetical def-list element without terms.
<book-part book-part-type="glossary" id="isbn-9780197585283-book-part-25">
<book-part-meta>
<book-part-id book-part-id-type="doi">10.1093/hesc/9780197585283.003.0024</book-part-id>
<title-group id="isbn-9780197585283-book-part-25-title-group-1">
<title><target id="isbn-9780197585283-book-part-25-target-535" target-type="page">G-1</target>
Glossary
</title>
</title-group>
<body>
<def-list>
<title>P</title>
<def-item><term id="isbn-9780197585283-book-part-25-term-252">panic disorder:</term>
<def>
<p>An anxiety disorder characterized by sudden attacks of intense fear and anxiety
associated with severe physical symptoms, even when there is no real dangerous or
apparent cause.</p></def></def-item>
</def-list>
<def-list>
<title>Q</title>
</def-list>
</body>
</book-part>
Illustrated glossary
In this example from a book for children learning English, the definitions contain or consist entirely of images.
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-4">fork</term>
<def>
<p>
<graphic mimetype="image" xlink:href="workid-UKRAI10JL5MB-book-part-1-graphic-4.jpg">
<alt-text>An illustration of a fork used for eating</alt-text>
</graphic>
</p>
</def>
</def-item>
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-5">found</term>
<def>
<p>past tense of <bold>find</bold></p>
<p>
<graphic mimetype="image" xlink:href="workid-UKRAI10JL5MB-book-part-1-graphic-5.jpg">
<alt-text>An illustration of a girl looking at something she has just found</alt-text>
</graphic>
</p>
</def>
</def-item>
<def-item>
<term id="workid-UKRAI10JL5MB-book-part-1-term-6">grass</term>
<def>
<p>
<graphic mimetype="image" xlink:href="workid-UKRAI10JL5MB-book-part-1-graphic-6.jpg">
<alt-text>An illustration of a grassy meadow under blue sky</alt-text>
</graphic>
</p>
</def>
</def-item>