| 1 |
<refentry id="glossterm.element"> |
| 2 |
<?dbhtml filename="glossterm.html"?> |
| 3 |
<refentryinfo> |
| 4 |
<pubdate>$Date$</pubdate> |
| 5 |
<releaseinfo>$Revision$</releaseinfo> |
| 6 |
</refentryinfo> |
| 7 |
|
| 8 |
<refmeta> |
| 9 |
<indexterm><primary>elements</primary> |
| 10 |
<secondary>glossterm</secondary></indexterm> |
| 11 |
<refentrytitle>glossterm</refentrytitle> |
| 12 |
<refmiscinfo>Element</refmiscinfo> |
| 13 |
</refmeta> |
| 14 |
<refnamediv> |
| 15 |
<refname>glossterm</refname> |
| 16 |
<refpurpose>&glossterm.purpose;</refpurpose> |
| 17 |
</refnamediv> |
| 18 |
|
| 19 |
&glossterm.synopsis.gen; |
| 20 |
<refsect1 condition='ref.description'><title>Description</title> |
| 21 |
|
| 22 |
<para> |
| 23 |
<sgmltag>GlossTerm</sgmltag> identifies a term that appears in a |
| 24 |
<sgmltag>Glossary</sgmltag> or <sgmltag>GlossList</sgmltag>. This element |
| 25 |
occurs in two very different places: it is both an inline, and a |
| 26 |
structure element of a <sgmltag>GlossEntry</sgmltag>. As an inline, it |
| 27 |
identifies a term defined in a glossary, and may point to it. |
| 28 |
Within a <sgmltag>GlossEntry</sgmltag>, it identifies the term defined |
| 29 |
by that particular entry. |
| 30 |
</para> |
| 31 |
|
| 32 |
<refsect2><title>Processing expectations</title> |
| 33 |
<para> |
| 34 |
As an inline, <sgmltag>GlossTerm</sgmltag>s frequently get special typographic |
| 35 |
treatment, such as italics. In an online environment, they may also |
| 36 |
form a link (explicitly or implicitly) to the corresponding definition |
| 37 |
in a glossary. |
| 38 |
</para> |
| 39 |
|
| 40 |
<para> |
| 41 |
<sgmltag>GlossTerm</sgmltag>s must not be nested within other |
| 42 |
<sgmltag>GlossTerm</sgmltag>s. Because DocBook is harmonizing towards |
| 43 |
&XML;, this restriction is difficult to enforce with the |
| 44 |
&DTD;. The processing of nested <sgmltag>GlossTerm</sgmltag>s is |
| 45 |
undefined. |
| 46 |
</para> |
| 47 |
|
| 48 |
<para> |
| 49 |
As part of a <sgmltag>GlossEntry</sgmltag>, <sgmltag>GlossTerm</sgmltag>s are usually |
| 50 |
set as block and separated from the definition. |
| 51 |
</para> |
| 52 |
|
| 53 |
</refsect2> |
| 54 |
|
| 55 |
<refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 56 |
<para> |
| 57 |
|
| 58 |
&fu.interfacedefinition; |
| 59 |
</para> |
| 60 |
</refsect2> |
| 61 |
|
| 62 |
<refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 63 |
<para><indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V5.0</acronym></secondary> |
| 64 |
</indexterm><sgmltag>RevHistory</sgmltag> will be removed.</para> |
| 65 |
</refsect2> |
| 66 |
|
| 67 |
&glossterm.parents.gen; |
| 68 |
&glossterm.children.gen; |
| 69 |
</refsect1> |
| 70 |
<refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 71 |
<variablelist> |
| 72 |
<varlistentry><term>baseform</term> |
| 73 |
<listitem> |
| 74 |
<para> |
| 75 |
<sgmltag class="attribute">BaseForm</sgmltag>, if specified, contains the |
| 76 |
root form of the word identified as a <sgmltag>GlossTerm</sgmltag>. If unspecified, |
| 77 |
the content of <sgmltag>GlossTerm</sgmltag> element should be used. |
| 78 |
<sgmltag class="attribute">BaseForm</sgmltag> allows sorting, collating, and indexing |
| 79 |
to work properly even when different parts of speech are identifed as |
| 80 |
<sgmltag>GlossTerm</sgmltag>s. For example, <literal><![CDATA[ |
| 81 |
<glossterm>sort</glossterm> |
| 82 |
]]></literal> and <literal><![CDATA[ |
| 83 |
<glossterm baseform="sort">sorting</glossterm> |
| 84 |
]]></literal>. |
| 85 |
</para> |
| 86 |
</listitem> |
| 87 |
</varlistentry> |
| 88 |
<varlistentry><term>linkend</term> |
| 89 |
<listitem> |
| 90 |
<para> |
| 91 |
<sgmltag class="attribute">Linkend</sgmltag> points to a related element, |
| 92 |
generally the <sgmltag>GlossEntry</sgmltag> that defines it. |
| 93 |
</para> |
| 94 |
</listitem> |
| 95 |
</varlistentry> |
| 96 |
</variablelist> |
| 97 |
</refsect1> |
| 98 |
<refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 99 |
&glossterm.seealso.gen; |
| 100 |
</refsect1> |
| 101 |
<refsect1><title>Examples</title> |
| 102 |
|
| 103 |
&glossterm.example.seealso.gen; |
| 104 |
</refsect1> |
| 105 |
</refentry> |
| 106 |
|