texlive[45682] Master/texmf-dist: glossaries-extra (3nov17)
commits+karl at tug.org
commits+karl at tug.org
Fri Nov 3 22:38:07 CET 2017
Revision: 45682
http://tug.org/svn/texlive?view=revision&revision=45682
Author: karl
Date: 2017-11-03 22:38:07 +0100 (Fri, 03 Nov 2017)
Log Message:
-----------
glossaries-extra (3nov17)
Modified Paths:
--------------
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym-desc.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronyms-lang.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-brief.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-childnoname.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-cite.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-images.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-long.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-multipar.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-parent.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-symbols.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-url.bib
trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-xr.bib
trunk/Master/texmf-dist/doc/latex/glossaries-extra/CHANGES
trunk/Master/texmf-dist/doc/latex/glossaries-extra/README
trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-code.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-manual.html
trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-manual.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-manual.tex
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbr-styles.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbr-styles.tex
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-accsupp.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-acronym-desc.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-acronym.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-alias.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-altmodifier.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-alttree-marginpar.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-alttree-sym.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-alttree.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-autoindex-hyp.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-autoindex.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-crossref.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-crossref2.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-docdef.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-entrycount.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-external.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-fmt.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-footnote.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-header.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-indexhook.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-initialisms.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixedsort.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixture.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-name-font.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-nested.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-noidx-restricteddocdefs.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-onelink.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-onthefly-utf8.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-onthefly-xetex.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-onthefly.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-pages.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-postdot.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-postlink.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-prefix.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.glstex
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-restricteddocdefs.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-hyp.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-trans.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-undef.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample-unitentrycount.pdf
trunk/Master/texmf-dist/doc/latex/glossaries-extra/sample.pdf
trunk/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
trunk/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins
trunk/Master/texmf-dist/tex/latex/glossaries-extra/example-glossaries-xr.tex
trunk/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra-stylemods.sty
trunk/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra.sty
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/glossaries-extra/glossary-bookindex.sty
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym-desc.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym-desc.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym-desc.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@acronym{ndl,
description = {fringilla a, euismod sodales,
sollicitudin vel, wisi},
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronym.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@acronym{lid,
short = {LID},
long = {lorem ipsum dolor}
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronyms-lang.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronyms-lang.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-acronyms-lang.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@acronym{li,
user1 = {love itself},
short = {LI},
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-brief.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-brief.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-brief.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{lorem,
name = {lorem},
description = {ipsum}
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-childnoname.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-childnoname.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-childnoname.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{scelerisque,
name = {scelerisque},
description = {at}
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-cite.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-cite.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-cite.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{fusce,
user1 = {article-minimal},
name = {fusce},
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-images.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-images.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-images.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{sedfeugiat,
user1 = {example-image},
name = {sed feugiat},
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-long.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-long.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-long.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{loremipsum,
name = {lorem ipsum},
description = {dolor sit amet, consectetuer adipiscing elit. Ut purus
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-multipar.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-multipar.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-multipar.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{loremi-ii,
name = {lorem 1--2},
description = {Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-parent.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-parent.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-parent.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,8 +1,37 @@
+% Encoding: UTF-8
@entry{sedmattis,
name = {sed mattis},
description = {erat sit amet}
}
+ at entry{nunc,
+ name = {nunc},
+ description = {nisl vitae}
+}
+
+ at entry{nonconvallis,
+ name = {non
+convallis},
+ description = {lectus orci ut nibh}
+}
+
+ at entry{condimentum,
+ name = {condimentum},
+ description = {at
+nisl}
+}
+
+ at entry{aliquamet,
+ name = {aliquam et},
+ description = {augue}
+}
+
+ at entry{rutrum,
+ name = {rutrum},
+ description = {id, enim}
+}
+
+
@entry{gravida,
parent = {sedmattis},
name = {gravida},
@@ -21,11 +50,6 @@
description = {scelerisque}
}
- at entry{nunc,
- name = {nunc},
- description = {nisl vitae}
-}
-
@entry{libero,
parent = {nunc},
name = {libero},
@@ -52,12 +76,6 @@
description = {leo rutrum dui}
}
- at entry{nonconvallis,
- name = {non
-convallis},
- description = {lectus orci ut nibh}
-}
-
@entry{sedlorem,
parent = {nonconvallis},
name = {sedlorem},
@@ -71,12 +89,6 @@
description = {egestas id}
}
- at entry{condimentum,
- name = {condimentum},
- description = {at
-nisl}
-}
-
@entry{maecenas,
parent = {condimentum},
name = {maecenas},
@@ -83,11 +95,6 @@
description = {at nibh}
}
- at entry{aliquamet,
- name = {aliquam et},
- description = {augue}
-}
-
@entry{atnunc,
parent = {aliquamet},
name = {at nunc},
@@ -95,6 +102,19 @@
ullamcorper}
}
+ at entry{phasellus,
+ parent = {rutrum},
+ name = {phasellus},
+ description = {odio}
+}
+
+ at entry{nullanulla,
+ parent = {rutrum},
+ name = {nulla nulla},
+ description = {elit, molestie non}
+}
+
+
@entry{duisnisl,
parent = {atnunc},
name = {duisnisl},
@@ -108,20 +128,3 @@
description = {convallis ut}
}
- at entry{rutrum,
- name = {rutrum},
- description = {id, enim}
-}
-
- at entry{phasellus,
- parent = {rutrum},
- name = {phasellus},
- description = {odio}
-}
-
- at entry{nullanulla,
- parent = {rutrum},
- name = {nulla nulla},
- description = {elit, molestie non}
-}
-
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-symbols.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-symbols.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-symbols.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{alpha,
symbol = {\ensuremath{\alpha}},
name = {alpha},
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-url.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-url.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-url.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{aenean-url,
user1 = {http://uk.tug.org/},
name = {aenean},
Modified: trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-xr.bib
===================================================================
--- trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-xr.bib 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/bibtex/bib/glossaries-extra/example-glossaries-xr.bib 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,4 @@
+% Encoding: UTF-8
@entry{lorem,
name = {lorem},
description = {ipsum}
Modified: trunk/Master/texmf-dist/doc/latex/glossaries-extra/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/glossaries-extra/CHANGES 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/doc/latex/glossaries-extra/CHANGES 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,3 +1,87 @@
+1.21 (2017-11-03):
+
+ * glossaries-extra.sty:
+
+ - fixed shortcuts=ac and shortcuts=none settings
+
+ - new package option postpunc
+
+ - added extra debug settings (debug=showwrgloss and debug=all)
+
+ - modified \glsseeitemformat
+
+ - new commands: \glsuseabbrvfont and \glsuselongfont
+
+ - new commands: \ifglsxtr at hyperoutside and
+ \glsxtrinithyperoutside and associated key hyperoutside
+ and category attribute hyperoutside.
+
+ - new attribute textformat
+
+ - patched \glsnavhyperlink
+
+ - \glsenablehyper and \glsdisablehyper now use \def rather
+ than \let to allow for redefinitions of \glsdohyperlink etc
+
+ - added \@glsxtr at checkgroup (letter group check is now
+ in \@print at unsrt@glossary during the construction of
+ \@glsxtr at doglossary to avoid complications caused
+ by the tabular-like styles)
+
+ - added \glshex, \glsxtrresourceinit
+
+ - added \GlsXtrTotalRecordCount, \GlsXtrRecordCount,
+ \GlsXtrLocationRecordCount, \glsxtrdetoklocation,
+ \glsxtrenablerecordcount, \glsxtrrecordtriggervalue,
+ \GlsXtrSetRecordCountAttribute, \glsxtrifrecordtrigger
+
+ - added \rgls, \rglspl, \rGls, \rGlspl, \rGLS, \rGLSpl,
+ \rglsformat, \rglsplformat, \rGlsformat, \rGlsplformat,
+ \rGLSformat, \rGLSplformat
+
+ - added \glsxtrnewgls, \glsxtrnewglslike, \glsxtrnewrgls,
+ \glsxtrnewrglslike
+
+ - added \printunsrtglossaryentryprocesshook,
+ \printunsrtglossaryskipentry,
+ \printunsrtglossarypredoglossary,
+ \glsxtriflabelinlist
+
+ - added \GlsXtrIfFieldEqStr
+
+ - new abbreviation styles: nolong-short, nolong-short-noreg,
+ nolong-short-sm, nolong-short-sc
+
+ * glossary-bookindex.sty: new
+
+ * glossaries-extra-stylemods.sty:
+
+ - added package option "all"
+
+ - added \glsxtrprelocation
+
+ - added \glstreeprelocation and \glstreechildprelocation
+
+ - added \glslistprelocation, \glslistchildprelocation,
+ and \glslistchildpostlocation
+
+ - patched indexgroup, indexhypergroup, treegroup,
+ treehypergroup, treenonamegroup, treenonamehypergroup,
+ alttreegroup, alttreehypergroup, mcolindexgroup,
+ mcolindexhypergroup, mcolindexspannav, mcoltreegroup,
+ mcoltreehypergroup, mcoltreespannav, mcoltreenonamegroup,
+ mcoltreenonamehypergroup, mcoltreenonamespannav,
+ mcolalttreegroup, mcolalttreehypergroup, mcolalttreespannav,
+ listgroup, listhypergroup, altlistgroup, altlisthypergroup
+ styles to discourage page breaks after
+ letter group headings.
+
+ - added \gglssetwidest
+
+ - ensured that all tabular-like styles have the
+ \ifglsnogroupskip moved outside of the definition
+ of \glsgroupskip
+
1.20 (2017-09-11):
* New 'printgloss' key targetnameprefix
Modified: trunk/Master/texmf-dist/doc/latex/glossaries-extra/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/glossaries-extra/README 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/doc/latex/glossaries-extra/README 2017-11-03 21:38:07 UTC (rev 45682)
@@ -1,6 +1,6 @@
-LaTeX Package : glossaries-extra v1.20
+LaTeX Package : glossaries-extra v1.21
-Last Modified : 2017-09-11
+Last Modified : 2017-11-03
Author : Nicola Talbot
Modified: trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-code.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-manual.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-manual.html 2017-11-03 21:37:43 UTC (rev 45681)
+++ trunk/Master/texmf-dist/doc/latex/glossaries-extra/glossaries-extra-manual.html 2017-11-03 21:38:07 UTC (rev 45682)
@@ -202,13 +202,13 @@
</style>
</head><body
>
-<!--l. 215--><p class="noindent" ><a
+<!--l. 220--><p class="noindent" ><a
id="top"></a>
-</p><!--l. 215--><p class="indent" >
+</p><!--l. 220--><p class="indent" >
-</p><!--l. 215--><p class="indent" >
+</p><!--l. 220--><p class="indent" >
@@ -215,9 +215,9 @@
</p>
<div class="center"
>
-<!--l. 215--><p class="noindent" >
-</p><!--l. 215--><p class="noindent" ><span
-class="cmr-17">glossaries-extra.sty v1.20: an extension to the</span>
+<!--l. 220--><p class="noindent" >
+</p><!--l. 220--><p class="noindent" ><span
+class="cmr-17">glossaries-extra.sty v1.21: an extension to the</span>
<span
class="cmr-17">glossaries package</span>
</p>
@@ -240,12 +240,12 @@
href="http://www.dickimaw-books.com/" class="url" ><span
class="cmtt-12">http://www.dickimaw-books.com/</span></a></td></tr></table>
</div>
-<!--l. 215--><p class="noindent" ><span
-class="cmr-12">2017-09-11</span></p></div>
+<!--l. 220--><p class="noindent" ><span
+class="cmr-12">2017-11-03</span></p></div>
<div
class="abstract"
>
-<!--l. 217--><p class="indent" >
+<!--l. 222--><p class="indent" >
@@ -252,10 +252,10 @@
</p>
<div class="center"
>
-<!--l. 217--><p class="noindent" >
-</p><!--l. 217--><p class="noindent" ><span
+<!--l. 222--><p class="noindent" >
+</p><!--l. 222--><p class="noindent" ><span
class="cmbx-10">Abstract</span></p></div>
-<!--l. 218--><p class="noindent" >The <span
+<!--l. 223--><p class="noindent" >The <span
class="cmss-10">glossaries-extra </span>package is an extension to the <span
class="cmss-10">glossaries </span>package, providing
additional features. Some of the features provided by this package are only available
@@ -263,7 +263,7 @@
class="cmss-10">glossaries </span>version 4.19 (or above). This document assumes familiarity with the
<span
class="cmss-10">glossaries </span>package.
-</p><!--l. 224--><p class="indent" > The file <span
+</p><!--l. 229--><p class="indent" > The file <span
class="cmtt-10">example-glossaries-xr.tex </span>contains dummy entries with cross-references
that may be used for creating minimal working examples for testing the
<span
@@ -282,7 +282,7 @@
</p>
</div>
-<!--l. 233--><p class="indent" > <div class="important" title="Important Note"> Since <span
+<!--l. 238--><p class="indent" > <div class="important" title="Important Note"> Since <span
class="cmss-10">glossaries-extra </span>internally loads the <span
class="cmss-10">glossaries </span>package, you also need to have
<span
@@ -317,8 +317,8 @@
href="http://tex.stackexchange.com/questions/14925/updating-tex-on-linux" >Updating <span class="TEX">T<span
class="E">E</span>X</span> on Linux</a>.)
</div>
-</p><!--l. 248--><p class="noindent" >
-</p><!--l. 250--><p class="indent" > Additional resources: </p>
+</p><!--l. 253--><p class="noindent" >
+</p><!--l. 255--><p class="indent" > Additional resources: </p>
<ul class="itemize1">
<li class="itemize">The <span
class="cmss-10">glossaries-extra </span>documented code <a
@@ -362,63 +362,76 @@
<br />  <span class="sectionToc" >2.7 <a
href="#sec:acronymmods" id="QQ2-1-12">Acronym Style Modifications</a></span>
<br />  <span class="sectionToc" >2.8 <a
-href="#sec:glosstylemods" id="QQ2-1-14">Glossary Style Modifications</a></span>
-<br />   <span class="subsectionToc" >2.8.1 <a
-href="#sec:stylehooks" id="QQ2-1-15">Style Hooks</a></span>
-<br />   <span class="subsectionToc" >2.8.2 <a
-href="#sec:glosstylenumlist" id="QQ2-1-16">Number List</a></span>
-<br />   <span class="subsectionToc" >2.8.3 <a
-href="#x1-160002.8.3" id="QQ2-1-17">The <span
+href="#x1-130002.8" id="QQ2-1-14"><span
+class="cmss-10">glossary-bookindex </span>package</a></span>
+<br />  <span class="sectionToc" >2.9 <a
+href="#sec:glosstylemods" id="QQ2-1-15">Glossary Style Modifications</a></span>
+<br />   <span class="subsectionToc" >2.9.1 <a
+href="#sec:stylehooks" id="QQ2-1-16">Style Hooks</a></span>
+<br />   <span class="subsectionToc" >2.9.2 <a
+href="#sec:glosstylenumlist" id="QQ2-1-17">Number List</a></span>
+<br />   <span class="subsectionToc" >2.9.3 <a
+href="#x1-170002.9.3" id="QQ2-1-18">The <span
class="cmss-10">glossaries-extra-stylemods </span>Package</a></span>
<br /> <span class="chapterToc" >3 <a
-href="#sec:abbreviations" id="QQ2-1-18">Abbreviations</a></span>
+href="#sec:abbreviations" id="QQ2-1-19">Abbreviations</a></span>
<br />  <span class="sectionToc" >3.1 <a
-href="#sec:tagging" id="QQ2-1-19">Tagging Initials</a></span>
+href="#sec:tagging" id="QQ2-1-20">Tagging Initials</a></span>
<br />  <span class="sectionToc" >3.2 <a
-href="#sec:abbrstyle" id="QQ2-1-20">Abbreviation Styles</a></span>
+href="#sec:abbrstyle" id="QQ2-1-21">Abbreviation Styles</a></span>
<br />  <span class="sectionToc" >3.3 <a
-href="#sec:abbrshortcuts" id="QQ2-1-21">Shortcut Commands</a></span>
+href="#sec:abbrshortcuts" id="QQ2-1-22">Shortcut Commands</a></span>
<br />  <span class="sectionToc" >3.4 <a
-href="#sec:predefabbrvstyles" id="QQ2-1-23">Predefined Abbreviation Styles</a></span>
+href="#sec:predefabbrvstyles" id="QQ2-1-24">Predefined Abbreviation Styles</a></span>
<br />   <span class="subsectionToc" >3.4.1 <a
-href="#sec:predefregabbrvstyles" id="QQ2-1-24">Predefined Abbreviation Styles that Set the Regular Attribute</a></span>
+href="#sec:predefregabbrvstyles" id="QQ2-1-25">Predefined Abbreviation Styles that Set the Regular Attribute</a></span>
<br />   <span class="subsectionToc" >3.4.2 <a
-href="#sec:predefnonregabbrvstyles" id="QQ2-1-25">Predefined Abbreviation Styles that Don’t Set the Regular Attribute</a></span>
+href="#sec:predefnonregabbrvstyles" id="QQ2-1-26">Predefined Abbreviation Styles that Don’t Set the Regular Attribute</a></span>
<br />  <span class="sectionToc" >3.5 <a
-href="#sec:newabbrvstyle" id="QQ2-1-26">Defining New Abbreviation Styles</a></span>
+href="#sec:newabbrvstyle" id="QQ2-1-27">Defining New Abbreviation Styles</a></span>
<br /> <span class="chapterToc" >4 <a
-href="#sec:headtitle" id="QQ2-1-27">Entries in Sectioning Titles, Headers, Captions and Contents</a></span>
+href="#sec:headtitle" id="QQ2-1-28">Entries in Sectioning Titles, Headers, Captions and Contents</a></span>
<br /> <span class="chapterToc" >5 <a
-href="#sec:categories" id="QQ2-1-28">Categories</a></span>
+href="#sec:categories" id="QQ2-1-29">Categories</a></span>
<br /> <span class="chapterToc" >6 <a
-href="#sec:entrycount" id="QQ2-1-29">Entry Counting</a></span>
+href="#sec:entrycount" id="QQ2-1-30">Entry Counting</a></span>
<br /> <span class="chapterToc" >7 <a
-href="#sec:autoindex" id="QQ2-1-30">Auto-Indexing</a></span>
+href="#sec:autoindex" id="QQ2-1-31">Auto-Indexing</a></span>
<br /> <span class="chapterToc" >8 <a
-href="#sec:onthefly" id="QQ2-1-31">On-the-Fly Document Definitions</a></span>
+href="#sec:onthefly" id="QQ2-1-32">On-the-Fly Document Definitions</a></span>
<br /> <span class="chapterToc" >9 <a
-href="#sec:bib2gls" id="QQ2-1-32">bib2gls: Managing Reference Databases</a></span>
+href="#sec:bib2gls" id="QQ2-1-33">bib2gls: Managing Reference Databases</a></span>
+<br />  <span class="sectionToc" >9.1 <a
+href="#selection" id="QQ2-1-34">Selection</a></span>
+<br />  <span class="sectionToc" >9.2 <a
+href="#sortinganddisplayingtheglossary" id="QQ2-1-35">Sorting and Displaying the Glossary</a></span>
+<br />  <span class="sectionToc" >9.3 <a
+href="#supplementarycommands" id="QQ2-1-36">Supplementary Commands</a></span>
+<br />  <span class="sectionToc" >9.4 <a
+href="#recordcounting" id="QQ2-1-37">Record Counting</a></span>
<br /> <span class="chapterToc" >10 <a
-href="#sec:miscnew" id="QQ2-1-33">Miscellaneous New Commands</a></span>
+href="#sec:miscnew" id="QQ2-1-38">Miscellaneous New Commands</a></span>
+
+
+
<br />  <span class="sectionToc" >10.1 <a
-href="#sec:fields" id="QQ2-1-34">Entry Fields</a></span>
+href="#sec:fields" id="QQ2-1-39">Entry Fields</a></span>
<br />  <span class="sectionToc" >10.2 <a
-href="#sec:printunsrt" id="QQ2-1-35">Display All Entries Without Sorting or Indexing</a></span>
+href="#sec:printunsrt" id="QQ2-1-40">Display All Entries Without Sorting or Indexing</a></span>
<br />  <span class="sectionToc" >10.3 <a
-href="#sec:alias" id="QQ2-1-36">Entry Aliases</a></span>
+href="#sec:glossentry" id="QQ2-1-41">Standalone Definitions</a></span>
+<br />  <span class="sectionToc" >10.4 <a
+href="#sec:alias" id="QQ2-1-42">Entry Aliases</a></span>
<br /> <span class="chapterToc" >11 <a
-href="#sec:supplemental" id="QQ2-1-37">Supplemental Packages</a></span>
+href="#sec:supplemental" id="QQ2-1-43">Supplemental Packages</a></span>
<br />  <span class="sectionToc" >11.1 <a
-href="#sec:prefix" id="QQ2-1-38">Prefixes or Determiners</a></span>
-
-
-
+href="#sec:prefix" id="QQ2-1-44">Prefixes or Determiners</a></span>
<br />  <span class="sectionToc" >11.2 <a
-href="#sec:accsupp" id="QQ2-1-39">Accessibility Support</a></span>
+href="#sec:accsupp" id="QQ2-1-45">Accessibility Support</a></span>
<br /> <span class="chapterToc" >12 <a
-href="#sec:samples" id="QQ2-1-40">Sample Files</a></span>
+href="#sec:samples" id="QQ2-1-46">Sample Files</a></span>
<br /> <span class="chapterToc" >13 <a
-href="#sec:lang" id="QQ2-1-41">Multi-Lingual Support</a></span>
+href="#sec:lang" id="QQ2-1-47">Multi-Lingual Support</a></span>
<br /> <span class="chapterToc" > <a
href="#glossary">Glossary</a></span>
</div>
@@ -425,15 +438,15 @@
-<!--l. 267--><p class="indent" > <div class="chapter"><h2 class="chapterHead">1. <a
+<!--l. 272--><p class="indent" > <div class="chapter"><h2 class="chapterHead">1. <a
id="sec:intro"></a>Introduction</h2>
-</p><!--l. 270--><p class="indent" > The <span
+</p><!--l. 275--><p class="indent" > The <span
class="cmss-10">glossaries </span>package is a flexible package, but it’s also a heavy-weight package
that uses a lot of resources. As package developer, I’m caught between those users
who complain about the drawbacks of a heavy-weight package with a large user
manual and those users who want more features (which necessarily adds to the
package weight and manual size).
-</p><!--l. 277--><p class="indent" > The <span
+</p><!--l. 282--><p class="indent" > The <span
class="cmss-10">glossaries-extra </span>package is an attempt to provide a compromise for this
conflict. Version 4.22 of the <span
class="cmss-10">glossaries </span>package is the last version to incorporate new
@@ -449,10 +462,10 @@
extra features available will have more of a chance of getting their feature requests
accepted.
</p>
-<!--l. 291--><p class="noindent" ><a
+<!--l. 296--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">1.1 </span> <a
id="sec:defaults"></a>Package Defaults</h3>
-<!--l. 294--><p class="noindent" >I’m not happy with some of the default settings assumed by the <span
+<!--l. 299--><p class="noindent" >I’m not happy with some of the default settings assumed by the <span
class="cmss-10">glossaries </span>package,
and, judging from code I’ve seen, other users also seem unhappy with them, as
certain package options are often used in questions posted on various sites. I can’t
@@ -462,20 +475,28 @@
class="cmss-10">glossaries-extra </span>is a separate package, I have decided to implement some of
these commonly-used options by default. You can switch them back if they’re not
appropriate.
-</p><!--l. 304--><p class="indent" > The new defaults are: </p>
+</p><!--l. 309--><p class="indent" > The new defaults are: </p>
<ul class="itemize1">
- <li class="itemize"><span
-class="cmss-10">toc=true</span><a
- id="dx1-3001"></a> (add the glossaries to the table of contents). Use <span
-class="cmss-10">toc=false</span><a
+ <li class="itemize"><a
+href="#styopt.toc"><span
+class="cmss-10">toc</span></a><span
+class="cmss-10">=true</span><a
+ id="dx1-3001"></a> (add the glossaries to the table of contents). Use <a
+href="#styopt.toc"><span
+class="cmss-10">toc</span></a><span
+class="cmss-10">=false</span><a
id="dx1-3002"></a> to
switch this back off.
</li>
- <li class="itemize"><span
-class="cmss-10">nopostdot=true</span><a
+ <li class="itemize"><a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><span
+class="cmss-10">=true</span><a
id="dx1-3003"></a> (suppress the terminating full stop after the description
- in the glossary). Use <span
-class="cmss-10">nopostdot=false</span><a
+ in the glossary). Use <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><span
+class="cmss-10">=false</span><a
id="dx1-3004"></a> or just <a
href="#styopt.postdot"><span
class="cmss-10">postdot</span></a><a
@@ -482,8 +503,10 @@
id="dx1-3005"></a> to restore the
terminating full stop (period).
</li>
- <li class="itemize"><span
-class="cmss-10">noredefwarn=true</span><a
+ <li class="itemize"><a
+href="#styopt.noredefwarn"><span
+class="cmss-10">noredefwarn</span></a><span
+class="cmss-10">=true</span><a
id="dx1-3006"></a> (suppress the warnings that occur when the <span
class="cmss-10">theglossary</span><a
id="dx1-3007"></a><a
@@ -491,8 +514,10 @@
environment and <span
class="cmtt-10">\printglossary </span>are redefined while <span
class="cmss-10">glossaries </span>is
- loading). To restore the warnings, use <span
-class="cmss-10">noredefwarn=false</span><a
+ loading). To restore the warnings, use <a
+href="#styopt.noredefwarn"><span
+class="cmss-10">noredefwarn</span></a><span
+class="cmss-10">=false</span><a
id="dx1-3009"></a>. Note that this
won’t have any effect if the <span
class="cmss-10">glossaries </span>package has already been loaded
@@ -501,13 +526,17 @@
</li>
<li class="itemize">If <span
class="cmss-10">babel</span><a
- id="dx1-3010"></a> has been loaded, the <span
-class="cmss-10">translate=babel</span><a
+ id="dx1-3010"></a> has been loaded, the <a
+href="#styopt.translate"><span
+class="cmss-10">translate</span></a><span
+class="cmss-10">=babel</span><a
id="dx1-3011"></a> option is switched on. To
revert to using the <span
class="cmss-10">translator</span><a
- id="dx1-3012"></a> interface, use <span
-class="cmss-10">translate=true</span><a
+ id="dx1-3012"></a> interface, use <a
+href="#styopt.translate"><span
+class="cmss-10">translate</span></a><span
+class="cmss-10">=true</span><a
id="dx1-3013"></a>. There is no
change to the default if <span
class="cmss-10">babel</span><a
@@ -516,7 +545,7 @@
-<!--l. 328--><p class="indent" > The examples below illustrate the difference in explicit package options between
+<!--l. 333--><p class="indent" > The examples below illustrate the difference in explicit package options between
<span
class="cmss-10">glossaries </span>and <span
class="cmss-10">glossaries-extra</span>. There may be other differences resulting from
@@ -526,7 +555,7 @@
class="cmsy-10">§</span>2 </a><a
href="#sec:modifications">Modifications to Existing
Commands and Styles<!--tex4ht:ref: sec:modifications --></a>).
-</p><!--l. 334--><p class="indent" >
+</p><!--l. 339--><p class="indent" >
</p><ol class="enumerate1" >
<li
class="enumerate" id="x1-3016x1">
@@ -537,7 +566,7 @@
\documentclass{article}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 339--><p class="nopar" > This is like:
+ <!--l. 344--><p class="nopar" > This is like:
@@ -547,7 +576,7 @@
 <br />\usepackage[toc,nopostdot]{glossaries}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 345--><p class="nopar" >
+ <!--l. 350--><p class="nopar" >
</p></li>
<li
class="enumerate" id="x1-3018x2">
@@ -559,7 +588,7 @@
 <br />\usepackage{babel}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 352--><p class="nopar" > This is like:
+ <!--l. 357--><p class="nopar" > This is like:
@@ -570,7 +599,7 @@
 <br />\usepackage[toc,nopostdot,translate=babel]{glossaries}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 359--><p class="nopar" >
+ <!--l. 364--><p class="nopar" >
</p></li>
<li
class="enumerate" id="x1-3020x3">
@@ -581,7 +610,7 @@
\documentclass{memoir}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 365--><p class="nopar" > This is like:
+ <!--l. 370--><p class="nopar" > This is like:
@@ -591,7 +620,7 @@
 <br />\usepackage[toc,nopostdot,noredefwarn]{glossaries}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 371--><p class="nopar" > <span
+ <!--l. 376--><p class="nopar" > <span
class="cmti-10">However</span>
@@ -602,7 +631,7 @@
 <br />\usepackage{glossaries}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 377--><p class="nopar" > This is like:
+ <!--l. 382--><p class="nopar" > This is like:
@@ -612,19 +641,19 @@
 <br />\usepackage[toc,nopostdot]{glossaries}
 <br />\usepackage{glossaries-extra}
</div>
- <!--l. 383--><p class="nopar" > Since by the time <span
+ <!--l. 388--><p class="nopar" > Since by the time <span
class="cmss-10">glossaries-extra </span>has been loaded, <span
class="cmss-10">glossaries </span>has already
redefined <span
class="cmss-10">memoir</span><a
id="dx1-3021"></a>’s glossary-related commands.</p></li></ol>
-<!--l. 389--><p class="indent" > Another noticeable change is that by default <span
+<!--l. 394--><p class="indent" > Another noticeable change is that by default <span
class="cmtt-10">\printglossary </span>will now display
information text in the document if the external glossary file doesn’t exist. This is
explanatory text to help new users who can’t work out what to do next to complete
the document build. Once the document is set up correctly and the external files have
been generated, this text will disappear.
-</p><!--l. 396--><p class="indent" > This change is mostly likely to be noticed by users with one or more
+</p><!--l. 401--><p class="indent" > This change is mostly likely to be noticed by users with one or more
redundant empty glossaries who ignore transcript messages, explicitly use
<a
id="dx1-3022"></a><a
@@ -654,7 +683,7 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 420--><p class="nopar" > The above document will only display the list of acronyms at the place where
+<!--l. 425--><p class="nopar" > The above document will only display the list of acronyms at the place where
<span
class="cmtt-10">\printglossaries</span><a
id="dx1-3026"></a> occurs. However it will also attempt to input the <span
@@ -661,7 +690,7 @@
class="cmtt-10">.gls </span>file
associated with the <span
class="cmtt-10">main </span>glossary.
-</p><!--l. 426--><p class="indent" > If you use <a
+</p><!--l. 431--><p class="indent" > If you use <a
id="dx1-3027"></a><a
href="#glo:makeglossaries"><span
class="cmtt-10">makeglossaries</span></a>, you’ll get the warning message:
@@ -675,7 +704,7 @@
 <br />Remember to use package option 'nomain' if you
 <br />don't want to use the main glossary.
</div>
-<!--l. 432--><p class="nopar" > (where the original file is called <span
+<!--l. 437--><p class="nopar" > (where the original file is called <span
class="cmtt-10">test.tex</span>) but if you simply call <a
id="dx1-3028"></a><a
href="#glo:makeindex"><span
@@ -691,7 +720,7 @@
<div class="verbatim" id="verbatim-11">
No file test.gls.
</div>
-<!--l. 439--><p class="nopar" > This doesn’t occur with <a
+<!--l. 444--><p class="nopar" > This doesn’t occur with <a
id="dx1-3029"></a><a
href="#glo:makeglossaries"><span
class="cmtt-10">makeglossaries</span></a> as it will create the <span
@@ -698,7 +727,7 @@
class="cmtt-10">.gls </span>file containing
the single command <span
class="cmtt-10">\null</span>.
-</p><!--l. 443--><p class="indent" > If you simply change from <span
+</p><!--l. 448--><p class="indent" > If you simply change from <span
class="cmss-10">glossaries </span>to <span
class="cmss-10">glossaries-extra </span>in this document, you’ll
find a change in the resulting PDF if you don’t use <a
@@ -709,12 +738,13 @@
id="dx1-3031"></a><a
href="#glo:makeindex"><span
class="cmtt-10">makeindex</span></a>.
-</p><!--l. 448--><p class="indent" > The transcript file will still contain the message about the missing <span
+</p><!--l. 453--><p class="indent" > The transcript file will still contain the message about the missing <span
class="cmtt-10">.gls</span>, but now
you’ll also see information in the actual PDF document. The simplest remedy is to
follow the advice inserted into the document at that point, which is to add the
-<span
-class="cmss-10">nomain</span><a
+<a
+href="#styopt.nomain"><span
+class="cmss-10">nomain</span></a><a
id="dx1-3032"></a> package option:
@@ -732,7 +762,7 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 472--><p class="nopar" > (Note the need to set the acronym style using <span
+<!--l. 477--><p class="nopar" > (Note the need to set the acronym style using <span
class="cmtt-10">\setabbreviationstyle </span>before
<span
class="cmtt-10">\newacronym</span>. See <a
@@ -739,12 +769,12 @@
href="#sec:abbreviations"><span
class="cmsy-10">§</span>3 </a><a
href="#sec:abbreviations">Abbreviations<!--tex4ht:ref: sec:abbreviations --></a> for further details.)
-</p><!--l. 477--><p class="noindent" >
+</p><!--l. 482--><p class="noindent" >
</p>
-<!--l. 477--><p class="noindent" ><a
+<!--l. 482--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">1.2 </span> <a
id="sec:pkgopts"></a>New or Modified Package Options</h3>
-<!--l. 480--><p class="noindent" >If you haven’t already loaded <span
+<!--l. 485--><p class="noindent" >If you haven’t already loaded <span
class="cmss-10">glossaries</span>, you can use any of the package options
provided by <span
class="cmss-10">glossaries </span>when you load <span
@@ -759,7 +789,7 @@
remember that not all of the <span
class="cmss-10">glossaries </span>package options may be used in that
command.
-</p><!--l. 488--><p class="indent" > <div class="important" title="Important Note"> This section only lists options that are either unrecognised by the <span
+</p><!--l. 493--><p class="indent" > <div class="important" title="Important Note"> This section only lists options that are either unrecognised by the <span
class="cmss-10">glossaries</span>
package or are a modified version of options of the same name provided by <span
class="cmss-10">glossaries</span>.
@@ -766,8 +796,8 @@
See the <span
class="cmss-10">glossaries </span>user manual for details about the unmodified options.
</div>
-</p><!--l. 494--><p class="noindent" >
-</p><!--l. 496--><p class="indent" > The new and modified options provided by <span
+</p><!--l. 499--><p class="noindent" >
+</p><!--l. 501--><p class="indent" > The new and modified options provided by <span
class="cmss-10">glossaries-extra </span>are described
below:
@@ -775,108 +805,339 @@
</p><dl class="description"><dt class="description">
<a
+ id="styopt.debug"></a><span
+class="cmssbx-10">debug</span><a
+ id="dx1-4002"></a> </dt><dd
+class="description">The <span
+class="cmss-10">glossaries </span>package has a <span
+class="cmss-10">debug </span>option that allows the values <span
+class="cmss-10">false</span>,
+ <span
+class="cmss-10">true </span>and <span
+class="cmss-10">showtargets</span>. The <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=showtargets</span><a
+ id="dx1-4003"></a> option was introduced to
+ <span
+class="cmss-10">glossaries </span>v4.32, so if you want to use this option with <span
+class="cmss-10">glossaries-extra </span>you
+ must make sure that your version of <span
+class="cmss-10">glossaries </span>supports it.
+ <!--l. 514--><p class="noindent" >The <span
+class="cmss-10">glossaries-extra </span>package extends this option to provide the additional
+ values <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=showwrgloss</span><a
+ id="dx1-4004"></a> and <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=all</span><a
+ id="dx1-4005"></a>.
+ </p><!--l. 518--><p class="noindent" >The <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=showwrgloss</span><a
+ id="dx1-4006"></a> option implements <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=true</span><a
+ id="dx1-4007"></a> and uses
+ </p><!--l. 520--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrwrglossmark</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-4008"></a> <span
+class="cmtt-10">\glsxtrwrglossmark </span></div><hr>
+ </p><!--l. 522--><p class="noindent" >
+ to show a mark <span
+class="cmsy-10">⋅ </span>just before the write operation performed by the
+ indexing commands. If you use <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=alsoindex</span><a
+ id="dx1-4009"></a> there will be a mark
+ for the write operation to the <span
+class="cmtt-10">.aux </span>file for <a
+ id="dx1-4010"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-4011"></a></a> and a mark for
+ the write operation to the associated glossary file for <a
+ id="dx1-4012"></a><a
+href="#glo:makeindex"><span
+class="cmtt-10">makeindex</span></a> or
+ <a
+ id="dx1-4013"></a><a
+href="#glo:xindy"><span
+class="cmtt-10">xindy</span></a>.
+ </p><!--l. 530--><p class="noindent" >The <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=all</span><a
+ id="dx1-4014"></a> option implements both <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=showtargets</span><a
+ id="dx1-4015"></a> and
+ <a
+href="#styopt.debug"><span
+class="cmss-10">debug</span></a><span
+class="cmss-10">=showwrgloss</span><a
+ id="dx1-4016"></a>.
+ </p></dd><dt class="description">
+<a
id="styopt.postdot"></a><span
class="cmssbx-10">postdot</span><a
- id="dx1-4002"></a> </dt><dd
-class="description">(New to version 1.12.) This option is just a shortcut for
- <span
-class="cmss-10">nopostdot=false</span><a
- id="dx1-4003"></a>.
+ id="dx1-4017"></a> </dt><dd
+class="description">(New to version 1.12.) This option is just a shortcut for <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><span
+class="cmss-10">=false</span><a
+ id="dx1-4018"></a>.
</dd><dt class="description">
<a
+ id="styopt.postpunc"></a><span
+class="cmssbx-10">postpunc</span><a
+ id="dx1-4019"></a> </dt><dd
+class="description">(New to version 1.21.) This option sets the post-description punctuation to
+ the given value. For example: <span
+class="cmss-10">postpunc=; </span>does
+
+
+
+ <div class="verbatim" id="verbatim-13">
+ \renewcommand{\glspostdescription}{;}
+</div>
+ <!--l. 541--><p class="nopar" > The value may also be one of the following keywords:
+ </p><dl class="description"><dt class="description">
+ <span
+class="cmtt-10">comma</span><span
+class="cmbx-10">:</span> </dt><dd
+class="description"><a
+href="#styopt.postpunc"><span
+class="cmss-10">postpunc</span></a><span
+class="cmss-10">=comma</span><a
+ id="dx1-4020"></a> is equivalent to
+
+
+
+ <div class="verbatim" id="verbatim-14">
+ \renewcommand{\glspostdescription}{,}
+</div>
+ <!--l. 548--><p class="nopar" >
+ </p></dd><dt class="description">
+ <span
+class="cmtt-10">dot</span><span
+class="cmbx-10">:</span> </dt><dd
+class="description"><a
+href="#styopt.postpunc"><span
+class="cmss-10">postpunc</span></a><span
+class="cmss-10">=dot</span><a
+ id="dx1-4021"></a> is equivalent to
+
+
+
+ <div class="verbatim" id="verbatim-15">
+ \renewcommand{\glspostdescription}{.\spacefactor\sfcode`\. }
+</div>
+ <!--l. 554--><p class="nopar" >
+ </p></dd><dt class="description">
+ <span
+class="cmtt-10">none</span><span
+class="cmbx-10">:</span> </dt><dd
+class="description"><a
+href="#styopt.postpunc"><span
+class="cmss-10">postpunc</span></a><span
+class="cmss-10">=none</span><a
+ id="dx1-4022"></a> is equivalent to
+
+
+
+ <div class="verbatim" id="verbatim-16">
+ \renewcommand{\glspostdescription}{}
+</div>
+ <!--l. 560--><p class="nopar" ></p></dd></dl>
+ <!--l. 562--><p class="noindent" >The default definition is
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-17">
+ \newcommand*{\glspostdescription}{%
+  <br />  \ifglsnopostdot\else.\spacefactor\sfcode`\. \fi
+  <br />}
+</div>
+ <!--l. 567--><p class="nopar" > where the conditional is determined by the <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><a
+ id="dx1-4023"></a> package option.
+ The <a
+href="#styopt.postpunc"><span
+class="cmss-10">postpunc</span></a><a
+ id="dx1-4024"></a> option removes the conditional from the definition of
+ <span
+class="cmtt-10">\glspostdescription</span>. The package options <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><a
+ id="dx1-4025"></a> and <a
+href="#styopt.postdot"><span
+class="cmss-10">postdot</span></a><a
+ id="dx1-4026"></a> will restore
+ the original definition of <span
+class="cmtt-10">\glspostdescription</span>.
+ </p><!--l. 574--><p class="noindent" >The <span
+class="cmss-10">glossaries-extra-stylemods</span><a
+ id="dx1-4027"></a> package adjusts the predefined styles
+ that had a hard-coded <span
+class="cmtt-10">\space </span>before the <a
+ id="dx1-4028"></a><a
+href="#glo:numberlist">number list</a> so that they use
+ <span
+class="cmtt-10">\glsxtrprelocation </span>instead (which is defined to <span
+class="cmtt-10">\space</span>). You can therefore
+ redefine this command in combination with <a
+href="#styopt.postpunc"><span
+class="cmss-10">postpunc</span></a><a
+ id="dx1-4029"></a> to alter the separator
+ before the <a
+ id="dx1-4030"></a>number list. For example, to have a comma followed by
+ <span
+class="cmtt-10">\hfil</span>:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-18">
+ \usepackage[postpunc=comma,stylemods]{glossaries-extra}
+  <br />\renewcommand{\glsxtrprelocation}{\hfil}
+</div>
+ <!--l. 584--><p class="nopar" > Be careful with doing this as it will look odd if the <a
+ id="dx1-4031"></a><a
+href="#glo:numberlist">number list</a> is missing.
+ (With <a
+ id="dx1-4032"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-4033"></a></a> you can instead redefine <span
+class="cmtt-10">\glsxtrprelocation </span>to do nothing
+ and set the location prefixes with <span
+class="cmtt-10">loc-prefix </span>which will only apply if the entry
+ has a <a
+ id="dx1-4034"></a>number list.)
+ </p></dd><dt class="description">
+<a
id="styopt.accsupp"></a><span
class="cmssbx-10">accsupp</span><a
- id="dx1-4004"></a> </dt><dd
+ id="dx1-4035"></a> </dt><dd
class="description">Load the <span
class="cmss-10">glossaries-accsupp</span><a
- id="dx1-4005"></a> package (if not already loaded).
- <!--l. 506--><p class="noindent" >If you want to define styles that can interface with the accessibility support
+ id="dx1-4036"></a> package (if not already loaded).
+ <!--l. 594--><p class="noindent" >If you want to define styles that can interface with the accessibility support
provided by <span
class="cmss-10">glossaries-accsupp</span><a
- id="dx1-4006"></a> use the <span
+ id="dx1-4037"></a> use the <span
class="cmtt-10">\glsaccess</span>⟨<span
class="cmitt-10">xxx</span>⟩ type of commands
- instead of <span
+ instead of <span
class="cmtt-10">\glsentry</span>⟨<span
-class="cmitt-10">xxx</span>⟩ (for example, <span
+class="cmitt-10">xxx</span>⟩ (for example, <span
class="cmtt-10">\glsaccesstext</span><a
- id="dx1-4007"></a> instead of
+ id="dx1-4038"></a> instead of
<span
class="cmtt-10">\glsentrytext</span><a
- id="dx1-4008"></a>). If <span
+ id="dx1-4039"></a>). If <span
class="cmss-10">glossaries-accsupp</span><a
- id="dx1-4009"></a> hasn’t been loaded those commands
- are equivalent (for example, <span
+ id="dx1-4040"></a> hasn’t been loaded those commands are
+ equivalent (for example, <span
class="cmtt-10">\glsaccesstext </span>just does <span
-class="cmtt-10">\glsentrytext</span>)
- but if it has been loaded, then the <span
+class="cmtt-10">\glsentrytext</span>) but if it
+ has been loaded, then the <span
class="cmtt-10">\glsaccess</span>⟨<span
-class="cmitt-10">xxx</span>⟩ commands will add
- the accessibility information. (See <a
+class="cmitt-10">xxx</span>⟩ commands will add the
+ accessibility information. (See <a
href="#sec:accsupp"><span
class="cmsy-10">§</span>11.2 </a><a
href="#sec:accsupp">Accessibility Support<!--tex4ht:ref: sec:accsupp --></a> for further
details.)
- </p><!--l. 516--><p class="noindent" >Note that the <span
-class="cmss-10">accsupp</span><a
- id="dx1-4010"></a> option can only be used as a package option (not
- through <span
+ </p><!--l. 604--><p class="noindent" >Note that the <a
+href="#styopt.accsupp"><span
+class="cmss-10">accsupp</span></a><a
+ id="dx1-4041"></a> option can only be used as a package option (not
+ through <span
class="cmtt-10">\glossariesextrasetup</span><a
- id="dx1-4011"></a>) since the <span
+ id="dx1-4042"></a>) since the <span
class="cmss-10">glossaries-accsupp</span><a
- id="dx1-4012"></a> package
- must be loaded before <span
+ id="dx1-4043"></a> package must be
+ loaded before <span
class="cmss-10">glossaries-extra </span>if it’s required.
</p></dd><dt class="description">
<a
id="styopt.stylemods"></a><span
class="cmssbx-10">stylemods</span><a
- id="dx1-4013"></a> </dt><dd
+ id="dx1-4044"></a> </dt><dd
class="description">This is a ⟨<span
class="cmti-10">key</span>⟩=⟨<span
class="cmti-10">value</span>⟩ option used to load the <span
class="cmss-10">glossaries-extra-stylemods</span><a
- id="dx1-4014"></a>
- package. The value may be a comma-separated list of options to pass to
- that package. (Remember to group ⟨<span
-class="cmti-10">value</span>⟩ if it contains any commas.) The
- value may be omitted if no options need to be passed. See <a
+ id="dx1-4045"></a>
+ package. The value may be a comma-separated list of options to pass to that
+ package. (Remember to group ⟨<span
+class="cmti-10">value</span>⟩ if it contains any commas.) The value may
+ be omitted if no options need to be passed. See <a
href="#sec:glosstylemods"><span
-class="cmsy-10">§</span>2.8 </a><a
-href="#sec:glosstylemods">Glossary
- Style Modifications<!--tex4ht:ref: sec:glosstylemods --></a> for further details.
+class="cmsy-10">§</span>2.9 </a><a
+href="#sec:glosstylemods">Glossary Style
+ Modifications<!--tex4ht:ref: sec:glosstylemods --></a> for further details. There are two special keyword values:
+ <a
+href="#styopt.stylemods"><span
+class="cmss-10">stylemods</span></a><span
+class="cmss-10">=default</span><a
+ id="dx1-4046"></a> (equivalent to omitting the value) and <a
+href="#styopt.stylemods"><span
+class="cmss-10">stylemods</span></a><span
+class="cmss-10">=all</span><a
+ id="dx1-4047"></a>, which
+ loads all the predefined styles.
</dd><dt class="description">
<a
id="styopt.undefaction"></a><span
class="cmssbx-10">undefaction</span><a
- id="dx1-4015"></a> </dt><dd
+ id="dx1-4048"></a> </dt><dd
class="description">This is a ⟨<span
class="cmti-10">key</span>⟩=⟨<span
class="cmti-10">value</span>⟩ option, which has two allowed values: <span
-class="cmss-10">warn</span>
- and <span
-class="cmss-10">error</span>. This indicates what to do if an undefined glossary entry is
- referenced. The default behaviour is <span
-class="cmss-10">undefaction=error</span><a
- id="dx1-4016"></a>, which produces an
- error message (the default for <span
-class="cmss-10">glossaries</span>). You can switch this to a warning
- message (and ?? appearing in the text) with <span
-class="cmss-10">undefaction=warn</span><a
- id="dx1-4017"></a>.
- <!--l. 538--><p class="noindent" ><div class="important" title="Important Note"> Undefined entries can’t be picked up by any commands that iterate
+class="cmss-10">warn </span>and
+ <span
+class="cmss-10">error</span>. This indicates what to do if an undefined glossary entry is referenced. The
+ default behaviour is <a
+href="#styopt.undefaction"><span
+class="cmss-10">undefaction</span></a><span
+class="cmss-10">=error</span><a
+ id="dx1-4049"></a>, which produces an error message (the
+ default for <span
+class="cmss-10">glossaries</span>). You can switch this to a warning message (and ??
+ appearing in the text) with <a
+href="#styopt.undefaction"><span
+class="cmss-10">undefaction</span></a><span
+class="cmss-10">=warn</span><a
+ id="dx1-4050"></a>.
+ <!--l. 629--><p class="noindent" ><div class="important" title="Important Note"> Undefined entries can’t be picked up by any commands that iterate
over a glossary list. This includes <span
class="cmtt-10">\forglsentries</span><a
- id="dx1-4018"></a> and <span
+ id="dx1-4051"></a> and <span
class="cmtt-10">\glsaddall</span><a
- id="dx1-4019"></a>.
+ id="dx1-4052"></a>.
</div>
- </p><!--l. 542--><p class="noindent" >
+
+
+
+ </p><!--l. 633--><p class="noindent" >
</p></dd><dt class="description">
<a
id="styopt.indexcrossrefs"></a><span
class="cmssbx-10">indexcrossrefs</span><a
- id="dx1-4020"></a> </dt><dd
+ id="dx1-4053"></a> </dt><dd
class="description">This is a boolean option. If <span
class="cmss-10">true</span>, this will automatically index any
cross-referenced entries that haven’t been marked as used at the end of the
@@ -885,49 +1146,50 @@
class="cmss-10">false</span>,
but it will be automatically switched on if you use the <span
class="cmss-10">see</span><a
- id="dx1-4021"></a> or <span
+ id="dx1-4054"></a> or <span
class="cmss-10">seealso</span><a
- id="dx1-4022"></a> keys
+ id="dx1-4055"></a> keys
in any entries (unless <a
href="#styopt.autoseeindex"><span
class="cmss-10">autoseeindex</span></a><span
class="cmss-10">=false</span><a
- id="dx1-4023"></a>). To force it off, even if you
+ id="dx1-4056"></a>). To force it off, even if you
use the <span
class="cmss-10">see</span><a
- id="dx1-4024"></a> or <span
+ id="dx1-4057"></a> or <span
class="cmss-10">seealso</span><a
- id="dx1-4025"></a> key, you need to explicitly set <span
-class="cmss-10">indexcrossrefs</span><a
- id="dx1-4026"></a> to
+ id="dx1-4058"></a> key, you need to explicitly set <a
+href="#styopt.indexcrossrefs"><span
+class="cmss-10">indexcrossrefs</span></a><a
+ id="dx1-4059"></a> to
<span
class="cmss-10">false</span>.
-
-
-
- <!--l. 556--><p class="noindent" >Note that <a
- id="dx1-4027"></a><a
+ <!--l. 647--><p class="noindent" >Note that <a
+ id="dx1-4060"></a><a
href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-4028"></a></a> can automatically find dependent entries when it
+ id="dx1-4061"></a></a> can automatically find dependent entries when it
parses the <span
-class="cmtt-10">.bib </span>source file. The <span
-class="cmss-10">record</span><a
- id="dx1-4029"></a> option automatically implements
- <span
-class="cmss-10">indexcrossrefs=false</span><a
- id="dx1-4030"></a>.
+class="cmtt-10">.bib </span>source file. The <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><a
+ id="dx1-4062"></a> option automatically implements
+ <a
+href="#styopt.indexcrossrefs"><span
+class="cmss-10">indexcrossrefs</span></a><span
+class="cmss-10">=false</span><a
+ id="dx1-4063"></a>.
</p></dd><dt class="description">
<a
id="styopt.autoseeindex"></a><span
class="cmssbx-10">autoseeindex</span><a
- id="dx1-4031"></a> </dt><dd
+ id="dx1-4064"></a> </dt><dd
class="description"> (New to v1.16.) This is a boolean option. If true (default), this makes
the <span
class="cmss-10">see</span><a
- id="dx1-4032"></a> and <span
+ id="dx1-4065"></a> and <span
class="cmss-10">seealso</span><a
- id="dx1-4033"></a> keys automatically index the cross-reference when an entry
+ id="dx1-4066"></a> keys automatically index the cross-reference when an entry
is defined. If false, the value of those keys will still be stored in their
corresponding fields (and can be accessed using commands like <span
class="cmtt-10">\glsxtrusesee</span>
@@ -934,55 +1196,58 @@
and <span
class="cmtt-10">\glsxtruseseealso</span>) but cross-reference won’t be automatically
indexed.
- <!--l. 570--><p class="noindent" >Note that the <a
+ <!--l. 661--><p class="noindent" >Note that the <a
href="#styopt.record"><span
class="cmss-10">record</span></a><span
class="cmss-10">=only</span><a
- id="dx1-4034"></a> option automatically implements <span
-class="cmss-10">autoseeindex=false</span><a
- id="dx1-4035"></a>.
- </p><!--l. 573--><p class="noindent" >For example, if an entry is defined as
+ id="dx1-4067"></a> option automatically implements <a
+href="#styopt.autoseeindex"><span
+class="cmss-10">autoseeindex</span></a><span
+class="cmss-10">=false</span><a
+ id="dx1-4068"></a>.
+ </p><!--l. 664--><p class="noindent" >For example, if an entry is defined as
</p>
- <div class="verbatim" id="verbatim-13">
+ <div class="verbatim" id="verbatim-19">
\newglossaryentry{foo}{name={foo},description={},see={bar,baz}}
</div>
- <!--l. 576--><p class="nopar" > then with <span
+ <!--l. 667--><p class="nopar" > then with <span
class="cmtt-10">autoseeindex=true</span>, this is equivalent to
</p>
- <div class="verbatim" id="verbatim-14">
+ <div class="verbatim" id="verbatim-20">
\newglossaryentry{foo}{name={foo},description={}}
 <br />\glssee{foo}{bar,baz}
 <br />\glossariesextrasetup{indexcrossrefs=true}
 <br />\GlsXtrSetField{foo}{see}{bar,baz}
</div>
- <!--l. 583--><p class="nopar" > but with <span
+ <!--l. 674--><p class="nopar" > but with <span
class="cmtt-10">autoseeindex=false</span>, this is equivalent to
</p>
- <div class="verbatim" id="verbatim-15">
+ <div class="verbatim" id="verbatim-21">
\newglossaryentry{foo}{name={foo},description={}}
 <br />\GlsXtrSetField{foo}{see}{bar,baz}
</div>
- <!--l. 588--><p class="nopar" > Note that <a
+ <!--l. 679--><p class="nopar" > Note that <a
href="#styopt.indexcrossrefs"><span
class="cmss-10">indexcrossrefs</span></a><a
- id="dx1-4036"></a> isn’t automatically implemented by the presence of the
+ id="dx1-4069"></a> isn’t automatically implemented by the presence of the
<span
class="cmss-10">see</span><a
- id="dx1-4037"></a> key when <span
-class="cmss-10">autoseeindex</span><a
- id="dx1-4038"></a> is false.
- </p><!--l. 593--><p class="noindent" >It’s therefore possible to remove the cross-references from the location lists and
+ id="dx1-4070"></a> key when <a
+href="#styopt.autoseeindex"><span
+class="cmss-10">autoseeindex</span></a><a
+ id="dx1-4071"></a> is false.
+ </p><!--l. 684--><p class="noindent" >It’s therefore possible to remove the cross-references from the location lists and
set their position within the glossary style.
- </p><!--l. 596--><p class="noindent" >Another method of preventing the automatic indexing is to define the entries
+ </p><!--l. 687--><p class="noindent" >Another method of preventing the automatic indexing is to define the entries
before the external indexing files have been opened with <span
class="cmtt-10">\makeglossaries</span>.
Since the appropriate file isn’t open, the information can’t be written to it.
@@ -994,105 +1259,199 @@
<a
id="styopt.record"></a><span
class="cmssbx-10">record</span><a
- id="dx1-4039"></a> </dt><dd
+ id="dx1-4072"></a> </dt><dd
class="description">(New to v1.08.) This is a ⟨<span
class="cmti-10">key</span>⟩=⟨<span
-class="cmti-10">value</span>⟩ option, which has three allowed values:
- <span
-class="cmss-10">off </span>(default), <span
-class="cmss-10">only </span>and <span
-class="cmss-10">alsoindex</span>. If the value is omitted <span
-class="cmss-10">only </span>is assumed. The
- option is provided for the benefit of <a
- id="dx1-4040"></a><a
+class="cmti-10">value</span>⟩ option provided for the benefit of
+ <a
+ id="dx1-4073"></a><a
href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-4041"></a></a> (see <a
+ id="dx1-4074"></a></a> (see <a
href="#sec:bib2gls"><span
class="cmsy-10">§</span>9 </a><a
-href="#sec:bib2gls">bib2gls: Managing
- Reference Databases<!--tex4ht:ref: sec:bib2gls --></a>).
- <!--l. 609--><p class="noindent" >The option may only be set in the preamble.
- </p><!--l. 611--><p class="noindent" >The <span
-class="cmss-10">record=off</span><a
- id="dx1-4042"></a> option switches off the recording, as per the default behaviour.
- It implements <a
+href="#sec:bib2gls">bib2gls: Managing Reference Databases<!--tex4ht:ref: sec:bib2gls --></a>).
+ <!--l. 698--><p class="noindent" >The option may only be set in the preamble and can’t be used after
+ <span
+class="cmtt-10">\GlsXtrLoadResources</span>. If the value is missing <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=only</span><a
+ id="dx1-4075"></a> is assumed.
+ Permitted values:
+ </p><dl class="description"><dt class="description">
+ <span
+class="cmssbx-10">off</span> </dt><dd
+class="description">This is the default setting. The indexing is performed as normal using
+ either <span
+class="cmtt-10">\makeglossaries </span>or <span
+class="cmtt-10">\makenoidxglossaries</span>. This setting
+ implements <a
href="#styopt.undefaction"><span
class="cmss-10">undefaction</span></a><span
class="cmss-10">=error</span><a
- id="dx1-4043"></a>.
- </p><!--l. 614--><p class="noindent" >The other values switch on the recording and also <a
+ id="dx1-4076"></a>.
+ </dd><dt class="description">
+ <span
+class="cmssbx-10">only</span> </dt><dd
+class="description">The indexing is performed by <a
+ id="dx1-4077"></a><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-4078"></a> (see <a
+href="#sec:bib2gls"><span
+class="cmsy-10">§</span>9 </a><a
+href="#sec:bib2gls">bib2gls:
+ Managing Reference Databases<!--tex4ht:ref: sec:bib2gls --></a>). Neither <span
+class="cmtt-10">\makeglossaries </span>nor
+ <span
+class="cmtt-10">\makenoidxglossaries </span>is permitted. This setting implements
+ <a
href="#styopt.undefaction"><span
class="cmss-10">undefaction</span></a><span
class="cmss-10">=warn</span><a
- id="dx1-4044"></a>,
- but <span
-class="cmss-10">record=only</span><a
- id="dx1-4045"></a> will also switch off the indexing mechanism (even if
- <span
-class="cmtt-10">\makeglossaries </span>or <span
-class="cmtt-10">\makenoidxglossaries </span>has been used) whereas
- <span
-class="cmss-10">record=alsoindex</span><a
- id="dx1-4046"></a> will both record and index. Note that <span
-class="cmss-10">record=only</span><a
- id="dx1-4047"></a> will prevent
- the <span
+ id="dx1-4079"></a>.
+ <!--l. 711--><p class="noindent" >The glossaries should be displayed using <span
+class="cmtt-10">\printunsrtglossary </span>(or
+ <span
+class="cmtt-10">\printunsrtglossaries</span>).
+ </p><!--l. 714--><p class="noindent" >The document build process is (assuming the file is called <span
+class="cmtt-10">myDoc.tex</span>):
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-22">
+ pdflatex myDoc
+  <br />bib2gls myDoc
+  <br />pdflatex myDoc
+</div>
+ <!--l. 720--><p class="nopar" >
+ </p><!--l. 722--><p class="noindent" >Note that <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=only</span><a
+ id="dx1-4080"></a> will prevent the <span
class="cmss-10">see</span><a
- id="dx1-4048"></a> from automatically implementing <span
+ id="dx1-4081"></a> from automatically
+ implementing <span
class="cmtt-10">\glssee</span>. (<a
- id="dx1-4049"></a><span
+ id="dx1-4082"></a><a
+href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-4050"></a> deals with the <span
+ id="dx1-4083"></a></a> deals with the <span
class="cmss-10">see</span><a
- id="dx1-4051"></a>
- field.) You may explicitly use <span
+ id="dx1-4084"></a> field.) You
+ may explicitly use <span
class="cmtt-10">\glssee </span>in the document, but <a
- id="dx1-4052"></a><span
+ id="dx1-4085"></a><span
class="cmtt-10">bib2gls</span><a
- id="dx1-4053"></a>
- will ignore the cross-reference if the <span
+ id="dx1-4086"></a> will
+ ignore the cross-reference if the <span
class="cmss-10">see</span><a
- id="dx1-4054"></a> field was already set for that
- entry.
- </p><!--l. 625--><p class="noindent" >The <span
-class="cmss-10">record=only</span><a
- id="dx1-4055"></a> option will automatically set the <span
-class="cmss-10">glossaries </span>package’s <span
-class="cmss-10">sort=none</span><a
- id="dx1-4056"></a>
- option if available. (That option value was only introduced to <span
-class="cmss-10">glossaries</span>
- v4.30.)
- </p><!--l. 630--><p class="noindent" >With the recording on, any of the commands that would typically index the
- entry (such as <span
+ id="dx1-4087"></a> field was already set for that
+ entry.
+ </p><!--l. 728--><p class="noindent" >The <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=only</span><a
+ id="dx1-4088"></a> option will automatically set the <span
+class="cmss-10">glossaries </span>package’s
+ <a
+href="#styopt.sort"><span
+class="cmss-10">sort</span></a><span
+class="cmss-10">=none</span><a
+ id="dx1-4089"></a> option if available. (That option value was only introduced to
+ <span
+class="cmss-10">glossaries </span>v4.30.)
+ </p></dd><dt class="description">
+ <span
+class="cmssbx-10">alsoindex</span> </dt><dd
+class="description">This is a hybrid setting that uses <a
+ id="dx1-4090"></a><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-4091"></a> to fetch entry information
+ from <span
+class="cmtt-10">.bib </span>files, but uses <a
+ id="dx1-4092"></a><a
+href="#glo:makeindex"><span
+class="cmtt-10">makeindex</span></a> or <a
+ id="dx1-4093"></a><a
+href="#glo:xindy"><span
+class="cmtt-10">xindy</span></a> to create the glossary
+ files. This option should be used with <span
+class="cmtt-10">\makeglossaries </span>but not
+ with its optional argument. This option should not be used with
+ <span
+class="cmtt-10">\makenoidxglossaries</span>. You may need to change the transcript file used
+ by <a
+ id="dx1-4094"></a><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-4095"></a> to avoid a clash with the transcript file used by <a
+ id="dx1-4096"></a><span
+class="cmtt-10">makeindex</span>
+ or <a
+ id="dx1-4097"></a><span
+class="cmtt-10">xindy</span>. (This can be done with <a
+ id="dx1-4098"></a><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-4099"></a>’s <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">--log-file</span></span></span> or <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">-t</span></span></span>
+ option.)
+ <!--l. 744--><p class="noindent" >The glossaries should be displayed using <span
+class="cmtt-10">\printglossary </span>(or
+ <span
+class="cmtt-10">\printglossaries</span>).
+ </p><!--l. 747--><p class="noindent" >The document build process is (assuming the file is called <span
+class="cmtt-10">myDoc.tex</span>):
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-23">
+ pdflatex myDoc
+  <br />bib2gls myDoc
+  <br />pdflatex myDoc
+  <br />makeglossaries myDoc
+  <br />pdflatex myDoc
+</div>
+ <!--l. 755--><p class="nopar" ></p></dd></dl>
+ <!--l. 758--><p class="noindent" >With the recording on (<a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=only</span><a
+ id="dx1-4100"></a> or <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=alsoindex</span><a
+ id="dx1-4101"></a>), any of the commands
+ that would typically index the entry (such as <span
class="cmtt-10">\gls</span>, <span
class="cmtt-10">\glstext </span>or <span
-class="cmtt-10">\glsadd</span>) will add a <span
-class="cmtt-10">\glsxtr at record </span>entry
- to the <span
+class="cmtt-10">\glsadd</span>)
+ will add a <span
+class="cmtt-10">\glsxtr at record </span>entry to the <span
class="cmtt-10">.aux </span>file. <a
- id="dx1-4057"></a><span
+ id="dx1-4102"></a><a
+href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-4058"></a> can then read these lines to find out which entries
- have been used. (Remember that commands like <span
-class="cmtt-10">\glsentryname </span>don’t index,
- so any use of these commands won’t add a corresponding <span
-class="cmtt-10">\glsxtr at record</span>
- entry to the <span
+ id="dx1-4103"></a></a> can then
+ read these lines to find out which entries have been used. (Remember
+ that commands like <span
+class="cmtt-10">\glsentryname </span>don’t index, so any use of these
+ commands won’t add a corresponding <span
+class="cmtt-10">\glsxtr at record </span>entry to the
+ <span
class="cmtt-10">.aux </span>file.) See <a
href="#sec:bib2gls"><span
class="cmsy-10">§</span>9 </a><a
-href="#sec:bib2gls">bib2gls: Managing Reference Databases<!--tex4ht:ref: sec:bib2gls --></a> for
- further details.
-
-
-
+href="#sec:bib2gls">bib2gls: Managing Reference Databases<!--tex4ht:ref: sec:bib2gls --></a> for further
+ details.
</p></dd><dt class="description">
<a
id="styopt.docdef"></a><span
class="cmssbx-10">docdef</span><a
- id="dx1-4059"></a> </dt><dd
+ id="dx1-4104"></a> </dt><dd
class="description">This option governs the use of <span
class="cmtt-10">\newglossaryentry</span>. It was originally a
boolean option, but as from version 1.06, it can now take one of three values (if
@@ -1101,10 +1460,10 @@
<ul class="itemize1">
<li class="itemize"><span
class="cmtt-10">\newglossaryentry</span><a
- id="dx1-4061"></a> is not permitted in the <span
+ id="dx1-4106"></a> is not permitted in the <span
class="cmss-10">document</span><a
- id="dx1-4062"></a><a
- id="dx1-4063"></a> environment
+ id="dx1-4107"></a><a
+ id="dx1-4108"></a> environment
(default).
</li>
<li class="itemize"><span
@@ -1112,8 +1471,8 @@
class="cmss-10">glossaries </span>package.
That is, where its use is permitted in the <span
class="cmss-10">document</span><a
- id="dx1-4065"></a><a
- id="dx1-4066"></a> environment, it
+ id="dx1-4110"></a><a
+ id="dx1-4111"></a> environment, it
uses the <span
class="cmtt-10">.glsdefs </span>temporary file to store the entry definitions so
that on the next <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
@@ -1120,8 +1479,8 @@
class="E">E</span>X</span></span> run the entries are defined at the beginning
of the <span
class="cmss-10">document</span><a
- id="dx1-4067"></a><a
- id="dx1-4068"></a> environment. This allows the entry information
+ id="dx1-4112"></a><a
+ id="dx1-4113"></a> environment. This allows the entry information
to be referenced in the glossary, even if the glossary occurs before
<span
class="cmtt-10">\newglossaryentry</span>. (For example, when the glossary is displayed in
@@ -1130,14 +1489,34 @@
class="E">E</span>X</span></span> run has drawbacks that are detailed in the <span
class="cmss-10">glossaries </span>user
manual.
- </li>
+ <!--l. 789--><p class="noindent" >Remember that if <span
+class="cmtt-10">\newglossaryentry </span>wouldn’t be allowed in the
+ <span
+class="cmss-10">document</span><a
+ id="dx1-4114"></a><a
+ id="dx1-4115"></a> environment with the base <span
+class="cmss-10">glossaries </span>package, then it still
+ won’t be allowed with <a
+href="#styopt.docdefs"><span
+class="cmss-10">docdefs</span></a><span
+class="cmss-10">=true</span><a
+ id="dx1-4116"></a>. If your glossaries occur at the
+ end of the document, consider using <a
+href="#styopt.docdef"><span
+class="cmss-10">docdef</span></a><span
+class="cmss-10">=restricted</span><a
+ id="dx1-4117"></a> instead.
+ </p></li>
<li class="itemize">(new to version 1.06) <span
class="cmtt-10">\newglossaryentry</span><a
- id="dx1-4070"></a> is permitted in the
+ id="dx1-4119"></a> is permitted in the
+
+
+
<span
class="cmss-10">document</span><a
- id="dx1-4071"></a><a
- id="dx1-4072"></a> environment without using the <span
+ id="dx1-4120"></a><a
+ id="dx1-4121"></a> environment without using the <span
class="cmtt-10">.glsdefs </span>file. This means
that all entries must be defined before the glossary is displayed, but
it avoids the complications associated with saving the entry details
@@ -1146,15 +1525,15 @@
class="cmti-10">key</span>⟩=⟨<span
class="cmti-10">value</span>⟩ mechanism
(that is, the comma and equal sign) and any <a
- id="dx1-4073"></a><a
+ id="dx1-4122"></a><a
href="#glo:makeindex"><span
class="cmtt-10">makeindex</span></a> or <a
- id="dx1-4074"></a><a
+ id="dx1-4123"></a><a
href="#glo:xindy"><span
class="cmtt-10">xindy</span></a>
character that occurs in the <span
class="cmss-10">sort</span><a
- id="dx1-4075"></a> key or label. If any of those characters
+ id="dx1-4124"></a> key or label. If any of those characters
are made active in the document, then it can cause problems with
the entry definition. This option will allow <span
class="cmtt-10">\newglossaryentry </span>to
@@ -1162,12 +1541,12 @@
class="cmtt-10">\makenoidxglossaries</span>, but note that
<span
class="cmtt-10">\longnewglossaryentry </span>remains a preamble-only command.
- <!--l. 674--><p class="noindent" >With this option, if an entry appears in the glossary before it has been
+ <!--l. 812--><p class="noindent" >With this option, if an entry appears in the glossary before it has been
defined, an error will occur (or a warning if the <a
href="#styopt.undefaction"><span
class="cmss-10">undefaction</span></a><span
class="cmss-10">=warn</span><a
- id="dx1-4076"></a>
+ id="dx1-4125"></a>
option is used.) If you edit your document and either remove an entry
or change its label, you may need to delete the document’s temporary
files (such as the <span
@@ -1175,44 +1554,49 @@
class="cmtt-10">.gls </span>files).
</p>
</li></ul>
- <!--l. 683--><p class="noindent" >The <span
+ <!--l. 821--><p class="noindent" >The <span
class="cmss-10">glossaries </span>package allows <span
class="cmtt-10">\newglossaryentry </span>within the <span
class="cmss-10">document</span><a
- id="dx1-4077"></a><a
- id="dx1-4078"></a>
+ id="dx1-4126"></a><a
+ id="dx1-4127"></a>
environment (when used with <a
- id="dx1-4079"></a><span
-class="cmtt-10">makeindex </span>or <a
- id="dx1-4080"></a><span
-class="cmtt-10">xindy</span>) but the user manual warns
+ id="dx1-4128"></a><a
+href="#glo:makeindex"><span
+class="cmtt-10">makeindex</span></a> or <a
+ id="dx1-4129"></a><a
+href="#glo:xindy"><span
+class="cmtt-10">xindy</span></a>) but the user manual warns
against this usage. By default the <span
class="cmss-10">glossaries-extra </span>package <span
-class="cmti-10">prohibits</span>
- this, only allowing definitions within the preamble. If you are really
- determined to define entries in the <span
+class="cmti-10">prohibits </span>this, only
+ allowing definitions within the preamble. If you are really determined to define
+ entries in the <span
class="cmss-10">document</span><a
- id="dx1-4081"></a><a
- id="dx1-4082"></a> environment, despite all the
- associated drawbacks, you can restore this with <span
-class="cmss-10">docdef=true</span><a
- id="dx1-4083"></a>. Note that this
-
-
-
- doesn’t change the prohibitions that the <span
-class="cmss-10">glossaries </span>package has in certain
- circumstances (for example, when using “option 1”). See the <span
-class="cmss-10">glossaries </span>user
- manual for further details. A better option if document definitions are
- required is <span
-class="cmss-10">docdef=restricted</span><a
- id="dx1-4084"></a>. Only use <span
-class="cmss-10">docdef=true</span><a
- id="dx1-4085"></a> if document definitions
+ id="dx1-4130"></a><a
+ id="dx1-4131"></a> environment, despite all the associated drawbacks, you
+ can restore this with <a
+href="#styopt.docdef"><span
+class="cmss-10">docdef</span></a><span
+class="cmss-10">=true</span><a
+ id="dx1-4132"></a>. Note that this doesn’t change the
+ prohibitions that the <span
+class="cmss-10">glossaries </span>package has in certain circumstances (for
+ example, when using “option 1”). See the <span
+class="cmss-10">glossaries </span>user manual for
+ further details. A better option if document definitions are required
+ is <a
+href="#styopt.docdef"><span
+class="cmss-10">docdef</span></a><span
+class="cmss-10">=restricted</span><a
+ id="dx1-4133"></a>. Only use <a
+href="#styopt.docdef"><span
+class="cmss-10">docdef</span></a><span
+class="cmss-10">=true</span><a
+ id="dx1-4134"></a> if document definitions
are necessary and one or more of the glossaries occurs in the front
matter.
- </p><!--l. 700--><p class="noindent" >This option affects commands that internally use <span
+ </p><!--l. 838--><p class="noindent" >This option affects commands that internally use <span
class="cmtt-10">\newglossaryentry</span>, such as
<span
class="cmtt-10">\newabbreviation</span>, but not the “on-the-fly” commands described in <a
@@ -1224,7 +1608,7 @@
<a
id="styopt.nomissingglstext"></a><span
class="cmssbx-10">nomissingglstext</span><a
- id="dx1-4086"></a> </dt><dd
+ id="dx1-4135"></a> </dt><dd
class="description">This is a boolean option. If true, this will suppress the warning
text that will appear in the document if the external glossary files haven’t been
generated due to an incomplete document build. However, it’s probably simpler
@@ -1234,21 +1618,24 @@
<a
id="styopt.abbreviations"></a><span
class="cmssbx-10">abbreviations</span><a
- id="dx1-4087"></a> </dt><dd
+ id="dx1-4136"></a> </dt><dd
class="description">This option has no value and can’t be cancelled. If used, it will
automatically create a new glossary with the label <span
class="cmtt-10">abbreviations </span>and
redefines <span
class="cmtt-10">\glsxtrabbrvtype </span>to this label. In addition, it defines a shortcut
+
+
+
command
- <!--l. 717--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 855--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\printabbreviations</span><span
class="cmtt-9"> </span></span><a
- id="dx1-4088"></a> <span
+ id="dx1-4137"></a> <span
class="cmtt-10">\printabbreviations[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">] </span></div><hr>
- </p><!--l. 719--><p class="noindent" >
+ </p><!--l. 857--><p class="noindent" >
which is equivalent to </p><div class="alltt">
<div class="obeylines-v">
<span
@@ -1257,51 +1644,51 @@
class="cmtt-10">]</span>
</div>
</div> The title of the new glossary is given by
- <!--l. 725--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 863--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\abbreviationsname</span><span
class="cmtt-9"> </span></span><a
- id="dx1-4089"></a> <span
+ id="dx1-4138"></a> <span
class="cmtt-10">\abbreviationsname </span></div><hr>
- </p><!--l. 727--><p class="noindent" >
+ </p><!--l. 865--><p class="noindent" >
If this command is already defined, it’s left unchanged. Otherwise it’s defined
to “Abbreviations” if <span
class="cmss-10">babel</span><a
- id="dx1-4090"></a> hasn’t been loaded or <span
+ id="dx1-4139"></a> hasn’t been loaded or <span
class="cmtt-10">\acronymname </span>if
<span
class="cmss-10">babel</span><a
- id="dx1-4091"></a> has been loaded. However, if you’re using <span
+ id="dx1-4140"></a> has been loaded. However, if you’re using <span
class="cmss-10">babel</span><a
- id="dx1-4092"></a> it’s likely you
+ id="dx1-4141"></a> it’s likely you
will need to change this. (See <a
href="#sec:lang"><span
class="cmsy-10">§</span>13 </a><a
href="#sec:lang">Multi-Lingual Support<!--tex4ht:ref: sec:lang --></a> for further
details.)
- </p><!--l. 734--><p class="noindent" ><div class="important" title="Important Note"> If you don’t use the <span
-class="cmss-10">abbreviations</span><a
- id="dx1-4093"></a> package option, the <span
+ </p><!--l. 872--><p class="noindent" ><div class="important" title="Important Note"> If you don’t use the <a
+href="#styopt.abbreviations"><span
+class="cmss-10">abbreviations</span></a><a
+ id="dx1-4142"></a> package option, the <span
class="cmtt-10">\abbreviationsname</span>
command won’t be defined (unless it’s defined by an included language file).
</div>
- </p><!--l. 738--><p class="noindent" >
-
-
-
- </p><!--l. 740--><p class="noindent" >If the <span
-class="cmss-10">abbreviations</span><a
- id="dx1-4094"></a> option is used and the <span
-class="cmss-10">acronym</span><a
- id="dx1-4095"></a> option provided by the
+ </p><!--l. 876--><p class="noindent" >
+ </p><!--l. 878--><p class="noindent" >If the <a
+href="#styopt.abbreviations"><span
+class="cmss-10">abbreviations</span></a><a
+ id="dx1-4143"></a> option is used and the <a
+href="#styopt.acronym"><span
+class="cmss-10">acronym</span></a><a
+ id="dx1-4144"></a> option provided by the
<span
class="cmss-10">glossaries </span>package hasn’t been used, then <span
class="cmtt-10">\acronymtype</span><a
- id="dx1-4096"></a> will be set to
+ id="dx1-4145"></a> will be set to
<span
class="cmtt-10">\glsxtrabbrvtype</span><a
- id="dx1-4097"></a> so that acronyms defined with <span
+ id="dx1-4146"></a> so that acronyms defined with <span
class="cmtt-10">\newacronym</span><a
- id="dx1-4098"></a> can be added
+ id="dx1-4147"></a> can be added
to the list of abbreviations. If you want acronyms in the <span
class="cmtt-10">main </span>glossary and
other abbreviations in the <span
@@ -1313,14 +1700,15 @@
</p>
- <div class="verbatim" id="verbatim-16">
+ <div class="verbatim" id="verbatim-24">
\renewcommand*{\acronymtype}{main}
</div>
- <!--l. 750--><p class="nopar" >
- </p><!--l. 752--><p class="noindent" >Note that there are no analogous options to the <span
-class="cmss-10">glossaries </span>package’s <span
-class="cmss-10">acronymlists</span><a
- id="dx1-4099"></a>
+ <!--l. 888--><p class="nopar" >
+ </p><!--l. 890--><p class="noindent" >Note that there are no analogous options to the <span
+class="cmss-10">glossaries </span>package’s <a
+href="#styopt.acronymlists"><span
+class="cmss-10">acronymlists</span></a><a
+ id="dx1-4148"></a>
option (or associated commands) as the abbreviation mechanism is handled
differently with <span
class="cmss-10">glossaries-extra</span>.
@@ -1328,13 +1716,13 @@
<a
id="styopt.symbols"></a><span
class="cmssbx-10">symbols</span><a
- id="dx1-4100"></a> </dt><dd
+ id="dx1-4149"></a> </dt><dd
class="description">This is passed to <span
class="cmss-10">glossaries </span>but will additionally define
- <!--l. 759--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 897--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrnewsymbol</span><span
class="cmtt-9"> </span></span><a
- id="dx1-4101"></a> <span
+ id="dx1-4150"></a> <span
class="cmtt-10">\glsxtrnewsymbol[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -1343,7 +1731,7 @@
class="cmitt-10">symbol</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
- </p><!--l. 761--><p class="noindent" >
+ </p><!--l. 899--><p class="noindent" >
which is equivalent to </p><div class="alltt">
<div class="obeylines-v">
<span
@@ -1363,7 +1751,7 @@
</div>
</div> Note that the <span
class="cmss-10">sort</span><a
- id="dx1-4102"></a> key is set to the ⟨<span
+ id="dx1-4151"></a> key is set to the ⟨<span
class="cmti-10">label</span>⟩ not the ⟨<span
class="cmti-10">symbol</span>⟩ as the symbol will
likely contain commands.
@@ -1371,19 +1759,19 @@
<a
id="styopt.numbers"></a><span
class="cmssbx-10">numbers</span><a
- id="dx1-4103"></a> </dt><dd
+ id="dx1-4152"></a> </dt><dd
class="description">This is passed to <span
class="cmss-10">glossaries </span>but will additionally define
- <!--l. 772--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 910--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrnewnumber</span><span
class="cmtt-9"> </span></span><a
- id="dx1-4104"></a> <span
+ id="dx1-4153"></a> <span
class="cmtt-10">\glsxtrnewnumber[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">number</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 774--><p class="noindent" >
+ </p><!--l. 912--><p class="noindent" >
which is equivalent to </p><div class="alltt">
<div class="obeylines-v">
<span
@@ -1406,7 +1794,7 @@
<a
id="styopt.shortcuts"></a><span
class="cmssbx-10">shortcuts</span><a
- id="dx1-4105"></a> </dt><dd
+ id="dx1-4154"></a> </dt><dd
class="description">Unlike the <span
class="cmss-10">glossaries </span>package option of the same name, this option isn’t
boolean but has multiple values:
@@ -1414,18 +1802,31 @@
<ul class="itemize1">
- <li class="itemize"><span
-class="cmss-10">shortcuts=acronyms</span><a
- id="dx1-4106"></a> (or <span
-class="cmss-10">shortcuts=acro</span><a
- id="dx1-4107"></a>): set the shortcuts provided
- by the <span
+ <li class="itemize"><a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=acronyms</span><a
+ id="dx1-4155"></a> (or <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=acro</span><a
+ id="dx1-4156"></a>): set the shortcuts provided by
+ the <span
class="cmss-10">glossaries </span>package for acronyms (such as <span
-class="cmtt-10">\ac</span>).
+class="cmtt-10">\ac</span>). Note that the short
+ and long forms don’t use <span
+class="cmtt-10">\glsxtrshort </span>and <span
+class="cmtt-10">\glsxtrlong </span>but use
+ the original <span
+class="cmtt-10">\acrshort </span>and <span
+class="cmtt-10">\acrlong</span>, which don’t recognise multiple
+ abbreviation styles.
</li>
- <li class="itemize"><span
-class="cmss-10">shortcuts=ac</span><a
- id="dx1-4108"></a>: set the shortcuts provided by the <span
+ <li class="itemize"><a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=ac</span><a
+ id="dx1-4157"></a>: set the shortcuts provided by the <span
class="cmss-10">glossaries </span>package for
acronyms (such as <span
class="cmtt-10">\ac</span>) but uses the <span
@@ -1438,11 +1839,15 @@
class="cmtt-10">\cgls </span>rather than <span
class="cmtt-10">\gls</span>.
</li>
- <li class="itemize"><span
-class="cmss-10">shortcuts=abbreviations</span><a
- id="dx1-4109"></a> (or <span
-class="cmss-10">shortcuts=abbr</span><a
- id="dx1-4110"></a>):
+ <li class="itemize"><a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=abbreviations</span><a
+ id="dx1-4158"></a> (or <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=abbr</span><a
+ id="dx1-4159"></a>):
set the abbreviation shortcuts provided by <span
class="cmss-10">glossaries-extra</span>. (See <a
href="#sec:abbrshortcuts"><span
@@ -1452,9 +1857,11 @@
shortcuts provided by the <span
class="cmss-10">glossaries </span>package.
</li>
- <li class="itemize"><span
-class="cmss-10">shortcuts=other</span><a
- id="dx1-4111"></a>: set the “other” shortcut commands, but not the shortcut
+ <li class="itemize"><a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=other</span><a
+ id="dx1-4160"></a>: set the “other” shortcut commands, but not the shortcut
commands for abbreviations or the acronym shortcuts provided by
<span
class="cmss-10">glossaries</span>. The “other” shortcuts are:
@@ -1461,90 +1868,168 @@
<ul class="itemize2">
<li class="itemize"><span
class="cmtt-10">\newentry</span><a
- id="dx1-4112"></a> equivalent to <span
+ id="dx1-4161"></a> equivalent to <span
class="cmtt-10">\newglossaryentry</span><a
- id="dx1-4113"></a>
+ id="dx1-4162"></a>
</li>
<li class="itemize"><span
class="cmtt-10">\newsym</span><a
- id="dx1-4114"></a> equivalent to <span
+ id="dx1-4163"></a> equivalent to <span
class="cmtt-10">\glsxtrnewsymbol</span><a
- id="dx1-4115"></a> (see the <span
-class="cmss-10">symbols</span><a
- id="dx1-4116"></a>
+ id="dx1-4164"></a> (see the <a
+href="#styopt.symbols"><span
+class="cmss-10">symbols</span></a><a
+ id="dx1-4165"></a>
option).
</li>
<li class="itemize"><span
class="cmtt-10">\newnum</span><a
- id="dx1-4117"></a> equivalent to <span
+ id="dx1-4166"></a> equivalent to <span
class="cmtt-10">\glsxtrnewnumber</span><a
- id="dx1-4118"></a> (see the <span
-class="cmss-10">numbers</span><a
- id="dx1-4119"></a>
+ id="dx1-4167"></a> (see the <a
+href="#styopt.numbers"><span
+class="cmss-10">numbers</span></a><a
+ id="dx1-4168"></a>
option).</li></ul>
</li>
- <li class="itemize"><span
-class="cmss-10">shortcuts=all</span><a
- id="dx1-4120"></a> (or <span
-class="cmss-10">shortcuts=true</span><a
- id="dx1-4121"></a>): define all the shortcut commands.
+ <li class="itemize"><a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=all</span><a
+ id="dx1-4169"></a> (or <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=true</span><a
+ id="dx1-4170"></a>): implements both <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=ac</span><a
+ id="dx1-4171"></a> and
+ <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=other</span><a
+ id="dx1-4172"></a>
</li>
- <li class="itemize"><span
-class="cmss-10">shortcuts=none</span><a
- id="dx1-4122"></a> (or <span
-class="cmss-10">shortcuts=false</span><a
- id="dx1-4123"></a>): don’t define any of the shortcut
+ <li class="itemize"><a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=none</span><a
+ id="dx1-4173"></a> (or <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><span
+class="cmss-10">=false</span><a
+ id="dx1-4174"></a>): don’t define any of the shortcut
commands (default).</li></ul>
- <!--l. 820--><p class="noindent" >Note that multiple invocations of the <span
-class="cmss-10">shortcuts</span><a
- id="dx1-4124"></a> option <span
+ <!--l. 962--><p class="noindent" >Note that multiple invocations of the <a
+href="#styopt.shortcuts"><span
+class="cmss-10">shortcuts</span></a><a
+ id="dx1-4175"></a> option <span
class="cmti-10">within the same option</span>
<span
class="cmti-10">list </span>will override each other.</p></dd></dl>
-<!--l. 824--><p class="indent" > After the <span
+<!--l. 966--><p class="indent" > After the <span
class="cmss-10">glossaries-extra </span>package has been loaded, you can set available options
using
-</p><!--l. 826--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 968--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glossariesextrasetup</span><span
class="cmtt-9"> </span></span><a
- id="dx1-4125"></a> <span
+ id="dx1-4176"></a> <span
class="cmtt-10">\glossariesextrasetup{</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 828--><p class="noindent" >
+</p><!--l. 970--><p class="noindent" >
The <a
href="#styopt.abbreviations"><span
class="cmss-10">abbreviations</span></a><a
- id="dx1-4126"></a> and <a
+ id="dx1-4177"></a> and <a
href="#styopt.docdef"><span
class="cmss-10">docdef</span></a><a
- id="dx1-4127"></a> options may only be used in the preamble. Additionally,
+ id="dx1-4178"></a> options may only be used in the preamble. Additionally,
<a
href="#styopt.docdef"><span
class="cmss-10">docdef</span></a><a
- id="dx1-4128"></a> can’t be used after <span
+ id="dx1-4179"></a> can’t be used after <span
class="cmtt-10">\makenoidxglossaries</span><a
- id="dx1-4129"></a>.
+ id="dx1-4180"></a>.
</p>
-<!--l. 833--><p class="indent" > </div>
-</p><!--l. 833--><p class="noindent" ><a
+<!--l. 975--><p class="indent" > </div>
+</p><!--l. 975--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">2. <a
id="sec:modifications"></a>Modifications to Existing Commands and Styles</h2>
-</p><!--l. 836--><p class="indent" > The commands used by <span
+</p><!--l. 978--><p class="indent" > The <span
+class="cmss-10">glossaries </span>package provides
+</p><!--l. 979--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsseeitemformat</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-5001"></a> <span
+class="cmtt-10">\glsseeitemformat{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 981--><p class="noindent" >
+to format items in a cross-reference list (identified with the <span
+class="cmss-10">see</span><a
+ id="dx1-5002"></a> key or <span
+class="cmtt-10">\glssee</span>). This
+was originally defined to use <span
+class="cmtt-10">\glsentryname{</span>⟨<span
+class="cmti-10">label</span>⟩<span
+class="cmtt-10">} </span>since it makes more sense for the
+cross-reference to match the way the term appears in the glossary. Unfortunately this
+caused a problem when the <span
+class="cmss-10">name</span><a
+ id="dx1-5003"></a> field was sanitized, which used to be the default
+setting, so <span
+class="cmss-10">glossaries </span>v3.0 changed the default definition of this command to
+use <span
+class="cmtt-10">\glsentrytext </span>instead. Since the <span
+class="cmss-10">name</span><a
+ id="dx1-5004"></a> and <span
+class="cmss-10">text</span><a
+ id="dx1-5005"></a> field are quite often
+the same, this change usually doesn’t have a noticeable effect. However,
+now that the <span
+class="cmss-10">name</span><a
+ id="dx1-5006"></a> field is no longer sanitized (following the redesign of
+<span
+class="cmss-10">glossaries </span>v4.0) it makes more sense to restore this command to its original
+behaviour, but to take account of abbreviations <span
+class="cmss-10">glossaries-extra </span>redefines this
+as:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-25">
+\renewcommand*{\glsseeitemformat}[1]{%
+ <br />  \glsifregular{#1}{\glsaccessname{#1}}{\glsaccesstext{#1}}%
+ <br />}
+</div>
+<!--l. 1000--><p class="nopar" > If you want to restore the <span
+class="cmss-10">glossaries </span>v3.0+ definition just do:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-26">
+\renewcommand*{\glsseeitemformat}[1]{\glsentrytext{#1}}
+</div>
+<!--l. 1004--><p class="nopar" >
+</p><!--l. 1006--><p class="indent" > The commands used by <span
class="cmss-10">glossaries </span>to automatically produce an error if an entry is
undefined (such as <span
class="cmtt-10">\glsdoifexists</span><a
- id="dx1-5001"></a>) are changed to take the <a
+ id="dx1-5007"></a>) are changed to take the <a
href="#styopt.undefaction"><span
class="cmss-10">undefaction</span></a><a
- id="dx1-5002"></a> option into
+ id="dx1-5008"></a> option into
account.
-</p><!--l. 840--><p class="indent" > The <span
+</p><!--l. 1010--><p class="indent" > The <span
class="cmtt-10">\newignoredglossary</span><a
- id="dx1-5003"></a><span
+ id="dx1-5009"></a><span
class="cmtt-10">{</span>⟨<span
class="cmti-10">type</span>⟩<span
class="cmtt-10">} </span>command now (as from v1.11) has a starred
@@ -1552,7 +2037,7 @@
be used with the <a
href="#catattr.targeturl"><span
class="cmss-10">targeturl</span></a><a
- id="dx1-5004"></a> attribute to create a link to an external URL. (See <a
+ id="dx1-5010"></a> attribute to create a link to an external URL. (See <a
href="#sec:categories"><span
class="cmsy-10">§</span>5
</a><a
@@ -1560,22 +2045,22 @@
check that the glossary doesn’t already exist. (The <span
class="cmss-10">glossaries </span>package omits this
check.)
-</p><!--l. 849--><p class="indent" > You can now provide an ignored glossary with:
-</p><!--l. 850--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1019--><p class="indent" > You can now provide an ignored glossary with:
+</p><!--l. 1020--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\provideignoredglossary</span><span
class="cmtt-9"> </span></span><a
- id="dx1-5005"></a> <span
+ id="dx1-5011"></a> <span
class="cmtt-10">\provideignoredglossary{</span>⟨<span
class="cmitt-10">type</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 852--><p class="noindent" >
+</p><!--l. 1022--><p class="noindent" >
which will only define the glossary if it doesn’t already exist. This also has a starred
version that doesn’t automatically switch off hyperlinks.
-</p><!--l. 857--><p class="indent" > The individual glossary displaying commands <span
+</p><!--l. 1027--><p class="indent" > The individual glossary displaying commands <span
class="cmtt-10">\printglossary</span><a
- id="dx1-5006"></a>, <span
+ id="dx1-5012"></a>, <span
class="cmtt-10">\printnoidxglossary</span><a
- id="dx1-5007"></a>
+ id="dx1-5013"></a>
and <span
class="cmtt-10">\printunsrtglossary </span>have two extra keys:
</p>
@@ -1582,7 +2067,7 @@
<ul class="itemize1">
<li class="itemize"><span
class="cmss-10">target</span><a
- id="dx1-5008"></a>. This is a boolean key which can be used to switch off the automatic
+ id="dx1-5014"></a>. This is a boolean key which can be used to switch off the automatic
hypertarget for each entry. Unlike <span
class="cmtt-10">\glsdisablehyper </span>this doesn’t switch
off hyperlinks, so any cross-references within the glossary won’t be affected.
@@ -1591,7 +2076,7 @@
</li>
<li class="itemize"><span
class="cmss-10">targetnameprefix</span><a
- id="dx1-5009"></a><span
+ id="dx1-5015"></a><span
class="cmtt-10">={</span>⟨<span
class="cmti-10">prefix</span>⟩<span
class="cmtt-10">}</span>. Another way of avoiding duplicate target names
@@ -1599,12 +2084,12 @@
class="cmtt-10">\glolinkprefix</span>
this doesn’t affect any hyperlinks (such as those created with <span
class="cmtt-10">\gls</span>).</li></ul>
-<!--l. 875--><p class="indent" > The <span
+<!--l. 1045--><p class="indent" > The <span
class="cmtt-10">\newglossaryentry </span>command has three new keys: </p>
<ul class="itemize1">
<li class="itemize"><span
class="cmss-10">category</span><a
- id="dx1-5010"></a>, which sets the category label for the given entry. By default this
+ id="dx1-5016"></a>, which sets the category label for the given entry. By default this
is <span
class="cmtt-10">general</span>. See <a
href="#sec:categories"><span
@@ -1613,43 +2098,43 @@
</li>
<li class="itemize"><span
class="cmss-10">alias</span><a
- id="dx1-5011"></a>, which allows an entry to be alias to another entry. See <a
+ id="dx1-5017"></a>, which allows an entry to be alias to another entry. See <a
href="#sec:alias"><span
-class="cmsy-10">§</span>10.3 </a><a
+class="cmsy-10">§</span>10.4 </a><a
href="#sec:alias">Entry
Aliases<!--tex4ht:ref: sec:alias --></a> for further details.
</li>
<li class="itemize"><span
class="cmss-10">seealso</span><a
- id="dx1-5012"></a>, which performs much like <span
+ id="dx1-5018"></a>, which performs much like <span
class="cmss-10">see</span><a
- id="dx1-5013"></a>, but allows for separate “see” and
+ id="dx1-5019"></a>, but allows for separate “see” and
+
+
+
“see also” treatment. See <a
href="#sec:see"><span
class="cmsy-10">§</span>2.2 </a><a
href="#sec:see">Cross-References (“see” and “see also”)<!--tex4ht:ref: sec:see --></a> for
further details.</li></ul>
-<!--l. 887--><p class="noindent" >The test file <span
+<!--l. 1057--><p class="noindent" >The test file <span
class="cmtt-10">example-glossaries-xr.tex </span>contains dummy entries with a mixture of
-
-
-
<span
class="cmss-10">see</span><a
- id="dx1-5014"></a>, <span
+ id="dx1-5020"></a>, <span
class="cmss-10">alias</span><a
- id="dx1-5015"></a> and <span
+ id="dx1-5021"></a> and <span
class="cmss-10">seealso</span><a
- id="dx1-5016"></a> keys for use with minimal working examples. There are also
+ id="dx1-5022"></a> keys for use with minimal working examples. There are also
<span
class="cmtt-10">example-glossaries-*.bib </span>files that correspond to each <span
class="cmtt-10">example-glossaries-*.tex</span>
file for testing <a
- id="dx1-5017"></a><a
+ id="dx1-5023"></a><a
href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-5018"></a></a>.
-</p><!--l. 894--><p class="indent" > The <span
+ id="dx1-5024"></a></a>.
+</p><!--l. 1064--><p class="indent" > The <span
class="cmtt-10">\longnewglossaryentry </span>command now has a starred version (as from v1.12)
that doesn’t automatically insert
@@ -1656,14 +2141,14 @@
</p>
- <div class="verbatim" id="verbatim-17">
+ <div class="verbatim" id="verbatim-27">
\leavevmode\unskip\nopostdesc
</div>
-<!--l. 898--><p class="nopar" > at the end of the description field.
-</p><!--l. 900--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+<!--l. 1068--><p class="nopar" > at the end of the description field.
+</p><!--l. 1070--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\longnewglossaryentry</span><span
class="cmtt-9"> </span></span><a
- id="dx1-5019"></a> <span
+ id="dx1-5025"></a> <span
class="cmtt-10">\longnewglossaryentry*{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -1673,19 +2158,19 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">description</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 902--><p class="noindent" >
+</p><!--l. 1072--><p class="noindent" >
The <span
class="cmss-10">descriptionplural</span><a
- id="dx1-5020"></a> key is left unset unless explicitly set in ⟨<span
+ id="dx1-5026"></a> key is left unset unless explicitly set in ⟨<span
class="cmti-10">options</span>⟩.
-</p><!--l. 906--><p class="indent" > The unstarred version no longer hard-codes the above code (which removes
+</p><!--l. 1076--><p class="indent" > The unstarred version no longer hard-codes the above code (which removes
trailing space and suppresses the post-description hook) but instead uses:
-</p><!--l. 909--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1079--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostlongdescription</span><span
class="cmtt-9"> </span></span><a
- id="dx1-5021"></a> <span
+ id="dx1-5027"></a> <span
class="cmtt-10">\glsxtrpostlongdescription </span></div><hr>
-</p><!--l. 911--><p class="noindent" >
+</p><!--l. 1081--><p class="noindent" >
This can be redefined to allow the post-description hook to work but retain the
<span
class="cmtt-10">\unskip </span>part if required. For example:
@@ -1693,43 +2178,44 @@
</p>
- <div class="verbatim" id="verbatim-18">
+ <div class="verbatim" id="verbatim-28">
\renewcommand*{\glsxtrpostlongdescription}{\leavevmode\unskip}
</div>
-<!--l. 917--><p class="nopar" > This will discarded unwanted trailing space at the end of the description but won’t
+<!--l. 1087--><p class="nopar" > This will discarded unwanted trailing space at the end of the description but won’t
suppress the post-description hook.
-</p><!--l. 921--><p class="indent" > The unstarred version also alters the base <span
+</p><!--l. 1091--><p class="indent" > The unstarred version also alters the base <span
class="cmss-10">glossaries</span><a
- id="dx1-5022"></a> package’s treatment of the
+ id="dx1-5028"></a> package’s treatment of the
<span
class="cmss-10">descriptionplural</span><a
- id="dx1-5023"></a> key. Since a plural description doesn’t make much sense for
+ id="dx1-5029"></a> key. Since a plural description doesn’t make much sense for
multi-paragraph descriptions, the default behaviour with <span
class="cmss-10">glossaries-extra</span><a
- id="dx1-5024"></a>’s
+ id="dx1-5030"></a>’s
<span
class="cmtt-10">\longnewglossaryentry </span>is to simply leave the plural description unset
unless explicitly set using the <span
class="cmss-10">descriptionplural</span><a
- id="dx1-5025"></a> key. The <span
+ id="dx1-5031"></a> key. The <span
class="cmss-10">glossaries.sty </span>version
of this command sets the description’s plural form to the same as the
singular.<span class="footnote-mark"><a
href="#fn1x2" id="fn1x2-bk"><sup class="textsuperscript">2.1</sup></a></span><a
- id="x1-5026f1"></a>
-</p><!--l. 936--><p class="indent" > Note that this modified unstarred version doesn’t append <span
+ id="x1-5032f1"></a>
+</p><!--l. 1106--><p class="indent" > Note that this modified unstarred version doesn’t append <span
class="cmtt-10">\glsxtrpostlongdescription</span>
to the description’s plural form.
-</p><!--l. 939--><p class="indent" > The <span
+</p><!--l. 1109--><p class="indent" > The <span
class="cmtt-10">\newterm</span><a
- id="dx1-5032"></a> command (defined through the <span
-class="cmss-10">index</span><a
- id="dx1-5033"></a> package option) is modified
+ id="dx1-5038"></a> command (defined through the <a
+href="#styopt.index"><span
+class="cmss-10">index</span></a><a
+ id="dx1-5039"></a> package option) is modified
so that the category defaults to <span
class="cmss-10">index</span><a
- id="dx1-5034"></a>. The <span
+ id="dx1-5040"></a>. The <span
class="cmtt-10">\newacronym</span><a
- id="dx1-5035"></a> command is modified
+ id="dx1-5041"></a> command is modified
to use the new abbreviation interface provided by <span
class="cmss-10">glossaries-extra</span>. (See <a
href="#sec:abbreviations"><span
@@ -1736,16 +2222,16 @@
class="cmsy-10">§</span>3
</a><a
href="#sec:abbreviations">Abbreviations<!--tex4ht:ref: sec:abbreviations --></a>.)
-</p><!--l. 945--><p class="indent" > The <span
+</p><!--l. 1115--><p class="indent" > The <span
class="cmtt-10">\makeglossaries </span>command now has an optional argument.
-</p><!--l. 946--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1116--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\makeglossaries</span><span
class="cmtt-9"> </span></span><a
- id="dx1-5036"></a> <span
+ id="dx1-5042"></a> <span
class="cmtt-10">\makeglossaries[</span>⟨<span
class="cmitt-10">list</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 948--><p class="noindent" >
+</p><!--l. 1118--><p class="noindent" >
If ⟨<span
class="cmti-10">list</span>⟩ is empty, <span
class="cmtt-10">\makeglossaries </span>behaves as per its original definition in the
@@ -1753,7 +2239,22 @@
class="cmss-10">glossaries </span>package, otherwise ⟨<span
class="cmti-10">list</span>⟩ can be a comma-separated list of glossaries that
need processing with an external indexing application.
-</p><!--l. 954--><p class="indent" > It should then be possible to use <span
+</p><!--l. 1124--><p class="indent" > This command is not permitted with the <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=only</span><a
+ id="dx1-5043"></a> package option. Without
+the optional argument, it’s permitted with <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=alsoindex</span><a
+ id="dx1-5044"></a>. With the optional
+argument, it’s only permitted with the default <a
+href="#styopt.record"><span
+class="cmss-10">record</span></a><span
+class="cmss-10">=off</span><a
+ id="dx1-5045"></a>.
+</p><!--l. 1129--><p class="indent" > It should then be possible to use <span
class="cmtt-10">\printglossary </span>for those glossaries listed in ⟨<span
class="cmti-10">list</span>⟩
and <span
@@ -1760,58 +2261,61 @@
class="cmtt-10">\printnoidxglossary </span>for the other glossaries. (See the accompanying file
<span
class="cmtt-10">sample-mixedsort.tex </span>for an example.)
-</p><!--l. 959--><p class="indent" > <div class="important" title="Important Note"> If you use the optional argument ⟨<span
+</p><!--l. 1134--><p class="indent" > <div class="important" title="Important Note"> If you use the optional argument ⟨<span
class="cmti-10">list</span>⟩, you can’t define entries in the document
(even with the <a
href="#styopt.docdef"><span
class="cmss-10">docdef</span></a><a
- id="dx1-5037"></a> option). </div>
-</p><!--l. 962--><p class="noindent" >
-</p><!--l. 964--><p class="indent" > You will need at least version 2.20 of <a
- id="dx1-5038"></a><a
+ id="dx1-5046"></a> option). </div>
+</p><!--l. 1137--><p class="noindent" >
+</p><!--l. 1139--><p class="indent" > You will need at least version 2.20 of <a
+ id="dx1-5047"></a><a
href="#glo:makeglossaries"><span
class="cmtt-10">makeglossaries</span></a> or at least version 1.3 of
the Lua alternative <a
- id="dx1-5039"></a><a
+ id="dx1-5048"></a><a
href="#glo:makeglossaries-lite.lua"><span
-class="cmtt-10">makeglossaries-lite.lua</span><a
- id="dx1-5040"></a></a> (both distributed with <span
-class="cmss-10">glossaries</span>
-v4.27) to allow for this use of <span
+class="cmtt-10">makeglossaries-lite</span><a
+ id="dx1-5049"></a></a> (both distributed with <span
+class="cmss-10">glossaries </span>v4.27) to
+allow for this use of <span
class="cmtt-10">\makeglossaries[</span>⟨<span
class="cmti-10">list</span>⟩<span
-class="cmtt-10">]</span>. Alternatively, use the
-<span
-class="cmss-10">automake</span><a
- id="dx1-5041"></a> option.
+class="cmtt-10">]</span>. Alternatively, use the <a
+href="#styopt.automake"><span
+class="cmss-10">automake</span></a><a
+ id="dx1-5050"></a>
+option.
</p>
-<!--l. 970--><p class="noindent" ><a
+<!--l. 1145--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.1 </span> <a
id="sec:wrglossary"></a>Entry Indexing</h3>
-<!--l. 973--><p class="noindent" >The <span
+<!--l. 1148--><p class="noindent" >The <span
class="cmss-10">glossaries-extra </span>package provides extra keys for commands like <span
class="cmtt-10">\gls </span>and
<span
class="cmtt-10">\glstext</span>:
+
+
+
</p><dl class="description"><dt class="description">
<span
class="cmssbx-10">noindex</span><a
id="dx1-6001"></a> </dt><dd
class="description">This is a boolean key. If true, this suppresses the indexing. (That is,
-
-
-
it prevents <span
class="cmtt-10">\gls </span>or whatever from adding a line to the external glossary
- file.) This is more useful than the <span
-class="cmss-10">indexonlyfirst</span><a
+ file.) This is more useful than the <a
+href="#styopt.indexonlyfirst"><span
+class="cmss-10">indexonlyfirst</span></a><a
id="dx1-6002"></a> package option provided
by <span
class="cmss-10">glossaries</span>, as the <a
id="dx1-6003"></a><a
href="#glo:firstuse">first use</a> might not be the most pertinent use. (If you
- want to apply <span
-class="cmss-10">indexonlyfirst</span><a
+ want to apply <a
+href="#styopt.indexonlyfirst"><span
+class="cmss-10">indexonlyfirst</span></a><a
id="dx1-6004"></a> to selected entries, rather than all of them, you
can use the <a
href="#catattr.indexonlyfirst"><span
@@ -1849,19 +2353,19 @@
settings (such as <span
class="cmss-10">noindex</span><a
id="dx1-6010"></a>).
- <!--l. 1003--><p class="noindent" >The default value is set up using
- </p><!--l. 1004--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 1178--><p class="noindent" >The default value is set up using
+ </p><!--l. 1179--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrinitwrgloss</span><span
class="cmtt-9"> </span></span><a
id="dx1-6011"></a> <span
class="cmtt-10">\glsxtrinitwrgloss </span></div><hr>
- </p><!--l. 1006--><p class="noindent" >
+ </p><!--l. 1181--><p class="noindent" >
which is defined as:
</p>
- <div class="verbatim" id="verbatim-19">
+ <div class="verbatim" id="verbatim-29">
\newcommand*{\glsxtrinitwrgloss}{%
 <br /> \glsifattribute{\glslabel}{wrgloss}{after}%
 <br /> {%
@@ -1872,15 +2376,15 @@
 <br /> }%
 <br />}
</div>
- <!--l. 1018--><p class="nopar" > This sets the conditional
- </p><!--l. 1020--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 1193--><p class="nopar" > This sets the conditional
+ </p><!--l. 1195--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\ifglsxtrinitwrglossbefore</span><span
class="cmtt-9"> </span></span><a
id="dx1-6012"></a> <span
class="cmtt-10">\ifglsxtrinitwrgloss </span></div><hr>
- </p><!--l. 1022--><p class="noindent" >
+ </p><!--l. 1197--><p class="noindent" >
which is used to determine where to perform the indexing.
- </p><!--l. 1025--><p class="noindent" >This means you can set the <a
+ </p><!--l. 1200--><p class="noindent" >This means you can set the <a
href="#catattr.wrgloss"><span
class="cmss-10">wrgloss</span></a><a
id="dx1-6013"></a> attribute to <span
@@ -1893,29 +2397,115 @@
id="dx1-6015"></a> will override
<span
class="cmtt-10">\glsxtrinitwrgloss</span>.)
+ </p></dd><dt class="description">
+<span
+class="cmssbx-10">hyperoutside</span><a
+ id="dx1-6016"></a> </dt><dd
+class="description">(New to v1.21.) This is a boolean key. The default is <span
+class="cmtt-10">hyperoutside=true</span>,
+ which puts the hyperlink outside <span
+class="cmtt-10">\glstextformat</span>, so that commands like <span
+class="cmtt-10">\gls</span>
+ will effectively do <div class="alltt">
+ <div class="obeylines-v">
+ <span
+class="cmtt-10">\hyperlink{</span>⟨<span
+class="cmitt-10">target</span>⟩<span
+class="cmtt-10">}</span><span
+class="cmsy-10">{</span><span
+class="cmtt-10">\glstextformat{</span>⟨<span
+class="cmitt-10">link</span><span
+class="cmitt-10"> text</span>⟩<span
+class="cmtt-10">}</span><span
+class="cmsy-10">}</span>
+</div>
+ </div> This is the same behaviour as with the base <span
+class="cmss-10">glossaries </span>package. With
+ <span
+class="cmtt-10">hyperoutside=false</span>, <span
+class="cmtt-10">\hyperlink </span>is placed inside the argument of
+ <span
+class="cmtt-10">\glstextformat</span>: <div class="alltt">
+ <div class="obeylines-v">
+ <span
+class="cmtt-10">\glstextformat</span><span
+class="cmsy-10">{</span><span
+class="cmtt-10">\hyperlink{</span>⟨<span
+class="cmitt-10">target</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">link</span><span
+class="cmitt-10"> text</span>⟩<span
+class="cmtt-10">}</span><span
+class="cmsy-10">}</span>
+</div>
+ </div> You can use the <a
+href="#catattr.hyperoutside"><span
+class="cmss-10">hyperoutside</span></a><a
+ id="dx1-6017"></a> category attribute to set the default for a
+ given category. This can be combined with the use of the <a
+href="#catattr.textformat"><span
+class="cmss-10">textformat</span></a><a
+ id="dx1-6018"></a>
+ attribute to counteract any interference caused by <span
+class="cmtt-10">\hyperlink</span>. For
+ example:
+
+
+
+ <div class="verbatim" id="verbatim-30">
+ \glssetcategoryattribute{mathrelation}{hyperoutside}{false}
+</div>
+ <!--l. 1227--><p class="nopar" > will set <span
+class="cmtt-10">hyperoutside=false </span>for all entries that are assigned to the category
+ <span
+class="cmtt-10">mathrelation </span>and
+
+
+
</p>
- </dd></dl>
-<!--l. 1034--><p class="indent" > There is a new hook that’s used each time indexing information is written to the
+ <div class="verbatim" id="verbatim-31">
+ \glssetcategoryattribute{mathrelation}{textformat}{mathrel}
+</div>
+ <!--l. 1232--><p class="nopar" > will use <span
+class="cmtt-10">\mathrel </span>instead of <span
+class="cmtt-10">\glstextformat </span>resulting in: </p><div class="alltt">
+ <div class="obeylines-v">
+ <span
+class="cmtt-10">\mathrel</span><span
+class="cmsy-10">{</span><span
+class="cmtt-10">\hyperlink{</span>⟨<span
+class="cmitt-10">target</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">link</span><span
+class="cmitt-10"> text</span>⟩<span
+class="cmtt-10">}</span><span
+class="cmsy-10">}</span>
+</div>
+ </div> for entries with the <span
+class="cmss-10">category</span><a
+ id="dx1-6019"></a> key set to <span
+class="cmtt-10">mathrelation</span>.</dd></dl>
+<!--l. 1241--><p class="indent" > There is a new hook that’s used each time indexing information is written to the
external glossary files:
-</p><!--l. 1036--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1243--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrdowrglossaryhook</span><span
class="cmtt-9"> </span></span><a
- id="dx1-6016"></a> <span
+ id="dx1-6020"></a> <span
class="cmtt-10">\glsxtrdowrglossaryhook{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1038--><p class="noindent" >
+</p><!--l. 1245--><p class="noindent" >
where ⟨<span
class="cmti-10">label</span>⟩ is the entry’s label. This does nothing by default but may be redefined.
(See, for example, the accompanying sample file <span
class="cmtt-10">sample-indexhook.tex</span>, which uses
this hook to determine which entries haven’t been indexed.)
-</p><!--l. 1045--><p class="indent" > As from version 1.14, there are two new keys for <span
+</p><!--l. 1252--><p class="indent" > As from version 1.14, there are two new keys for <span
class="cmtt-10">\glsadd</span>: <span
class="cmss-10">thevalue</span><a
- id="dx1-6017"></a> and <span
+ id="dx1-6021"></a> and <span
class="cmss-10">theHvalue</span><a
- id="dx1-6018"></a>.
+ id="dx1-6022"></a>.
These keys are designed for manually adding explicit locations rather than obtaining
the value from the associated counter. As from version 1.19, these two keys are also
available for commands like <span
@@ -1922,33 +2512,30 @@
class="cmtt-10">\gls </span>and <span
class="cmtt-10">\glslink</span>. The <span
class="cmss-10">thevalue</span><a
- id="dx1-6019"></a> keys is intended
+ id="dx1-6023"></a> keys is intended
primarily for adding locations in supplementary material that can’t be obtained from
a counter.
-</p><!--l. 1054--><p class="indent" > The principle key <span
+</p><!--l. 1261--><p class="indent" > The principle key <span
class="cmss-10">thevalue</span><a
- id="dx1-6020"></a> is for the location value. The other key <span
+ id="dx1-6024"></a> is for the location value. The other key <span
class="cmss-10">theHvalue</span><a
- id="dx1-6021"></a> can
+ id="dx1-6025"></a> can
be used to extract a prefix value for the first argument of commands like
<span
class="cmtt-10">\glsnoidxdisplayloc</span><a
- id="dx1-6022"></a>. It’s value must be in the format ⟨<span
+ id="dx1-6026"></a>. It’s value must be in the format ⟨<span
class="cmti-10">prefix</span>⟩⟨<span
class="cmti-10">location</span>⟩. In general,
there’s little need for this key as the prefix is typically associated with a counter that
can be used to form hypertargets.
-
-
-
-</p><!--l. 1062--><p class="indent" > <div class="important" title="Important Note"> If you use <span
+</p><!--l. 1269--><p class="indent" > <div class="important" title="Important Note"> If you use <span
class="cmss-10">thevalue</span><a
- id="dx1-6023"></a>, you must make sure that you use an indexing application
+ id="dx1-6027"></a>, you must make sure that you use an indexing application
that will accept the given value. </div>
-</p><!--l. 1065--><p class="noindent" >
-</p><!--l. 1067--><p class="indent" > For example, <span
+</p><!--l. 1272--><p class="noindent" >
+</p><!--l. 1274--><p class="indent" > For example, <span
class="cmtt-10">makeindex</span><a
- id="dx1-6024"></a> will only accept locations in the form [⟨<span
+ id="dx1-6028"></a> will only accept locations in the form [⟨<span
class="cmti-10">num</span>⟩⟨<span
class="cmti-10">sep</span>⟩]*⟨<span
class="cmti-10">num</span>⟩
@@ -1961,38 +2548,38 @@
with <span
class="cmtt-10">\glsSetCompositor</span>). This means that <span
class="cmtt-10">makeindex</span><a
- id="dx1-6025"></a> won’t accept, for
+ id="dx1-6029"></a> won’t accept, for
example,
</p>
- <div class="verbatim" id="verbatim-20">
+ <div class="verbatim" id="verbatim-32">
\glsadd[thevalue={Supplementary Material}]{sample}
</div>
-<!--l. 1077--><p class="nopar" > This location value will be accepted by <a
- id="dx1-6026"></a><a
+<!--l. 1284--><p class="nopar" > This location value will be accepted by <a
+ id="dx1-6030"></a><a
href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-6027"></a></a>, since it will allow any location and
+ id="dx1-6031"></a></a>, since it will allow any location and
will only try forming ranges if the location matches any of its numerical patterns.
In the case of <span
class="cmtt-10">xindy</span><a
- id="dx1-6028"></a>, you’ll need to add a rule that can match the value.
+ id="dx1-6032"></a>, you’ll need to add a rule that can match the value.
If you’re using <span
class="cmss-10">hyperref</span><a
- id="dx1-6029"></a>, you may need to use the <span
+ id="dx1-6033"></a>, you may need to use the <span
class="cmss-10">format</span><a
- id="dx1-6030"></a> key to prevent a
+ id="dx1-6034"></a> key to prevent a
hyperlink if one can’t naturally be formed from the prefix, counter and location
value.
-</p><!--l. 1086--><p class="indent" > For example, suppose the file <span
+</p><!--l. 1293--><p class="indent" > For example, suppose the file <span
class="cmtt-10">suppl.tex </span>contains:
</p>
- <div class="verbatim" id="verbatim-21">
+ <div class="verbatim" id="verbatim-33">
\documentclass{article}
 <br />\usepackage{glossaries-extra}
 <br />\newglossaryentry{sample}{name={sample},description={an example}}
@@ -2003,10 +2590,10 @@
 <br />\gls{sample}.
 <br />\end{document}
</div>
-<!--l. 1101--><p class="nopar" > This has an entry on page S.2. Suppose another document wants to include this
+<!--l. 1308--><p class="nopar" > This has an entry on page S.2. Suppose another document wants to include this
location in the glossary. Then this can be done by setting <span
class="cmss-10">thevalue</span><a
- id="dx1-6031"></a> to <span
+ id="dx1-6035"></a> to <span
class="cmtt-10">S.2</span>. For
example:
@@ -2013,7 +2600,7 @@
</p>
- <div class="verbatim" id="verbatim-22">
+ <div class="verbatim" id="verbatim-34">
\documentclass{article}
 <br />\usepackage{glossaries-extra}
 <br />\makeglossaries
@@ -2024,38 +2611,38 @@
 <br />\glsadd[thevalue={S.2}]{sample}
 <br />\end{document}
</div>
-<!--l. 1120--><p class="nopar" > This location value will be accepted by <span
+<!--l. 1327--><p class="nopar" > This location value will be accepted by <span
class="cmtt-10">makeindex</span><a
- id="dx1-6032"></a> as it’s in the form ⟨<span
+ id="dx1-6036"></a> as it’s in the form ⟨<span
class="cmti-10">num</span>⟩⟨<span
class="cmti-10">sep</span>⟩⟨<span
class="cmti-10">num</span>⟩.
-</p><!--l. 1124--><p class="indent" > If you want hyperlinks, things are more complicated. First you need to set the
+</p><!--l. 1331--><p class="indent" > If you want hyperlinks, things are more complicated. First you need to set the
<a
href="#catattr.externallocation"><span
class="cmss-10">externallocation</span></a><a
- id="dx1-6033"></a> to the location of the PDF file. For example:
+ id="dx1-6037"></a> to the location of the PDF file. For example:
</p>
- <div class="verbatim" id="verbatim-23">
+ <div class="verbatim" id="verbatim-35">
\glssetcategoryattribute{supplemental}{externallocation}{suppl.pdf}
 <br />\newglossaryentry{sample}{category=supplemental,
 <br /> name={sample},description={an example}}
</div>
-<!--l. 1132--><p class="nopar" > Next you need to add <span
+<!--l. 1339--><p class="nopar" > Next you need to add <span
class="cmtt-10">glsxtrsupphypernumber </span>as the format:
</p>
- <div class="verbatim" id="verbatim-24">
+ <div class="verbatim" id="verbatim-36">
\glsadd[thevalue={S.2},format=glsxtrsupphypernumber]{sample}
</div>
-<!--l. 1136--><p class="nopar" > Both documents will need to use the <span
+<!--l. 1343--><p class="nopar" > Both documents will need to use the <span
class="cmss-10">hyperref</span><a
- id="dx1-6034"></a> package. Remember that the counter
+ id="dx1-6038"></a> package. Remember that the counter
used for the location also needs to match. If <span
class="cmtt-10">\theH</span>⟨<span
class="cmti-10">counter</span>⟩ is defined in the other
@@ -2062,21 +2649,21 @@
document and doesn’t match in the referencing document, then you need to use
<span
class="cmss-10">theHvalue</span><a
- id="dx1-6035"></a> to set the appropriate value. See the accompanying sample files
+ id="dx1-6039"></a> to set the appropriate value. See the accompanying sample files
<span
class="cmtt-10">sample-suppl-hyp.tex </span>and <span
class="cmtt-10">sample-suppl-main-hyp.tex </span>for an example that uses
<span
class="cmss-10">hyperref</span><a
- id="dx1-6036"></a>.
-</p><!--l. 1146--><p class="indent" > <div class="important" title="Important Note"> The hyperlink for the supplementary location may or <span
+ id="dx1-6040"></a>.
+</p><!--l. 1353--><p class="indent" > <div class="important" title="Important Note"> The hyperlink for the supplementary location may or <span
class="cmti-10">may not </span>take you to the
relevant place in the external PDF file <span
class="cmti-10">depending on your PDF viewer</span>. Some may not
support external links, and some may take you to the first page or last visited page.
</div>
-</p><!--l. 1151--><p class="noindent" >
-</p><!--l. 1153--><p class="indent" > For example, if both <span
+</p><!--l. 1358--><p class="noindent" >
+</p><!--l. 1360--><p class="indent" > For example, if both <span
class="cmtt-10">sample-suppl-hyp.pdf </span>and <span
class="cmtt-10">sample-suppl-main-hyp.pdf</span>
are in the same directory, then viewing <span
@@ -2084,12 +2671,12 @@
take you to the correct location in the linked document (when you click on the S.2
external link), but Okular will take you to the top of the first page of the linked
document.
-</p><!--l. 1160--><p class="noindent" >
+</p><!--l. 1367--><p class="noindent" >
</p>
-<!--l. 1160--><p class="noindent" ><a
+<!--l. 1367--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.2 </span> <a
id="sec:see"></a>Cross-References (“see” and “see also”)</h3>
-<!--l. 1163--><p class="noindent" >The value of the <span
+<!--l. 1370--><p class="noindent" >The value of the <span
class="cmss-10">see</span><a
id="dx1-7001"></a> key is now saved as a field. This isn’t the case with <span
class="cmss-10">glossaries</span>,
@@ -2116,20 +2703,20 @@
id="dx1-7008"></a><a
id="dx1-7009"></a> environment on the next
run.
-</p><!--l. 1176--><p class="indent" > This modification allows <span
+</p><!--l. 1383--><p class="indent" > This modification allows <span
class="cmss-10">glossaries-extra </span>to provide
-</p><!--l. 1177--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1384--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtraddallcrossrefs</span><span
class="cmtt-9"> </span></span><a
id="dx1-7010"></a> <span
class="cmtt-10">\glsxtraddallcrossrefs </span></div><hr>
-</p><!--l. 1179--><p class="noindent" >
+</p><!--l. 1386--><p class="noindent" >
which is used at the end of the document to automatically add any unused
cross-references unless the package option <a
href="#styopt.indexcrossrefs"><span
class="cmss-10">indexcrossrefs</span></a><a
id="dx1-7011"></a> was set to false.
-</p><!--l. 1184--><p class="indent" > As a by-product of this enhancement, the <span
+</p><!--l. 1391--><p class="indent" > As a by-product of this enhancement, the <span
class="cmss-10">see</span><a
id="dx1-7012"></a> key will now work for entries
defined in the <span
@@ -2144,23 +2731,26 @@
opened by <span
class="cmtt-10">\makeglossaries</span>. Note that <span
-class="cmss-10">glossaries </span>v4.24 introduced the <span
-class="cmss-10">seenoindex</span><a
+class="cmss-10">glossaries </span>v4.24 introduced the <a
+href="#styopt.seenoindex"><span
+class="cmss-10">seenoindex</span></a><a
id="dx1-7016"></a>
package option, which can be used to suppress the error when the <span
class="cmss-10">see</span><a
id="dx1-7017"></a> key
is used before <span
-class="cmtt-10">\makeglossaries</span>, so <span
-class="cmss-10">seenoindex=ignore</span><a
+class="cmtt-10">\makeglossaries</span>, so <a
+href="#styopt.seenoindex"><span
+class="cmss-10">seenoindex</span></a><span
+class="cmss-10">=ignore</span><a
id="dx1-7018"></a> will allow the <span
class="cmss-10">see</span><a
id="dx1-7019"></a>
value to be stored even though it may not be possible to index it at that
point.
-</p><!--l. 1195--><p class="indent" > As from version 1.06, you can display the cross-referenced information for a given
+</p><!--l. 1402--><p class="indent" > As from version 1.06, you can display the cross-referenced information for a given
entry using
-</p><!--l. 1197--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1404--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrusesee</span><span
class="cmtt-9"> </span></span><a
id="dx1-7020"></a> <span
@@ -2167,9 +2757,9 @@
class="cmtt-10">\glsxtrusesee{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1199--><p class="noindent" >
+</p><!--l. 1406--><p class="noindent" >
This internally uses
-</p><!--l. 1201--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1408--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtruseseeformat</span><span
class="cmtt-9"> </span></span><a
id="dx1-7021"></a> <span
@@ -2178,7 +2768,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">xr list</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1203--><p class="noindent" >
+</p><!--l. 1410--><p class="noindent" >
where ⟨<span
class="cmti-10">tag</span>⟩ and ⟨<span
class="cmti-10">xr list</span>⟩ are obtained from the value of the entry’s <span
@@ -2200,13 +2790,15 @@
id="dx1-7024"></a> field hasn’t been set for the entry given by
⟨<span
class="cmti-10">label</span>⟩.
-</p><!--l. 1212--><p class="indent" > Suppose you want to suppress the <a
- id="dx1-7025"></a>number list using <span
-class="cmss-10">nonumberlist</span><a
+</p><!--l. 1419--><p class="indent" > Suppose you want to suppress the <a
+ id="dx1-7025"></a>number list using <a
+href="#styopt.nonumberlist"><span
+class="cmss-10">nonumberlist</span></a><a
id="dx1-7026"></a>. This
will automatically prevent the cross-references from being displayed. The
-<span
-class="cmss-10">seeautonumberlist</span><a
+<a
+href="#styopt.seeautonumberlist"><span
+class="cmss-10">seeautonumberlist</span></a><a
id="dx1-7027"></a> package option will automatically enable the <a
id="dx1-7028"></a>number list for entries
that have the <span
@@ -2214,7 +2806,7 @@
id="dx1-7029"></a> key set, but this will also show the rest of the <a
id="dx1-7030"></a>number
list.
-</p><!--l. 1219--><p class="indent" > Another approach in this situation is to use the post description hook
+</p><!--l. 1426--><p class="indent" > Another approach in this situation is to use the post description hook
with <span
class="cmtt-10">\glsxtrusesee </span>to append the cross-reference after the description. For
example:
@@ -2222,7 +2814,7 @@
</p>
- <div class="verbatim" id="verbatim-25">
+ <div class="verbatim" id="verbatim-37">
\renewcommand*{\glsxtrpostdescgeneral}{%
 <br /> \ifglshasfield{see}{\glscurrententrylabel}
 <br /> {, \glsxtrusesee{\glscurrententrylabel}}%
@@ -2229,11 +2821,11 @@
 <br /> {}%
 <br />}
</div>
-<!--l. 1228--><p class="nopar" > Now the cross-references can appear even though the <a
+<!--l. 1435--><p class="nopar" > Now the cross-references can appear even though the <a
id="dx1-7031"></a><a
href="#glo:numberlist">number list</a> has been
suppressed.
-</p><!--l. 1232--><p class="indent" > As from v1.16, there’s a separate <span
+</p><!--l. 1439--><p class="indent" > As from v1.16, there’s a separate <span
class="cmss-10">seealso</span><a
id="dx1-7032"></a> key. Unlike <span
class="cmss-10">see</span><a
@@ -2253,11 +2845,11 @@
class="cmtt-10">\seealsoname </span>or <span
class="cmtt-10">\glsxtruseseealsoformat</span>, described
below).
-</p><!--l. 1240--><p class="indent" > You can display the formatted list of cross-references stored in the <span
+</p><!--l. 1447--><p class="indent" > You can display the formatted list of cross-references stored in the <span
class="cmss-10">seealso</span><a
id="dx1-7035"></a> key
using:
-</p><!--l. 1242--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1449--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtruseseealso</span><span
class="cmtt-9"> </span></span><a
id="dx1-7036"></a> <span
@@ -2264,10 +2856,10 @@
class="cmtt-10">\glsxtruseseealso{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1244--><p class="noindent" >
+</p><!--l. 1451--><p class="noindent" >
This works in much the same way as <span
class="cmtt-10">\glsxtrusesee </span>but it internally uses
-</p><!--l. 1247--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1454--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtruseseeformat</span><span
class="cmtt-9"> </span></span><a
id="dx1-7037"></a> <span
@@ -2274,13 +2866,13 @@
class="cmtt-10">\glsxtruseseealsoformat{</span>⟨<span
class="cmitt-10">xr list</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1249--><p class="noindent" >
+</p><!--l. 1456--><p class="noindent" >
For example:
</p>
- <div class="verbatim" id="verbatim-26">
+ <div class="verbatim" id="verbatim-38">
\renewcommand*{\glsxtrpostdescgeneral}{%
 <br /> \ifglshasfield{see}{\glscurrententrylabel}
 <br /> {, \glsxtrusesee{\glscurrententrylabel}}%
@@ -2290,13 +2882,13 @@
 <br /> {}%
 <br />}
</div>
-<!--l. 1260--><p class="nopar" >
-</p><!--l. 1262--><p class="indent" > The actual unformatted comma-separated list ⟨<span
+<!--l. 1467--><p class="nopar" >
+</p><!--l. 1469--><p class="indent" > The actual unformatted comma-separated list ⟨<span
class="cmti-10">xr-list</span>⟩ stored in the <span
class="cmss-10">seealso</span><a
id="dx1-7038"></a> field
can be accessed with:
-</p><!--l. 1264--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1471--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrseealsolabels</span><span
class="cmtt-9"> </span></span><a
id="dx1-7039"></a> <span
@@ -2303,7 +2895,7 @@
class="cmtt-10">\glsxtrseealsolabels{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1266--><p class="noindent" >
+</p><!--l. 1473--><p class="noindent" >
This will just expand to the ⟨<span
class="cmti-10">xr-labels</span>⟩ provided in the value of the <span
class="cmss-10">seealso</span><a
@@ -2318,7 +2910,7 @@
class="cmti-10">tag</span>⟩<span
class="cmtt-10">]</span>, so it can’t be automatically treated as a simple comma-separated
list.
-</p><!--l. 1274--><p class="indent" > The base <span
+</p><!--l. 1481--><p class="indent" > The base <span
class="cmss-10">glossaries </span>package provides <span
class="cmtt-10">\glsseelist</span><a
id="dx1-7042"></a>, which requires a
@@ -2329,7 +2921,7 @@
class="cmtt-10">} </span>as the
argument. For convenience, <span
class="cmss-10">glossaries-extra </span>provides
-</p><!--l. 1279--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1486--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrseelist</span><span
class="cmtt-9"> </span></span><a
id="dx1-7043"></a> <span
@@ -2336,13 +2928,13 @@
class="cmtt-10">\glsxtrseelist{</span>⟨<span
class="cmitt-10">xr list</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1281--><p class="noindent" >
+</p><!--l. 1488--><p class="noindent" >
which fully expands its argument and passes it to <span
class="cmtt-10">\glsseelist</span>.
-</p><!--l. 1284--><p class="indent" > The <span
+</p><!--l. 1491--><p class="indent" > The <span
class="cmss-10">seealso</span><a
id="dx1-7044"></a> key implements the automatic indexing using
-</p><!--l. 1285--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1492--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrindexseealso</span><span
class="cmtt-9"> </span></span><a
id="dx1-7045"></a> <span
@@ -2351,7 +2943,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">xr list</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1287--><p class="noindent" >
+</p><!--l. 1494--><p class="noindent" >
which just does </p><div class="alltt">
<div class="obeylines-v">
<span
@@ -2362,22 +2954,23 @@
class="cmitt-10"> list</span>⟩<span
class="cmtt-10">}</span>
</div>
-</div> unless the <span
-class="cmss-10">xindy</span><a
+</div> unless the <a
+href="#styopt.xindy"><span
+class="cmss-10">xindy</span></a><a
id="dx1-7046"></a> option is used with <span
class="cmss-10">glossaries</span><a
id="dx1-7047"></a> v4.30+, in which case a distinct
<span
class="cmtt-10">seealso </span>cross-reference class is used instead.
-<!--l. 1296--><p class="noindent" >
+<!--l. 1503--><p class="noindent" >
</p>
-<!--l. 1296--><p class="noindent" ><a
+<!--l. 1503--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.3 </span> <a
id="sec:entryfmtmods"></a>Entry Display Style Modifications</h3>
-<!--l. 1299--><p class="noindent" >Recall from the <span
+<!--l. 1506--><p class="noindent" >Recall from the <span
class="cmss-10">glossaries </span>package that commands such as <span
class="cmtt-10">\gls </span>display text at
that point in the document (optionally with a hyperlink to the relevant
@@ -2388,7 +2981,7 @@
it’s displayed depends on the command used (such as <span
class="cmtt-10">\gls</span>) and the entry
format.
-</p><!--l. 1306--><p class="indent" > The default entry format (<span
+</p><!--l. 1513--><p class="indent" > The default entry format (<span
class="cmtt-10">\glsentryfmt</span><a
id="dx1-8002"></a>) used in the <a
id="dx1-8003"></a><a
@@ -2471,15 +3064,15 @@
</a><a
href="#sec:abbrstyle">Abbreviation Styles<!--tex4ht:ref: sec:abbrstyle --></a>).
</li></ul>
-<!--l. 1337--><p class="indent" > This means that entries with a short form can be treated as regular entries rather
+<!--l. 1544--><p class="indent" > This means that entries with a short form can be treated as regular entries rather
than abbreviations if it’s more appropriate for the desired style.
-</p><!--l. 1341--><p class="indent" > As from version 1.04, <span
+</p><!--l. 1548--><p class="indent" > As from version 1.04, <span
class="cmtt-10">\glsentryfmt</span><a
id="dx1-8024"></a> now puts <span
class="cmtt-10">\glsgenentry</span><a
id="dx1-8025"></a> in the argument of
the new command
-</p><!--l. 1343--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1550--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrregularfont</span><span
class="cmtt-9"> </span></span><a
id="dx1-8026"></a> <span
@@ -2486,7 +3079,7 @@
class="cmtt-10">\glsxtrregularfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1345--><p class="noindent" >
+</p><!--l. 1552--><p class="noindent" >
This just does its argument ⟨<span
class="cmti-10">text</span>⟩ by default. This means that if you want regular
entries in a different font but don’t want that font to apply to abbreviations, then
@@ -2494,16 +3087,20 @@
class="cmtt-10">\glsxtrregularfont</span>. This is more precise than changing
<span
class="cmtt-10">\glstextformat</span><a
- id="dx1-8027"></a> which will be applied to all linking commands for all entries.
-</p><!--l. 1353--><p class="indent" > For example:
+ id="dx1-8027"></a> which is applied to all linking commands for all entries, unless
+overridden by the <a
+href="#catattr.textformat"><span
+class="cmss-10">textformat</span></a><a
+ id="dx1-8028"></a> attribute.
+</p><!--l. 1561--><p class="indent" > For example:
</p>
- <div class="verbatim" id="verbatim-27">
+ <div class="verbatim" id="verbatim-39">
\renewcommand*{\glsxtrregularfont}[1]{\textsf{#1}}
</div>
-<!--l. 1356--><p class="nopar" > You can access the label through <span
+<!--l. 1564--><p class="nopar" > You can access the label through <span
class="cmtt-10">\glslabel</span>. For example, you can query the
category:
@@ -2510,79 +3107,67 @@
</p>
- <div class="verbatim" id="verbatim-28">
+ <div class="verbatim" id="verbatim-40">
\renewcommand*{\glsxtrregularfont}[1]{%
 <br /> \glsifcategory{\glslabel}{general}{\textsf{#1}}{#1}}
</div>
-<!--l. 1362--><p class="nopar" > or query the category attribute:
+<!--l. 1570--><p class="nopar" > or query the category attribute, for example, provide a custom attribute called
+<span
+class="cmtt-10">font</span>:
</p>
- <div class="verbatim" id="verbatim-29">
+ <div class="verbatim" id="verbatim-41">
\glssetcategoryattribute{general}{font}{sf}
 <br />\renewcommand*{\glsxtrregularfont}[1]{%
 <br /> \glsifattribute{\glslabel}{font}{sf}{\textsf{#1}}{#1}}
</div>
-<!--l. 1369--><p class="nopar" > or use the attribute to store the control sequence name:
+<!--l. 1578--><p class="nopar" > As from version 1.21, it’s simpler to just do, for example:
</p>
- <div class="verbatim" id="verbatim-30">
-\glssetcategoryattribute{general}{font}{textsf}
- <br />\glssetcategoryattribute{acronym}{font}{emph}
- <br />\renewcommand*{\glsxtrregularfont}[1]{%
- <br />  \glshasattribute{\glslabel}{font}%
- <br />  {\csuse{\glsgetattribute{\glslabel}{font}}{#1}}%
- <br />  {#1}%
- <br />}
+ <div class="verbatim" id="verbatim-42">
+\glssetcategoryattribute{general}{textformat}{textsf}
</div>
-<!--l. 1380--><p class="nopar" > (Remember the category and attribute settings will only queried here for <a
-href="#catattr.regular"><span
-class="cmss-10">regular</span></a><a
- id="dx1-8028"></a>
-entries, so if the abbreviation style for the <span
-class="cmss-10">acronym</span><a
- id="dx1-8029"></a> category in the above example
-changes the regular attribute to “false”, <span
-class="cmtt-10">\glsxtrregularfont </span>will no longer
-apply.)
-</p><!--l. 1387--><p class="indent" > The <span
+<!--l. 1582--><p class="nopar" > without redefining <span
+class="cmtt-10">\glsxtrregularfont</span>.
+</p><!--l. 1585--><p class="indent" > The <span
class="cmtt-10">\glspostlinkhook </span>provided by the <span
class="cmss-10">glossaries </span>package to insert information
after the <a
- id="dx1-8030"></a><a
+ id="dx1-8029"></a><a
href="#glo:linktext">link-text</a> produced by commands like <span
class="cmtt-10">\gls </span>and <span
class="cmtt-10">\glstext </span>is redefined
to
-</p><!--l. 1390--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1588--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostlinkhook</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8031"></a> <span
+ id="dx1-8030"></a> <span
class="cmtt-10">\glsxtrpostlinkhook </span></div><hr>
-</p><!--l. 1392--><p class="noindent" >
+</p><!--l. 1590--><p class="noindent" >
This command will discard a following full stop (period) if the <a
href="#catattr.discardperiod"><span
class="cmss-10">discardperiod</span></a><a
- id="dx1-8032"></a> attribute
+ id="dx1-8031"></a> attribute
is set to “true” for the current entry’s category. It will also do
-</p><!--l. 1396--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1594--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostlink</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8033"></a> <span
+ id="dx1-8032"></a> <span
class="cmtt-10">\glsxtrpostlink </span></div><hr>
-</p><!--l. 1398--><p class="noindent" >
+</p><!--l. 1596--><p class="noindent" >
if a full stop hasn’t be discarded and
-</p><!--l. 1400--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1598--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostlinkendsentence</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8034"></a> <span
+ id="dx1-8033"></a> <span
class="cmtt-10">\glsxtrpostlinkendsentence </span></div><hr>
-</p><!--l. 1402--><p class="noindent" >
+</p><!--l. 1600--><p class="noindent" >
if a full stop has been discarded.
-</p><!--l. 1405--><p class="indent" > <div class="important" title="Important Note"> Avoid the use of <span
+</p><!--l. 1603--><p class="indent" > <div class="important" title="Important Note"> Avoid the use of <span
class="cmtt-10">\gls</span>-like and <span
class="cmtt-10">\glstext</span>-like commands within the
post-link hook as they will cause interference. Consider using commands like
@@ -2594,183 +3179,182 @@
class="cmsy-10">§</span>2.6 </a><a
href="#sec:nested">Nested Links<!--tex4ht:ref: sec:nested --></a>) instead.
</div>
-</p><!--l. 1410--><p class="noindent" >
-</p><!--l. 1412--><p class="indent" > By default <span
+</p><!--l. 1608--><p class="noindent" >
+</p><!--l. 1610--><p class="indent" > By default <span
class="cmtt-10">\glsxtrpostlink </span>just does <span
class="cmtt-10">\glsxtrpostlink</span>⟨<span
class="cmti-10">category</span>⟩<a
- id="dx1-8035"></a> if
+ id="dx1-8034"></a> if
it exists, where ⟨<span
class="cmti-10">category</span>⟩ is the category label for the current entry. (For
example, for the <span
class="cmss-10">general</span><a
- id="dx1-8036"></a> category, <span
+ id="dx1-8035"></a> category, <span
class="cmtt-10">\glsxtrpostlinkgeneral </span>if it has been
defined.)
-</p><!--l. 1418--><p class="indent" > The sentence-ending hook is slightly more complicated. If the command
+</p><!--l. 1616--><p class="indent" > The sentence-ending hook is slightly more complicated. If the command
<span
class="cmtt-10">\glsxtrpostlink</span>⟨<span
class="cmti-10">category</span>⟩<a
- id="dx1-8037"></a> is defined the hook will do that and then insert a
+ id="dx1-8036"></a> is defined the hook will do that and then insert a
full stop with the space factor adjusted to match the end of sentence. If
<span
class="cmtt-10">\glsxtrpostlink</span>⟨<span
class="cmti-10">category</span>⟩<a
- id="dx1-8038"></a> hasn’t been defined, the space factor is adjusted to match
+ id="dx1-8037"></a> hasn’t been defined, the space factor is adjusted to match
the end of sentence. This means that if you have, for example, an entry that ends
with a full stop, a redundant following full stop will be discarded and the space factor
-
-
-
adjusted (in case the entry is in uppercase) unless the entry is followed by additional
material, in which case the following full stop is no longer redundant and needs to be
reinserted.
-</p><!--l. 1431--><p class="indent" > There are some convenient commands you might want to use when customizing
+</p><!--l. 1629--><p class="indent" > There are some convenient commands you might want to use when customizing
the post-<a
- id="dx1-8039"></a><a
-href="#glo:linktext">link-text</a> category hooks:
-</p><!--l. 1433--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-8038"></a>link-text category hooks:
+</p><!--l. 1631--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostlinkAddDescOnFirstUse</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8040"></a> <span
+ id="dx1-8039"></a> <span
class="cmtt-10">\glsxtrpostlinkAddDescOnFirstUse</span>
</div><hr>
-</p><!--l. 1435--><p class="noindent" >
+</p><!--l. 1633--><p class="noindent" >
This will add the description in parentheses on <a
- id="dx1-8041"></a><a
+ id="dx1-8040"></a><a
href="#glo:firstuse">first use</a>.
-</p><!--l. 1438--><p class="indent" > For example, suppose you want to append the description in parentheses on <a
- id="dx1-8042"></a>first
+
+
+
+</p><!--l. 1636--><p class="indent" > For example, suppose you want to append the description in parentheses on <a
+ id="dx1-8041"></a>first
use for entries in the <span
class="cmss-10">symbol</span><a
- id="dx1-8043"></a> category:
+ id="dx1-8042"></a> category:
</p>
- <div class="verbatim" id="verbatim-31">
+ <div class="verbatim" id="verbatim-43">
\newcommand*{\glsxtrpostlinksymbol}{%
 <br />  \glsxtrpostlinkAddDescOnFirstUse
 <br />}
</div>
-<!--l. 1445--><p class="nopar" >
-</p><!--l. 1447--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+<!--l. 1643--><p class="nopar" >
+</p><!--l. 1645--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostlinkAddSymbolOnFirstUse</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8044"></a> <span
+ id="dx1-8043"></a> <span
class="cmtt-10">\glsxtrpostlinkAddSymbolOnFirstUse</span>
</div><hr>
-</p><!--l. 1449--><p class="noindent" >
+</p><!--l. 1647--><p class="noindent" >
This will append the symbol (if defined) in parentheses on <a
- id="dx1-8045"></a><a
+ id="dx1-8044"></a><a
href="#glo:firstuse">first use</a>.
-</p><!--l. 1453--><p class="indent" > If you want to provide your own custom format be aware that you can’t use
+</p><!--l. 1651--><p class="indent" > If you want to provide your own custom format be aware that you can’t use
<span
class="cmtt-10">\ifglsused</span><a
- id="dx1-8046"></a> within the post-<a
+ id="dx1-8045"></a> within the post-<a
+ id="dx1-8046"></a><a
+href="#glo:linktext">link-text</a> hook as by this point the <a
id="dx1-8047"></a><a
-href="#glo:linktext">link-text</a> hook as by this point the <a
- id="dx1-8048"></a><a
href="#glo:firstuseflag">first use flag</a> will have
been unset. Instead you can use
-</p><!--l. 1456--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1654--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrifwasfirstuse</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8049"></a> <span
+ id="dx1-8048"></a> <span
class="cmtt-10">\glsxtrifwasfirstuse{</span>⟨<span
class="cmitt-10">true</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1458--><p class="noindent" >
+</p><!--l. 1656--><p class="noindent" >
This will do ⟨<span
class="cmti-10">true</span>⟩ if the last used entry was the <a
- id="dx1-8050"></a>first use for that entry, otherwise it
+ id="dx1-8049"></a>first use for that entry, otherwise it
will do ⟨<span
class="cmti-10">false</span>⟩. (Requires at least <span
class="cmss-10">glossaries </span>v4.19 to work properly.) This command is
locally set by commands like <span
class="cmtt-10">\gls</span>, so don’t rely on it outside of the post-<a
- id="dx1-8051"></a>link-text
+ id="dx1-8050"></a>link-text
hook.
-</p><!--l. 1466--><p class="indent" > <div class="important" title="Important Note"> Note that commands like <span
+</p><!--l. 1664--><p class="indent" > <div class="important" title="Important Note"> Note that commands like <span
class="cmtt-10">\glsfirst</span><a
- id="dx1-8052"></a> and <span
+ id="dx1-8051"></a> and <span
class="cmtt-10">\glsxtrfull</span><a
- id="dx1-8053"></a> fake <a
- id="dx1-8054"></a>first use for the
+ id="dx1-8052"></a> fake <a
+ id="dx1-8053"></a>first use for the
benefit of the post-<a
- id="dx1-8055"></a>link-text hooks by setting <span
+ id="dx1-8054"></a>link-text hooks by setting <span
class="cmtt-10">\glsxtrifwasfirstuse </span>to
<span
class="cmtt-10">\@firstoftwo</span>. (Although, depending on the styles in use, they may not exactly
match the text produced by <span
class="cmtt-10">\gls</span><a
- id="dx1-8056"></a>-like commands on <a
- id="dx1-8057"></a>first use.) However, the
+ id="dx1-8055"></a>-like commands on <a
+ id="dx1-8056"></a>first use.) However, the
<a
href="#abbrstyle.short-postfootnote"><span
class="cmss-10">short-postfootnote</span></a><a
- id="dx1-8058"></a> style alters <span
+ id="dx1-8057"></a> style alters <span
class="cmtt-10">\glsxtrfull </span>so that it fakes non-<a
- id="dx1-8059"></a>first use otherwise
+ id="dx1-8058"></a>first use otherwise
the inline full format would include the footnote, which is inappropriate.
</div>
-</p><!--l. 1475--><p class="noindent" >
-</p><!--l. 1477--><p class="indent" > For example, if you want to place the description in a footnote after the <a
- id="dx1-8060"></a>link-text
+</p><!--l. 1673--><p class="noindent" >
+</p><!--l. 1675--><p class="indent" > For example, if you want to place the description in a footnote after the <a
+ id="dx1-8059"></a>link-text
on <a
- id="dx1-8061"></a>first use for the <span
+ id="dx1-8060"></a>first use for the <span
class="cmss-10">general</span><a
- id="dx1-8062"></a> category:
+ id="dx1-8061"></a> category:
</p>
- <div class="verbatim" id="verbatim-32">
+ <div class="verbatim" id="verbatim-44">
\newcommand*{\glsxtrpostlinkgeneral}{%
 <br />  \glsxtrifwasfirstuse{\footnote{\glsentrydesc{\glslabel}}}{}%
 <br />}
</div>
-<!--l. 1483--><p class="nopar" >
-</p><!--l. 1485--><p class="indent" > The <a
+<!--l. 1681--><p class="nopar" >
+</p><!--l. 1683--><p class="indent" > The <a
href="#abbrstyle.short-postfootnote"><span
class="cmss-10">short-postfootnote</span></a><a
- id="dx1-8063"></a> abbreviation style uses the post-<a
- id="dx1-8064"></a><a
+ id="dx1-8062"></a> abbreviation style uses the post-<a
+ id="dx1-8063"></a><a
href="#glo:linktext">link-text</a> hook to place the
footnote after trailing punctuation characters.
-</p><!--l. 1489--><p class="indent" > You can set the default options used by <span
+</p><!--l. 1687--><p class="indent" > You can set the default options used by <span
class="cmtt-10">\glslink</span><a
- id="dx1-8065"></a>, <span
+ id="dx1-8064"></a>, <span
class="cmtt-10">\gls</span><a
- id="dx1-8066"></a> etc with:
-</p><!--l. 1491--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-8065"></a> etc with:
+</p><!--l. 1689--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrSetDefaultGlsOpts</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8067"></a> <span
+ id="dx1-8066"></a> <span
class="cmtt-10">\GlsXtrSetDefaultGlsOpts{</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1493--><p class="noindent" >
+</p><!--l. 1691--><p class="noindent" >
For example, if you mostly don’t want to index entries then you can do:
</p>
- <div class="verbatim" id="verbatim-33">
+ <div class="verbatim" id="verbatim-45">
\GlsXtrSetDefaultGlsOpts{noindex}
</div>
-<!--l. 1498--><p class="nopar" > and then use, for example, <span class="obeylines-h"><span class="verb"><span
+<!--l. 1696--><p class="nopar" > and then use, for example, <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls[noindex=false]{sample}</span></span></span> when you actually want
the location added to the <a
- id="dx1-8068"></a><a
+ id="dx1-8067"></a><a
href="#glo:numberlist">number list</a>. These defaults may be overridden by other
settings (such as category attributes) in addition to any settings passed in the option
argument of commands like <span
class="cmtt-10">\glslink </span>and <span
class="cmtt-10">\gls</span>.
-</p><!--l. 1505--><p class="indent" > Note that if you don’t want <span
+</p><!--l. 1703--><p class="indent" > Note that if you don’t want <span
class="cmti-10">any </span>indexing, just omit <span
class="cmtt-10">\makeglossaries </span>and
<span
@@ -2777,22 +3361,22 @@
class="cmtt-10">\printglossaries </span>(or analogous commands). If you want to adjust the
default for <span
class="cmss-10">wrgloss</span><a
- id="dx1-8069"></a>, it’s better to do this by redefining <span
+ id="dx1-8068"></a>, it’s better to do this by redefining <span
class="cmtt-10">\glsxtrinitwrgloss</span><a
- id="dx1-8070"></a>
+ id="dx1-8069"></a>
instead.
-</p><!--l. 1511--><p class="indent" > <div class="important" title="Important Note"> <span
+</p><!--l. 1709--><p class="indent" > <div class="important" title="Important Note"> <span
class="cmtt-10">\GlsXtrSetDefaultGlsOpts </span>doesn’t affect <span
class="cmtt-10">\glsadd</span>. </div>
-</p><!--l. 1513--><p class="noindent" >
-</p><!--l. 1515--><p class="indent" > If you want to change the default value of <span
+</p><!--l. 1711--><p class="noindent" >
+</p><!--l. 1713--><p class="indent" > If you want to change the default value of <span
class="cmss-10">format</span><a
- id="dx1-8071"></a>, you can instead use:
-</p><!--l. 1517--><p class="indent" > <hr><div title="Definition"> <span
+ id="dx1-8070"></a>, you can instead use:
+</p><!--l. 1715--><p class="indent" > <hr><div title="Definition"> <span
class="cmtt-10">\GlsXtrSetDefaultNumberFormat{</span>⟨<span
class="cmti-10">format</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1519--><p class="noindent" >
+</p><!--l. 1717--><p class="noindent" >
This has the advantage of also working for <span
class="cmtt-10">\glsadd</span>. For example, if you
want all locations in the back matter to appear in italic (unless explicitly
@@ -2801,14 +3385,14 @@
</p>
- <div class="verbatim" id="verbatim-34">
+ <div class="verbatim" id="verbatim-46">
\backmatter
 <br />\GlsXtrSetDefaultNumberFormat{hyperit}
</div>
-<!--l. 1526--><p class="nopar" >
-</p><!--l. 1528--><p class="indent" > Commands like <span
+<!--l. 1724--><p class="nopar" >
+</p><!--l. 1726--><p class="indent" > Commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-8072"></a> have star (<span
+ id="dx1-8071"></a> have star (<span
class="cmtt-10">*</span>) and plus (<span
class="cmtt-10">+</span>) modifiers as a short cut for
<span
@@ -2816,10 +3400,10 @@
class="cmtt-10">hyper=true</span>. The <span
class="cmss-10">glossaries-extra </span>package provides a way to add a
third modifier, if required, using
-</p><!--l. 1532--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1730--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrSetAltModifier</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8073"></a> <span
+ id="dx1-8072"></a> <span
class="cmtt-10">\GlsXtrSetAltModifier{</span>⟨<span
class="cmitt-10">char</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -2826,7 +3410,7 @@
class="cmitt-10">options</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 1534--><p class="noindent" >
+</p><!--l. 1732--><p class="noindent" >
where ⟨<span
class="cmti-10">char</span>⟩ is the character used as the modifier and ⟨<span
class="cmti-10">options</span>⟩ is the default set of
@@ -2833,19 +3417,19 @@
options (which may be overridden). Note that ⟨<span
class="cmti-10">char</span>⟩ must be a single character (not a
UTF-8 character, unless you are using <span class="HoLogo-XeLaTeX"><span class="HoLogo-Xe">X<span class="HoLogo-e">Ǝ</span></span><span class="HoLogo-LaTeX">L<span class="HoLogo-a">A</span><span class="HoLogo-TeX">T<span class="HoLogo-e">E</span>X</span></span></span> or Lua<span class="HoLogo-LaTeX">L<span class="HoLogo-a">A</span><span class="HoLogo-TeX">T<span class="HoLogo-e">E</span>X</span></span>).
-</p><!--l. 1541--><p class="indent" > <div class="important" title="Important Note"> When choosing the character ⟨<span
+</p><!--l. 1739--><p class="indent" > <div class="important" title="Important Note"> When choosing the character ⟨<span
class="cmti-10">char</span>⟩ take care of any changes in category code.
</div>
-</p><!--l. 1544--><p class="noindent" >
-</p><!--l. 1546--><p class="indent" > Example:
+</p><!--l. 1742--><p class="noindent" >
+</p><!--l. 1744--><p class="indent" > Example:
</p>
- <div class="verbatim" id="verbatim-35">
+ <div class="verbatim" id="verbatim-47">
\GlsXtrSetAltModifier{!}{noindex}
</div>
-<!--l. 1549--><p class="nopar" > This means that <span class="obeylines-h"><span class="verb"><span
+<!--l. 1747--><p class="nopar" > This means that <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls!{sample}</span></span></span> will be equivalent to <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls[noindex]{sample}</span></span></span>. It’s
not possible to mix modifiers. For example, if you want to do
@@ -2853,23 +3437,23 @@
</p>
- <div class="verbatim" id="verbatim-36">
+ <div class="verbatim" id="verbatim-48">
\gls[noindex,hyper=false]{sample}
</div>
-<!--l. 1555--><p class="nopar" > you can use <span class="obeylines-h"><span class="verb"><span
+<!--l. 1753--><p class="nopar" > you can use <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls*[noindex]{sample}</span></span></span> or <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls![hyper=false]{sample}</span></span></span> but you
can’t combine the <span
class="cmtt-10">* </span>and <span
class="cmtt-10">! </span>modifiers.
-</p><!--l. 1560--><p class="indent" > <a
- id="dx1-8074"></a><a
+</p><!--l. 1758--><p class="indent" > <a
+ id="dx1-8073"></a><a
href="#glo:locationlist">Location lists</a> displayed with <span
class="cmtt-10">\printnoidxglossary </span>internally use
-</p><!--l. 1562--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1760--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsnoidxdisplayloc</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8075"></a> <span
+ id="dx1-8074"></a> <span
class="cmtt-10">\glsnoidxdisplayloc{</span>⟨<span
class="cmitt-10">prefix</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -2881,7 +3465,7 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">location</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1564--><p class="noindent" >
+</p><!--l. 1762--><p class="noindent" >
This command is provided by <span
class="cmss-10">glossaries</span>, but is modified by <span
class="cmss-10">glossaries-extra </span>to check
@@ -2890,11 +3474,11 @@
class="cmtt-10">)</span></span></span> which are discarded to
obtain the actual control sequence name that forms the location formatting
command.
-</p><!--l. 1571--><p class="indent" > If the range identifiers aren’t present, this just uses
-</p><!--l. 1572--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1769--><p class="indent" > If the range identifiers aren’t present, this just uses
+</p><!--l. 1770--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrdisplaysingleloc</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8076"></a> <span
+ id="dx1-8075"></a> <span
class="cmtt-10">\glsxtrdisplaysingleloc{</span>⟨<span
class="cmitt-10">format</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -2901,12 +3485,12 @@
class="cmitt-10">location</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 1574--><p class="noindent" >
+</p><!--l. 1772--><p class="noindent" >
otherwise it uses
-</p><!--l. 1576--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1774--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrdisplaystartloc</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8077"></a> <span
+ id="dx1-8076"></a> <span
class="cmtt-10">\glsxtrdisplaystartloc{</span>⟨<span
class="cmitt-10">format</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -2913,14 +3497,14 @@
class="cmitt-10">location</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 1578--><p class="noindent" >
+</p><!--l. 1776--><p class="noindent" >
for the start of a range (where the identifier has been stripped from ⟨<span
class="cmti-10">format</span>⟩)
or
-</p><!--l. 1581--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1779--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrdisplayendloc</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8078"></a> <span
+ id="dx1-8077"></a> <span
class="cmtt-10">\glsxtrdisplayendloc{</span>⟨<span
class="cmitt-10">format</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -2927,16 +3511,16 @@
class="cmitt-10">location</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 1583--><p class="noindent" >
+</p><!--l. 1781--><p class="noindent" >
for the end of a range (where the identifier has been stripped from ⟨<span
class="cmti-10">format</span>⟩).
-</p><!--l. 1587--><p class="indent" > By default the start range command saves the format in
-</p><!--l. 1588--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1785--><p class="indent" > By default the start range command saves the format in
+</p><!--l. 1786--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrlocrangefmt</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8079"></a> <span
+ id="dx1-8078"></a> <span
class="cmtt-10">\glsxtrlocrangefmt </span></div><hr>
-</p><!--l. 1590--><p class="noindent" >
+</p><!--l. 1788--><p class="noindent" >
and does <spacer type=vertical size=10><span class="obeylines-h">
<br /><span
class="cmtt-10">\glsxtrdisplaysingleloc{</span>⟨<span
@@ -2947,12 +3531,12 @@
<br /><spacer type=vertical size=10></span>
(If the format is empty, it will be replaced with <span
class="cmtt-10">glsnumberformat</span>.)
-</p><!--l. 1598--><p class="indent" > The end command checks that the format matches the start of the range,
+</p><!--l. 1796--><p class="indent" > The end command checks that the format matches the start of the range,
does
-</p><!--l. 1600--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1798--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrdisplayendlochook</span><span
class="cmtt-9"> </span></span><a
- id="dx1-8080"></a> <span
+ id="dx1-8079"></a> <span
class="cmtt-10">\glsxtrdisplayendlochook{</span>⟨<span
class="cmitt-10">format</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -2959,7 +3543,7 @@
class="cmitt-10">location</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 1602--><p class="noindent" >
+</p><!--l. 1800--><p class="noindent" >
(which does nothing by default), followed by <spacer type=vertical size=10><span class="obeylines-h">
<br /><span
class="cmtt-10">\glsxtrdisplaysingleloc{</span>⟨<span
@@ -2973,39 +3557,49 @@
-</p><!--l. 1609--><p class="indent" > This means that the list
+</p><!--l. 1807--><p class="indent" > This means that the list
</p>
- <div class="verbatim" id="verbatim-37">
+ <div class="verbatim" id="verbatim-49">
\glsnoidxdisplayloc{}{page}{(textbf}{1},
 <br />\glsnoidxdisplayloc{}{page}{textbf}{1},
 <br />\glsnoidxdisplayloc{}{page}{)textbf}{1}.
</div>
-<!--l. 1614--><p class="nopar" > doesn’t display any differently from
+<!--l. 1812--><p class="nopar" > doesn’t display any differently from
</p>
- <div class="verbatim" id="verbatim-38">
+ <div class="verbatim" id="verbatim-50">
\glsnoidxdisplayloc{}{page}{textbf}{1},
 <br />\glsnoidxdisplayloc{}{page}{textbf}{1},
 <br />\glsnoidxdisplayloc{}{page}{textbf}{1}.
</div>
-<!--l. 1620--><p class="nopar" > but it does make it easier to define your own custom list handler that can
+<!--l. 1818--><p class="nopar" > but it does make it easier to define your own custom list handler that can
accommodate the ranges.
-</p><!--l. 1625--><p class="noindent" >
+</p><!--l. 1823--><p class="noindent" >
</p>
-<!--l. 1625--><p class="noindent" ><a
+<!--l. 1823--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.4 </span> <a
id="sec:entrycountmods"></a>Entry Counting Modifications</h3>
-<!--l. 1628--><p class="noindent" >The <span
+<!--l. 1826--><p class="noindent" >If you are using <a
+ id="dx1-9001"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-9002"></a></a> you may find it more convenient to use the record
+count commands described in <a
+href="#sec:bib2gls"><span
+class="cmsy-10">§</span>9 </a><a
+href="#sec:bib2gls">bib2gls: Managing Reference Databases<!--tex4ht:ref: sec:bib2gls --></a>
+instead.
+</p><!--l. 1830--><p class="indent" > The <span
class="cmtt-10">\glsenableentrycount</span><a
- id="dx1-9001"></a> command is modified to allow for the <a
+ id="dx1-9003"></a> command is modified to allow for the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-9002"></a>
+ id="dx1-9004"></a>
attribute. This means that you not only need to enable entry counting with
<span
class="cmtt-10">\glsenableentrycount</span>, but you also need to set the appropriate attribute (see <a
@@ -3013,38 +3607,38 @@
class="cmsy-10">§</span>5
</a><a
href="#sec:categories">Categories<!--tex4ht:ref: sec:categories --></a>).
-</p><!--l. 1634--><p class="indent" > For example, instead of just doing:
+</p><!--l. 1836--><p class="indent" > For example, instead of just doing:
</p>
- <div class="verbatim" id="verbatim-39">
+ <div class="verbatim" id="verbatim-51">
\glsenableentrycount
</div>
-<!--l. 1637--><p class="nopar" > you now need to do:
+<!--l. 1839--><p class="nopar" > you now need to do:
</p>
- <div class="verbatim" id="verbatim-40">
+ <div class="verbatim" id="verbatim-52">
\glsenableentrycount
 <br />\glssetcategoryattribute{abbreviation}{entrycount}{1}
</div>
-<!--l. 1642--><p class="nopar" > This will enable the entry counting for entries in the <span
+<!--l. 1844--><p class="nopar" > This will enable the entry counting for entries in the <span
class="cmss-10">abbreviation</span><a
- id="dx1-9003"></a> category, but any
+ id="dx1-9005"></a> category, but any
entries assigned to other categories will be unchanged.
-</p><!--l. 1647--><p class="indent" > Further information about entry counting, including the new per-unit feature, is
+</p><!--l. 1849--><p class="indent" > Further information about entry counting, including the new per-unit feature, is
described in <a
href="#sec:entrycount"><span
class="cmsy-10">§</span>6 </a><a
href="#sec:entrycount">Entry Counting<!--tex4ht:ref: sec:entrycount --></a>.
-</p><!--l. 1650--><p class="noindent" >
+</p><!--l. 1852--><p class="noindent" >
</p>
-<!--l. 1650--><p class="noindent" ><a
+<!--l. 1852--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.5 </span> <a
id="plurals"></a>Plurals</h3>
-<!--l. 1652--><p class="noindent" >Some languages, such as English, have a general rule that plurals are formed from
+<!--l. 1854--><p class="noindent" >Some languages, such as English, have a general rule that plurals are formed from
the singular with a suffix appended. This isn’t an absolute rule. There are
plenty of exceptions (for example, geese, children, churches, elves, fairies,
sheep). The <span
@@ -3055,10 +3649,10 @@
defining entries. In some cases a plural may not make any sense (for example,
the term is a symbol) and in some cases the plural may be identical to the
singular.
-</p><!--l. 1661--><p class="indent" > To make life easier for languages where the majority of plurals can simply be
+</p><!--l. 1863--><p class="indent" > To make life easier for languages where the majority of plurals can simply be
formed by appending a suffix to the singular, the <span
class="cmss-10">glossaries</span><a
- id="dx1-10003"></a> package sets lets the <span
+ id="dx1-10003"></a> package lets the <span
class="cmss-10">plural</span><a
id="dx1-10004"></a>
field default to the value of the <span
@@ -3071,11 +3665,11 @@
class="cmss-10">plural</span><a
id="dx1-10007"></a> supplied as well, and you only need to use it for the
exceptions.
-</p><!--l. 1670--><p class="indent" > For languages that don’t have this general rule, the <span
+</p><!--l. 1872--><p class="indent" > For languages that don’t have this general rule, the <span
class="cmss-10">plural</span><a
id="dx1-10008"></a> field will always need to
be supplied, where needed.
-</p><!--l. 1673--><p class="indent" > There are other plural fields, such as <span
+</p><!--l. 1875--><p class="indent" > There are other plural fields, such as <span
class="cmss-10">firstplural</span><a
id="dx1-10009"></a>, <span
class="cmss-10">longplural</span><a
@@ -3085,7 +3679,7 @@
you are using a language that doesn’t have a simple suffix rule, you’ll have to
supply the plural forms if you need them (and if a plural makes sense in the
context).
-</p><!--l. 1679--><p class="indent" > If these fields are omitted, the <span
+</p><!--l. 1881--><p class="indent" > If these fields are omitted, the <span
class="cmss-10">glossaries</span><a
id="dx1-10012"></a> package follows these rules: </p>
<ul class="itemize1">
@@ -3149,7 +3743,7 @@
class="cmss-10">short</span><a
id="dx1-10031"></a> field.
</li></ul>
-<!--l. 1702--><p class="indent" > This <span
+<!--l. 1904--><p class="indent" > This <span
class="cmti-10">last case is changed </span>with <span
class="cmss-10">glossaries-extra</span>. With this extension package, the
<span
@@ -3164,12 +3758,12 @@
implemented, <span
class="cmtt-10">\abbrvpluralsuffix </span>is redefined. In most cases its redefined to
use
-</p><!--l. 1710--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 1912--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrabbrvpluralsuffix</span><span
class="cmtt-9"> </span></span><a
id="dx1-10035"></a> <span
class="cmtt-10">\glsxtrabbrvpluralsuffix </span></div><hr>
-</p><!--l. 1712--><p class="noindent" >
+</p><!--l. 1914--><p class="noindent" >
which defaults to just <span
class="cmtt-10">\glspluralsuffix</span>. Some of the abbreviation styles have their
own command for the plural suffix, such as <span
@@ -3182,7 +3776,7 @@
the style. Redefining <span
class="cmtt-10">\acrpluralsuffix </span>will have no affect, since it’s not used by the
new abbreviation mechanism.
-</p><!--l. 1722--><p class="indent" > If you require a mixture (for example, in a multilingual document), there are two
+</p><!--l. 1924--><p class="indent" > If you require a mixture (for example, in a multilingual document), there are two
attributes that affect the short plural suffix formation. The first is <a
href="#catattr.aposplural"><span
class="cmss-10">aposplural</span></a><a
@@ -3192,10 +3786,10 @@
</p>
- <div class="verbatim" id="verbatim-41">
+ <div class="verbatim" id="verbatim-53">
'\abbrvpluralsuffix
</div>
-<!--l. 1727--><p class="nopar" > That is, an apostrophe followed by <span
+<!--l. 1929--><p class="nopar" > That is, an apostrophe followed by <span
class="cmtt-10">\abbrvpluralsuffix </span>is appended. The second
attribute is <a
href="#catattr.noshortplural"><span
@@ -3206,12 +3800,12 @@
same as <span
class="cmss-10">short</span><a
id="dx1-10039"></a>.
-</p><!--l. 1733--><p class="noindent" >
+</p><!--l. 1935--><p class="noindent" >
</p>
-<!--l. 1733--><p class="noindent" ><a
+<!--l. 1935--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.6 </span> <a
id="sec:nested"></a>Nested Links</h3>
-<!--l. 1736--><p class="noindent" >Complications arise when you use <span
+<!--l. 1938--><p class="noindent" >Complications arise when you use <span
class="cmtt-10">\gls</span><a
id="dx1-11001"></a> in the value of the <span
class="cmss-10">name</span><a
@@ -3224,19 +3818,19 @@
For example, SHTML is an abbreviation for SSI enabled HTML, where SSI is an
abbreviation for Server Side Includes and HTML is an abbreviation for Hypertext
Markup Language.
-</p><!--l. 1744--><p class="indent" > Things can go wrong if we try the following with the <span
+</p><!--l. 1946--><p class="indent" > Things can go wrong if we try the following with the <span
class="cmss-10">glossaries </span>package:
</p>
- <div class="verbatim" id="verbatim-42">
+ <div class="verbatim" id="verbatim-54">
\newacronym{ssi}{SSI}{Server Side Includes}
 <br />\newacronym{html}{HTML}{Hypertext Markup Language}
 <br />\newacronym{shtml}{S\gls{html}}{\gls{ssi} enabled \gls{html}}
</div>
-<!--l. 1750--><p class="nopar" >
-</p><!--l. 1752--><p class="indent" > The main problems are:
+<!--l. 1952--><p class="nopar" >
+</p><!--l. 1954--><p class="indent" > The main problems are:
</p><ol class="enumerate1" >
<li
class="enumerate" id="x1-11006x1"><a
@@ -3252,10 +3846,10 @@
- <div class="verbatim" id="verbatim-43">
+ <div class="verbatim" id="verbatim-55">
\gls{\uppercase ssi} enabled \gls{html}
</div>
- <!--l. 1760--><p class="nopar" > which just doesn’t work. Grouping the <span class="obeylines-h"><span class="verb"><span
+ <!--l. 1962--><p class="nopar" > which just doesn’t work. Grouping the <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{ssi}</span></span></span> doesn’t work either as this
will effectively try to do
@@ -3262,10 +3856,10 @@
</p>
- <div class="verbatim" id="verbatim-44">
+ <div class="verbatim" id="verbatim-56">
\uppercase{\gls{ssi}} enabled \gls{html}
</div>
- <!--l. 1765--><p class="nopar" > This will upper case the label <span
+ <!--l. 1967--><p class="nopar" > This will upper case the label <span
class="cmtt-10">ssi </span>so the entry won’t be recognised.
This problem will also occur if you use the all capitals version, such as
<span
@@ -3303,18 +3897,18 @@
- <div class="verbatim" id="verbatim-45">
+ <div class="verbatim" id="verbatim-57">
This section discusses \gls{ssi}, \gls{html} and \gls{shtml}.
</div>
- <!--l. 1784--><p class="nopar" > This produces:
+ <!--l. 1986--><p class="nopar" > This produces:
</p><div class="quote">
- <!--l. 1787--><p class="noindent" >This section discusses server side includes (SSI), hypertext
+ <!--l. 1989--><p class="noindent" >This section discusses server side includes (SSI), hypertext
markup language (HTML) and SSI enabled HTML (SHTML).</p></div>
- <!--l. 1790--><p class="noindent" >So the <a
+ <!--l. 1992--><p class="noindent" >So the <a
id="dx1-11019"></a><a
href="#glo:firstuse">first use</a> of the <span
class="cmtt-10">shtml </span>entry produces “SSI enabled HTML (SHTML)”.
- </p><!--l. 1793--><p class="noindent" >Now let’s suppose the <span
+ </p><!--l. 1995--><p class="noindent" >Now let’s suppose the <span
class="cmtt-10">html </span>entry is used before the <span
class="cmtt-10">shtml </span>but the <span
class="cmtt-10">ssi </span>entry is
@@ -3324,21 +3918,21 @@
</p>
- <div class="verbatim" id="verbatim-46">
+ <div class="verbatim" id="verbatim-58">
The sample files are either \gls{html} or \gls{shtml}, but let's
 <br />first discuss \gls{ssi}.
</div>
- <!--l. 1799--><p class="nopar" > This produces:
+ <!--l. 2001--><p class="nopar" > This produces:
</p><div class="quote">
- <!--l. 1802--><p class="noindent" >The sample files are either hypertext markup language (HTML)
+ <!--l. 2004--><p class="noindent" >The sample files are either hypertext markup language (HTML)
or server side includes (SSI) enabled HTML (SHTML), but let’s
first discuss SSI.</p></div>
- <!--l. 1807--><p class="noindent" >So the <a
+ <!--l. 2009--><p class="noindent" >So the <a
id="dx1-11020"></a><a
href="#glo:firstuse">first use</a> of the <span
class="cmtt-10">shtml </span>entry now produces “server side includes (SSI)
enabled HTML (SHTML)”, which looks a bit strange.
- </p><!--l. 1811--><p class="noindent" >Now let’s suppose the <span
+ </p><!--l. 2013--><p class="noindent" >Now let’s suppose the <span
class="cmtt-10">shtml </span>entry is used before (or without) the other two
entries:
@@ -3345,20 +3939,20 @@
</p>
- <div class="verbatim" id="verbatim-47">
+ <div class="verbatim" id="verbatim-59">
This article is an introduction to \gls{shtml}.
</div>
- <!--l. 1815--><p class="nopar" > This produces:
+ <!--l. 2017--><p class="nopar" > This produces:
</p><div class="quote">
- <!--l. 1818--><p class="noindent" >This article is an introduction to server side includes (SSI)
+ <!--l. 2020--><p class="noindent" >This article is an introduction to server side includes (SSI)
enabled hypertext markup language (HTML) (SHTML).</p></div>
- <!--l. 1821--><p class="noindent" >So the <a
+ <!--l. 2023--><p class="noindent" >So the <a
id="dx1-11021"></a><a
href="#glo:firstuse">first use</a> of the <span
class="cmtt-10">shtml </span>entry now produces “server side includes (SSI)
enabled hypertext markup language (HTML) (SHTML)”, which is even more
strange.
- </p><!--l. 1825--><p class="noindent" >This is all aggravated by setting the style using the <span
+ </p><!--l. 2027--><p class="noindent" >This is all aggravated by setting the style using the <span
class="cmss-10">glossaries </span>package’s
<span
class="cmtt-10">\setacronymstyle</span>. For example:
@@ -3366,10 +3960,10 @@
</p>
- <div class="verbatim" id="verbatim-48">
+ <div class="verbatim" id="verbatim-60">
\setacronymstyle{long-short}
</div>
- <!--l. 1830--><p class="nopar" > as this references the label through the use of <span
+ <!--l. 2032--><p class="nopar" > as this references the label through the use of <span
class="cmtt-10">\glslabel </span>when displaying the
long and short forms, but this value changes with each use of <span
class="cmtt-10">\gls</span>, so
@@ -3381,7 +3975,7 @@
class="cmtt-10">html </span>by
<span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{html}</span></span></span>.
- </p><!--l. 1838--><p class="noindent" >Another oddity occurs if you reset the <span
+ </p><!--l. 2040--><p class="noindent" >Another oddity occurs if you reset the <span
class="cmtt-10">html </span>entry between uses of the <span
class="cmtt-10">shtml</span>
entry. For example:
@@ -3389,13 +3983,13 @@
</p>
- <div class="verbatim" id="verbatim-49">
+ <div class="verbatim" id="verbatim-61">
\gls{shtml} ... \glsreset{html}\gls{shtml}
</div>
- <!--l. 1842--><p class="nopar" > The next use of <span
+ <!--l. 2044--><p class="nopar" > The next use of <span
class="cmtt-10">shtml </span>produces “Shypertext markup language (HTML)”,
which is downright weird.
- </p><!--l. 1846--><p class="noindent" >Even without this, the short form has nested formatting commands, which
+ </p><!--l. 2048--><p class="noindent" >Even without this, the short form has nested formatting commands, which
amount to <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\acronymfont{S\acronymfont{HTML}}</span></span></span>. This may not be a problem
for some styles, but if you use one of the “sm” styles (that use <span
@@ -3428,7 +4022,7 @@
in the glossary or they may be directed to the SHTML entry in the
glossary.
</li></ol>
-<!--l. 1867--><p class="indent" > For these reasons it’s better to use the simple expandable commands
+<!--l. 2069--><p class="indent" > For these reasons it’s better to use the simple expandable commands
like <span
class="cmtt-10">\glsentrytext</span><a
id="dx1-11031"></a> or <span
@@ -3440,23 +4034,23 @@
</p>
- <div class="verbatim" id="verbatim-50">
+ <div class="verbatim" id="verbatim-62">
\newacronym
 <br /> [description={\acrshort{ssi} enabled \acrshort{html}}]
 <br /> {shtml}{SHTML}{SSI enabled HTML}
</div>
-<!--l. 1875--><p class="nopar" > with <span
+<!--l. 2077--><p class="nopar" > with <span
class="cmss-10">glossaries </span>or:
</p>
- <div class="verbatim" id="verbatim-51">
+ <div class="verbatim" id="verbatim-63">
\newabbreviation
 <br /> [description={\glsxtrshort{ssi} enabled \glsxtrshort{html}}]
 <br /> {shtml}{SHTML}{SSI enabled HTML}
</div>
-<!--l. 1881--><p class="nopar" > with <span
+<!--l. 2083--><p class="nopar" > with <span
class="cmss-10">glossaries-extra</span>. This fixes all the above listed problems (as long as you don’t
use <span
class="cmtt-10">\glsdesc</span><a
@@ -3467,7 +4061,7 @@
id="dx1-11034"></a><a
href="#glo:firstuse">first use</a> issue, but it doesn’t fix any of the other problems listed
above.
-</p><!--l. 1888--><p class="indent" > If it’s simply that you want to use the abbreviation font, you can use
+</p><!--l. 2090--><p class="indent" > If it’s simply that you want to use the abbreviation font, you can use
<span
class="cmtt-10">\glsabbrvfont</span>:
@@ -3474,7 +4068,7 @@
</p>
- <div class="verbatim" id="verbatim-52">
+ <div class="verbatim" id="verbatim-64">
\setabbreviationstyle{long-short-sc}
 <br />\newabbreviation{ssi}{ssi}{server-side includes}
 <br />\newabbreviation{html}{html}{hypertext markup language}
@@ -3481,10 +4075,10 @@
 <br />\newabbreviation{shtml}{shtml}{\glsabbrvfont{ssi} enabled
 <br />\glsabbrvfont{html}}
</div>
-<!--l. 1897--><p class="nopar" > This will pick up the font style setting of the outer entry (shtml, in the above case).
+<!--l. 2099--><p class="nopar" > This will pick up the font style setting of the outer entry (shtml, in the above case).
This isn’t a problem in the above example as all the abbreviations use the same
style.
-</p><!--l. 1902--><p class="indent" > However if you’re really determined to use <span
+</p><!--l. 2104--><p class="indent" > However if you’re really determined to use <span
class="cmtt-10">\gls</span><a
id="dx1-11035"></a> in a field that may be included
within some <a
@@ -3505,19 +4099,19 @@
</p>
- <div class="verbatim" id="verbatim-53">
+ <div class="verbatim" id="verbatim-65">
\gls{ssi} enabled \gls{html}
</div>
-<!--l. 1913--><p class="nopar" > is treated as
+<!--l. 2115--><p class="nopar" > is treated as
</p>
- <div class="verbatim" id="verbatim-54">
+ <div class="verbatim" id="verbatim-66">
{\glstext[hyper=false,noindex]{ssi}} enabled
 <br />{\glstext[hyper=false,noindex]{html}}
</div>
-<!--l. 1918--><p class="nopar" > This overcomes problems <a
+<!--l. 2120--><p class="nopar" > This overcomes problems <a
href="#itm:inconsistentfirstuseprob">4<!--tex4ht:ref: itm:inconsistentfirstuseprob --></a>, <a
href="#itm:indexingprob">5<!--tex4ht:ref: itm:indexingprob --></a> and <a
href="#itm:nestedhyplinkprob">6<!--tex4ht:ref: itm:nestedhyplinkprob --></a> listed above, but still doesn’t fix problems <a
@@ -3533,7 +4127,7 @@
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
id="dx1-11040"></a>).
-</p><!--l. 1929--><p class="indent" > Additionally, any instance of the long form commands, such as <span
+</p><!--l. 2131--><p class="indent" > Additionally, any instance of the long form commands, such as <span
class="cmtt-10">\glsxtrlong</span><a
id="dx1-11041"></a> or
<span
@@ -3568,10 +4162,10 @@
- <div class="verbatim" id="verbatim-55">
+ <div class="verbatim" id="verbatim-67">
\newacronym{shtml}{SHTML}{\acrshort{ssi} enabled \acrshort{html}}
</div>
-<!--l. 1942--><p class="nopar" > then (using the <a
+<!--l. 2144--><p class="nopar" > then (using the <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
id="dx1-11047"></a> style) the <a
@@ -3581,20 +4175,20 @@
</p>
- <div class="verbatim" id="verbatim-56">
+ <div class="verbatim" id="verbatim-68">
{\acronymfont{\glsentryshort{ssi}}} enabled
 <br />{\acronymfont{\glsentryshort{html}}} (SHTML)
</div>
-<!--l. 1948--><p class="nopar" > whereas if the entry is defined as:
+<!--l. 2150--><p class="nopar" > whereas if the entry is defined as:
</p>
- <div class="verbatim" id="verbatim-57">
+ <div class="verbatim" id="verbatim-69">
\newabbreviation{shtml}{SHTML}{\glsxtrshort{ssi} enabled
 <br />\glsxtrshort{html}}
</div>
-<!--l. 1953--><p class="nopar" > then the <a
+<!--l. 2155--><p class="nopar" > then the <a
id="dx1-11049"></a><a
href="#glo:firstuse">first use</a> will be like:
@@ -3601,11 +4195,11 @@
</p>
- <div class="verbatim" id="verbatim-58">
+ <div class="verbatim" id="verbatim-70">
{\glsabbrvfont{\glsentryshort{ssi}}} enabled
 <br />{\glsabbrvfont{\glsentryshort{html}}} (SHTML)
</div>
-<!--l. 1958--><p class="nopar" > Note that the first optional argument of <span
+<!--l. 2160--><p class="nopar" > Note that the first optional argument of <span
class="cmtt-10">\acrshort </span>or <span
class="cmtt-10">\glsxtrshort </span>is ignored in
this context. (The final optional argument will be inserted, if present.) The
@@ -3616,8 +4210,8 @@
id="dx1-11051"></a>. Note
that <span
class="cmtt-10">\acrshort </span>doesn’t set the abbreviation style.
-</p><!--l. 1966--><p class="indent" > Alternatively you can use:
-</p><!--l. 1967--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2168--><p class="indent" > Alternatively you can use:
+</p><!--l. 2169--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrp</span><span
class="cmtt-9"> </span></span><a
id="dx1-11052"></a> <span
@@ -3626,7 +4220,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1969--><p class="noindent" >
+</p><!--l. 2171--><p class="noindent" >
where ⟨<span
class="cmti-10">field</span>⟩ is the field label and corresponds to a command in the form <span
class="cmtt-10">\gls</span>⟨<span
@@ -3636,8 +4230,8 @@
class="cmtt-10">\glsxtr</span>⟨<span
class="cmti-10">field</span>⟩ (e.g. <span
class="cmtt-10">\glsxtrshort</span>).
-</p><!--l. 1974--><p class="indent" > There’s a shortcut command for the most common fields:
-</p><!--l. 1975--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2176--><p class="indent" > There’s a shortcut command for the most common fields:
+</p><!--l. 2177--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsps</span><span
class="cmtt-9"> </span></span><a
id="dx1-11053"></a> <span
@@ -3644,13 +4238,13 @@
class="cmtt-10">\glsps{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1977--><p class="noindent" >
+</p><!--l. 2179--><p class="noindent" >
which is equivalent to <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\glsxtrp{short}</span></span></span><span
class="cmtt-10">{</span>⟨<span
class="cmti-10">label</span>⟩<span
class="cmtt-10">}</span>, and
-</p><!--l. 1979--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2181--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glspt</span><span
class="cmtt-9"> </span></span><a
id="dx1-11054"></a> <span
@@ -3657,13 +4251,13 @@
class="cmtt-10">\glspt{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1981--><p class="noindent" >
+</p><!--l. 2183--><p class="noindent" >
which is equivalent to <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\glsxtrp{text}</span></span></span><span
class="cmtt-10">{</span>⟨<span
class="cmti-10">label</span>⟩<span
class="cmtt-10">}</span>.
-</p><!--l. 1984--><p class="indent" > The <span
+</p><!--l. 2186--><p class="indent" > The <span
class="cmtt-10">\glsxtrp </span>command behaves much like the <span
class="cmtt-10">\glsfmt</span>⟨<span
class="cmti-10">field</span>⟩ commands described
@@ -3680,7 +4274,7 @@
id="dx1-11056"></a> to <span
class="cmtt-10">true</span>. If you want to change this, you can
use
-</p><!--l. 1991--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2193--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsetpopts</span><span
class="cmtt-9"> </span></span><a
id="dx1-11057"></a> <span
@@ -3687,35 +4281,35 @@
class="cmtt-10">\glsxtrsetpopts{</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 1993--><p class="noindent" >
+</p><!--l. 2195--><p class="noindent" >
For example:
</p>
- <div class="verbatim" id="verbatim-59">
+ <div class="verbatim" id="verbatim-71">
\glsxtrsetpopts{hyper=false}
</div>
-<!--l. 1997--><p class="nopar" > will just switch off the hyperlinks but not the indexing. Be careful using
+<!--l. 2199--><p class="nopar" > will just switch off the hyperlinks but not the indexing. Be careful using
this command or you can end up back to the original problem of nested
links.
-</p><!--l. 2002--><p class="indent" > The hyper link is re-enabled within glossaries. This is done through the
+</p><!--l. 2204--><p class="indent" > The hyper link is re-enabled within glossaries. This is done through the
command:
-</p><!--l. 2004--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2206--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glossxtrsetpopts</span><span
class="cmtt-9"> </span></span><a
id="dx1-11058"></a> <span
class="cmtt-10">\glossxtrsetpopts </span></div><hr>
-</p><!--l. 2006--><p class="noindent" >
+</p><!--l. 2208--><p class="noindent" >
which by default just does
</p>
- <div class="verbatim" id="verbatim-60">
+ <div class="verbatim" id="verbatim-72">
\glsxtrsetpopts{noindex}
</div>
-<!--l. 2010--><p class="nopar" > You can redefine this if you want to adjust the setting when <span
+<!--l. 2212--><p class="nopar" > You can redefine this if you want to adjust the setting when <span
class="cmtt-10">\glsxtrp </span>is used in the
glossary. For example:
@@ -3722,40 +4316,40 @@
</p>
- <div class="verbatim" id="verbatim-61">
+ <div class="verbatim" id="verbatim-73">
\renewcommand{\glossxtrsetpopts}{\glsxtrsetpopts{noindex=false}}
</div>
-<!--l. 2015--><p class="nopar" >
-</p><!--l. 2017--><p class="indent" > For example,
+<!--l. 2217--><p class="nopar" >
+</p><!--l. 2219--><p class="indent" > For example,
</p>
- <div class="verbatim" id="verbatim-62">
+ <div class="verbatim" id="verbatim-74">
\glsxtrp{short}{ssi}
</div>
-<!--l. 2020--><p class="nopar" > is equivalent to
+<!--l. 2222--><p class="nopar" > is equivalent to
</p>
- <div class="verbatim" id="verbatim-63">
+ <div class="verbatim" id="verbatim-75">
{\let\glspostlinkhook\relax
 <br /> \glsxtrshort[hyper=false,noindex]{ssi}[]%
 <br />}
</div>
-<!--l. 2026--><p class="nopar" > in the main body of the document or
+<!--l. 2228--><p class="nopar" > in the main body of the document or
</p>
- <div class="verbatim" id="verbatim-64">
+ <div class="verbatim" id="verbatim-76">
{\let\glspostlinkhook\relax
 <br /> \glsxtrshort[noindex]{ssi}[]%
 <br />}
</div>
-<!--l. 2032--><p class="nopar" > inside the glossary. (Note the post-link hook is locally disabled.)
-</p><!--l. 2035--><p class="indent" > If <span class="obeylines-h"><span class="verb"><span
+<!--l. 2234--><p class="nopar" > inside the glossary. (Note the post-link hook is locally disabled.)
+</p><!--l. 2237--><p class="indent" > If <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\glsxtrp{short}{ssi}</span></span></span> occurs in a sectioning mark, it’s equivalent
to
@@ -3762,14 +4356,14 @@
</p>
- <div class="verbatim" id="verbatim-65">
+ <div class="verbatim" id="verbatim-77">
{\glsxtrheadshort{ssi}}
</div>
-<!--l. 2039--><p class="nopar" > (which recognises the <a
+<!--l. 2241--><p class="nopar" > (which recognises the <a
href="#catattr.headuc"><span
class="cmss-10">headuc</span></a><a
id="dx1-11059"></a> attribute.)
-</p><!--l. 2042--><p class="indent" > If <span
+</p><!--l. 2244--><p class="indent" > If <span
class="cmss-10">hyperref</span><a
id="dx1-11060"></a> has been loaded, then the bookmark will use <span
class="cmtt-10">\glsentry</span>⟨<span
@@ -3776,8 +4370,8 @@
class="cmti-10">field</span>⟩
(<span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\glsentryshort{ssi}</span></span></span> in the above example).
-</p><!--l. 2046--><p class="indent" > There are similar commands
-</p><!--l. 2047--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2248--><p class="indent" > There are similar commands
+</p><!--l. 2249--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrp</span><span
class="cmtt-9"> </span></span><a
id="dx1-11061"></a> <span
@@ -3786,9 +4380,9 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2049--><p class="noindent" >
+</p><!--l. 2251--><p class="noindent" >
for first letter upper case and
-</p><!--l. 2051--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2253--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrp</span><span
class="cmtt-9"> </span></span><a
id="dx1-11062"></a> <span
@@ -3797,9 +4391,9 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2053--><p class="noindent" >
+</p><!--l. 2255--><p class="noindent" >
for all upper case.
-</p><!--l. 2056--><p class="indent" > <div class="important" title="Important Note"> If you use any of the case-changing commands, such as <span
+</p><!--l. 2258--><p class="indent" > <div class="important" title="Important Note"> If you use any of the case-changing commands, such as <span
class="cmtt-10">\Gls</span><a
id="dx1-11063"></a> or <span
class="cmtt-10">\Glstext</span><a
@@ -3811,8 +4405,8 @@
class="cmtt-10">\glstext</span><a
id="dx1-11066"></a>, in the definition of entries for any of the fields that may be used
by those case-changing commands. </div>
-</p><!--l. 2062--><p class="noindent" >
-</p><!--l. 2064--><p class="indent" > You can, with care, protect against issue <a
+</p><!--l. 2264--><p class="noindent" >
+</p><!--l. 2266--><p class="indent" > You can, with care, protect against issue <a
href="#itm:nestedfirstucprob">1<!--tex4ht:ref: itm:nestedfirstucprob --></a> by inserting an empty group at the
start if the long form starts with a command that breaks the first letter uppercasing
commands like <span
@@ -3819,23 +4413,23 @@
class="cmtt-10">\Gls</span>, but you still won’t be able to use the all caps commands, such
as <span
class="cmtt-10">\GLS</span>.
-</p><!--l. 2070--><p class="indent" > If you <span
+</p><!--l. 2272--><p class="indent" > If you <span
class="cmti-10">really need </span>nested commands, the safest method is
</p>
- <div class="verbatim" id="verbatim-66">
+ <div class="verbatim" id="verbatim-78">
\newabbreviation{shtml}{shtml}{{}\glsxtrp{short}{ssi} enabled
 <br />\glsxtrp{short}{html}}
</div>
-<!--l. 2074--><p class="nopar" > but be aware that it may have some unexpected results occasionally.
-</p><!--l. 2077--><p class="indent" > Example document:
+<!--l. 2276--><p class="nopar" > but be aware that it may have some unexpected results occasionally.
+</p><!--l. 2279--><p class="indent" > Example document:
</p>
- <div class="verbatim" id="verbatim-67">
+ <div class="verbatim" id="verbatim-79">
\documentclass{report}
 <br />\usepackage[utf8]{inputenc}
 <br />\usepackage[T1]{fontenc}
@@ -3860,16 +4454,16 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 2115--><p class="nopar" >
-</p><!--l. 2117--><p class="noindent" >
+<!--l. 2317--><p class="nopar" >
+</p><!--l. 2319--><p class="noindent" >
</p>
-<!--l. 2117--><p class="noindent" ><a
+<!--l. 2319--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.7 </span> <a
id="sec:acronymmods"></a>Acronym Style Modifications</h3>
-<!--l. 2120--><p class="noindent" >The <span
+<!--l. 2322--><p class="noindent" >The <span
class="cmss-10">glossaries-extra </span>package provides a new way of dealing with abbreviations and
redefines <span
class="cmtt-10">\newacronym</span><a
@@ -3887,10 +4481,10 @@
</p>
- <div class="verbatim" id="verbatim-68">
+ <div class="verbatim" id="verbatim-80">
\setabbreviationstyle[acronym]{long-short}
</div>
-<!--l. 2128--><p class="nopar" > before you define any entries. For example, the following document using just
+<!--l. 2330--><p class="nopar" > before you define any entries. For example, the following document using just
<span
class="cmss-10">glossaries</span>
@@ -3897,7 +4491,7 @@
</p>
- <div class="verbatim" id="verbatim-69">
+ <div class="verbatim" id="verbatim-81">
\documentclass{article}
 <br />\usepackage[acronym,nopostdot,toc]{glossaries}
 <br />\makeglossaries
@@ -3908,13 +4502,13 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 2141--><p class="nopar" > can be easily adapted to use <span
+<!--l. 2343--><p class="nopar" > can be easily adapted to use <span
class="cmss-10">glossaries-extra</span>:
</p>
- <div class="verbatim" id="verbatim-70">
+ <div class="verbatim" id="verbatim-82">
\documentclass{article}
 <br />\usepackage[acronym]{glossaries-extra}
 <br />\makeglossaries
@@ -3925,7 +4519,7 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 2153--><p class="nopar" > Table <a
+<!--l. 2355--><p class="nopar" > Table <a
href="#tab:acrabbrvstyles">2.1<!--tex4ht:ref: tab:acrabbrvstyles --></a> lists the nearest equivalent <span
class="cmss-10">glossaries-extra </span>abbreviation styles for the
predefined acronym styles provided by <span
@@ -3940,7 +4534,7 @@
-<!--l. 2160--><p class="indent" > <a
+<!--l. 2362--><p class="indent" > <a
id="tab:acrabbrvstyles"></a></p><hr class="float" /><div class="float"
>
@@ -3964,34 +4558,34 @@
id="TBL-2-1" /><col
id="TBL-2-2" /></colgroup><tr
style="vertical-align:baseline;" id="TBL-2-1-"><td style="white-space:wrap; text-align:left;" id="TBL-2-1-1"
-class="td01"><!--l. 2167--><p class="noindent" ><span
+class="td01"><!--l. 2369--><p class="noindent" ><span
class="cmbx-10">Old Style Name</span> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-1-2"
-class="td10"><!--l. 2168--><p class="noindent" ><span
+class="td10"><!--l. 2370--><p class="noindent" ><span
class="cmbx-10">New Style Name</span> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-2-"><td style="white-space:wrap; text-align:left;" id="TBL-2-2-1"
-class="td01"><!--l. 2169--><p class="noindent" ><span
+class="td01"><!--l. 2371--><p class="noindent" ><span
class="cmss-10">long-sc-short</span><a
id="dx1-12003"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-2-2"
-class="td10"><!--l. 2169--><p class="noindent" ><a
+class="td10"><!--l. 2371--><p class="noindent" ><a
href="#abbrstyle.long-short-sc"><span
class="cmss-10">long-short-sc</span></a><a
id="dx1-12004"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-3-"><td style="white-space:wrap; text-align:left;" id="TBL-2-3-1"
-class="td01"><!--l. 2170--><p class="noindent" ><span
+class="td01"><!--l. 2372--><p class="noindent" ><span
class="cmss-10">long-sm-short</span><a
id="dx1-12005"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-3-2"
-class="td10"><!--l. 2170--><p class="noindent" ><a
+class="td10"><!--l. 2372--><p class="noindent" ><a
href="#abbrstyle.long-short-sm"><span
class="cmss-10">long-short-sm</span></a><a
id="dx1-12006"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-4-"><td style="white-space:wrap; text-align:left;" id="TBL-2-4-1"
-class="td01"><!--l. 2171--><p class="noindent" ><span
+class="td01"><!--l. 2373--><p class="noindent" ><span
class="cmss-10">long-sp-short</span><a
id="dx1-12007"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-4-2"
-class="td10"><!--l. 2171--><p class="noindent" ><a
+class="td10"><!--l. 2373--><p class="noindent" ><a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
id="dx1-12008"></a> <br
@@ -4008,64 +4602,64 @@
class="cmsy-10">}}</span> </p> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-5-"><td style="white-space:wrap; text-align:left;" id="TBL-2-5-1"
-class="td01"><!--l. 2173--><p class="noindent" ><span
+class="td01"><!--l. 2375--><p class="noindent" ><span
class="cmss-10">short-long</span><a
id="dx1-12009"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-5-2"
-class="td10"><!--l. 2173--><p class="noindent" ><a
+class="td10"><!--l. 2375--><p class="noindent" ><a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
id="dx1-12010"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-6-"><td style="white-space:wrap; text-align:left;" id="TBL-2-6-1"
-class="td01"><!--l. 2174--><p class="noindent" ><span
+class="td01"><!--l. 2376--><p class="noindent" ><span
class="cmss-10">sc-short-long</span><a
id="dx1-12011"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-6-2"
-class="td10"><!--l. 2174--><p class="noindent" ><a
+class="td10"><!--l. 2376--><p class="noindent" ><a
href="#abbrstyle.short-sc-long"><span
class="cmss-10">short-sc-long</span></a><a
id="dx1-12012"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-7-"><td style="white-space:wrap; text-align:left;" id="TBL-2-7-1"
-class="td01"><!--l. 2175--><p class="noindent" ><span
+class="td01"><!--l. 2377--><p class="noindent" ><span
class="cmss-10">sm-short-long</span><a
id="dx1-12013"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-7-2"
-class="td10"><!--l. 2175--><p class="noindent" ><a
+class="td10"><!--l. 2377--><p class="noindent" ><a
href="#abbrstyle.short-sm-long"><span
class="cmss-10">short-sm-long</span></a><a
id="dx1-12014"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-8-"><td style="white-space:wrap; text-align:left;" id="TBL-2-8-1"
-class="td01"><!--l. 2176--><p class="noindent" ><span
+class="td01"><!--l. 2378--><p class="noindent" ><span
class="cmss-10">long-short-desc</span><a
id="dx1-12015"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-8-2"
-class="td10"><!--l. 2176--><p class="noindent" ><a
+class="td10"><!--l. 2378--><p class="noindent" ><a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
id="dx1-12016"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-9-"><td style="white-space:wrap; text-align:left;" id="TBL-2-9-1"
-class="td01"><!--l. 2177--><p class="noindent" ><span
+class="td01"><!--l. 2379--><p class="noindent" ><span
class="cmss-10">long-sc-short-desc</span><a
id="dx1-12017"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-9-2"
-class="td10"><!--l. 2177--><p class="noindent" ><a
+class="td10"><!--l. 2379--><p class="noindent" ><a
href="#abbrstyle.long-short-sc-desc"><span
class="cmss-10">long-short-sc-desc</span></a><a
id="dx1-12018"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-10-"><td style="white-space:wrap; text-align:left;" id="TBL-2-10-1"
-class="td01"><!--l. 2178--><p class="noindent" ><span
+class="td01"><!--l. 2380--><p class="noindent" ><span
class="cmss-10">long-sm-short-desc</span><a
id="dx1-12019"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-10-2"
-class="td10"><!--l. 2178--><p class="noindent" ><a
+class="td10"><!--l. 2380--><p class="noindent" ><a
href="#abbrstyle.long-short-sm-desc"><span
class="cmss-10">long-short-sm-desc</span></a><a
id="dx1-12020"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-11-"><td style="white-space:wrap; text-align:left;" id="TBL-2-11-1"
-class="td01"><!--l. 2179--><p class="noindent" ><span
+class="td01"><!--l. 2381--><p class="noindent" ><span
class="cmss-10">long-sp-short-desc</span><a
id="dx1-12021"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-11-2"
-class="td10"><!--l. 2179--><p class="noindent" ><a
+class="td10"><!--l. 2381--><p class="noindent" ><a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
id="dx1-12022"></a> <br
@@ -4082,100 +4676,100 @@
class="cmsy-10">}}</span> </p> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-12-"><td style="white-space:wrap; text-align:left;" id="TBL-2-12-1"
-class="td01"><!--l. 2181--><p class="noindent" ><span
+class="td01"><!--l. 2383--><p class="noindent" ><span
class="cmss-10">short-long-desc</span><a
id="dx1-12023"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-12-2"
-class="td10"><!--l. 2181--><p class="noindent" ><a
+class="td10"><!--l. 2383--><p class="noindent" ><a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
id="dx1-12024"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-13-"><td style="white-space:wrap; text-align:left;" id="TBL-2-13-1"
-class="td01"><!--l. 2182--><p class="noindent" ><span
+class="td01"><!--l. 2384--><p class="noindent" ><span
class="cmss-10">sc-short-long-desc</span><a
id="dx1-12025"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-13-2"
-class="td10"><!--l. 2182--><p class="noindent" ><a
+class="td10"><!--l. 2384--><p class="noindent" ><a
href="#abbrstyle.short-sc-long-desc"><span
class="cmss-10">short-sc-long-desc</span></a><a
id="dx1-12026"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-14-"><td style="white-space:wrap; text-align:left;" id="TBL-2-14-1"
-class="td01"><!--l. 2183--><p class="noindent" ><span
+class="td01"><!--l. 2385--><p class="noindent" ><span
class="cmss-10">sm-short-long-desc</span><a
id="dx1-12027"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-14-2"
-class="td10"><!--l. 2183--><p class="noindent" ><a
+class="td10"><!--l. 2385--><p class="noindent" ><a
href="#abbrstyle.short-sm-long-desc"><span
class="cmss-10">short-sm-long-desc</span></a><a
id="dx1-12028"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-15-"><td style="white-space:wrap; text-align:left;" id="TBL-2-15-1"
-class="td01"><!--l. 2184--><p class="noindent" ><span
+class="td01"><!--l. 2386--><p class="noindent" ><span
class="cmss-10">dua</span><a
id="dx1-12029"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-15-2"
-class="td10"><!--l. 2184--><p class="noindent" ><a
+class="td10"><!--l. 2386--><p class="noindent" ><a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
id="dx1-12030"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-16-"><td style="white-space:wrap; text-align:left;" id="TBL-2-16-1"
-class="td01"><!--l. 2185--><p class="noindent" ><span
+class="td01"><!--l. 2387--><p class="noindent" ><span
class="cmss-10">dua-desc</span><a
id="dx1-12031"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-16-2"
-class="td10"><!--l. 2185--><p class="noindent" ><a
+class="td10"><!--l. 2387--><p class="noindent" ><a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
id="dx1-12032"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-17-"><td style="white-space:wrap; text-align:left;" id="TBL-2-17-1"
-class="td01"><!--l. 2186--><p class="noindent" ><span
+class="td01"><!--l. 2388--><p class="noindent" ><span
class="cmss-10">footnote</span><a
id="dx1-12033"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-17-2"
-class="td10"><!--l. 2186--><p class="noindent" ><a
+class="td10"><!--l. 2388--><p class="noindent" ><a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
id="dx1-12034"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-18-"><td style="white-space:wrap; text-align:left;" id="TBL-2-18-1"
-class="td01"><!--l. 2187--><p class="noindent" ><span
+class="td01"><!--l. 2389--><p class="noindent" ><span
class="cmss-10">footnote-sc</span><a
id="dx1-12035"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-18-2"
-class="td10"><!--l. 2187--><p class="noindent" ><a
+class="td10"><!--l. 2389--><p class="noindent" ><a
href="#abbrstyle.short-sc-footnote"><span
class="cmss-10">short-sc-footnote</span></a><a
id="dx1-12036"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-19-"><td style="white-space:wrap; text-align:left;" id="TBL-2-19-1"
-class="td01"><!--l. 2188--><p class="noindent" ><span
+class="td01"><!--l. 2390--><p class="noindent" ><span
class="cmss-10">footnote-sm</span><a
id="dx1-12037"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-19-2"
-class="td10"><!--l. 2188--><p class="noindent" ><a
+class="td10"><!--l. 2390--><p class="noindent" ><a
href="#abbrstyle.short-sm-footnote"><span
class="cmss-10">short-sm-footnote</span></a><a
id="dx1-12038"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-20-"><td style="white-space:wrap; text-align:left;" id="TBL-2-20-1"
-class="td01"><!--l. 2189--><p class="noindent" ><span
+class="td01"><!--l. 2391--><p class="noindent" ><span
class="cmss-10">footnote-desc</span><a
id="dx1-12039"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-20-2"
-class="td10"><!--l. 2189--><p class="noindent" ><a
+class="td10"><!--l. 2391--><p class="noindent" ><a
href="#abbrstyle.short-footnote-desc"><span
class="cmss-10">short-footnote-desc</span></a><a
id="dx1-12040"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-21-"><td style="white-space:wrap; text-align:left;" id="TBL-2-21-1"
-class="td01"><!--l. 2190--><p class="noindent" ><span
+class="td01"><!--l. 2392--><p class="noindent" ><span
class="cmss-10">footnote-sc-desc</span><a
id="dx1-12041"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-21-2"
-class="td10"><!--l. 2190--><p class="noindent" ><a
+class="td10"><!--l. 2392--><p class="noindent" ><a
href="#abbrstyle.short-sc-footnote-desc"><span
class="cmss-10">short-sc-footnote-desc</span></a><a
id="dx1-12042"></a> </p></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-22-"><td style="white-space:wrap; text-align:left;" id="TBL-2-22-1"
-class="td01"><!--l. 2191--><p class="noindent" ><span
+class="td01"><!--l. 2393--><p class="noindent" ><span
class="cmss-10">footnote-sm-desc</span><a
id="dx1-12043"></a> </p></td><td style="white-space:wrap; text-align:left;" id="TBL-2-22-2"
-class="td10"><!--l. 2191--><p class="noindent" ><a
+class="td10"><!--l. 2393--><p class="noindent" ><a
href="#abbrstyle.short-sm-footnote-desc"><span
class="cmss-10">short-sm-footnote-desc</span></a><a
id="dx1-12044"></a> </p></td></tr></table></div>
@@ -4184,7 +4778,7 @@
</div><hr class="endfloat" />
</div>
-<!--l. 2195--><p class="indent" > The reason for introducing the new style of abbreviation commands provided by
+<!--l. 2397--><p class="indent" > The reason for introducing the new style of abbreviation commands provided by
<span
class="cmss-10">glossaries-extra </span>is because the original acronym commands provided by <span
class="cmss-10">glossaries </span>are
@@ -4193,15 +4787,15 @@
However, if you really want to restore the generic acronym function provided by
<span
class="cmss-10">glossaries </span>you can use
-</p><!--l. 2202--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2404--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\RestoreAcronyms</span><span
class="cmtt-9"> </span></span><a
id="dx1-12045"></a> <span
class="cmtt-10">\RestoreAcronyms </span></div><hr>
-</p><!--l. 2204--><p class="noindent" >
+</p><!--l. 2406--><p class="noindent" >
(before any use of <span
class="cmtt-10">\newacronym</span>).
-</p><!--l. 2207--><p class="indent" > <span
+</p><!--l. 2409--><p class="indent" > <span
class="cmtt-10">\RestoreAcronyms </span>should not be used in combination with the newer
<span
class="cmss-10">glossaries-extra </span>abbreviations. Don’t combine old and new style entries with the same
@@ -4211,7 +4805,7 @@
class="cmss-10">glossaries </span>acronym mechanism doesn’t work well with the newer
<span
class="cmss-10">glossaries-extra </span>commands.
-</p><!--l. 2213--><p class="indent" > <div class="important" title="Important Note"> If you use <span
+</p><!--l. 2415--><p class="indent" > <div class="important" title="Important Note"> If you use <span
class="cmtt-10">\RestoreAcronyms</span>, don’t use any of the commands provided by
<span
class="cmss-10">glossaries-extra </span>intended for abbreviations (such as <span
@@ -4223,8 +4817,8 @@
class="cmtt-10">\newacronym</span><a
id="dx1-12049"></a> as it will cause unexpected results.
</div>
-</p><!--l. 2219--><p class="noindent" >
-</p><!--l. 2221--><p class="indent" > In general, there’s rarely any need for <span
+</p><!--l. 2421--><p class="noindent" >
+</p><!--l. 2423--><p class="indent" > In general, there’s rarely any need for <span
class="cmtt-10">\RestoreAcronyms</span>. If you have a
document that uses <span
class="cmtt-10">\newacronymstyle</span><a
@@ -4238,7 +4832,7 @@
class="cmsy-10">§</span>3.5 </a><a
href="#sec:newabbrvstyle">Defining New Abbreviation Styles<!--tex4ht:ref: sec:newabbrvstyle --></a> for further
details.)
-</p><!--l. 2228--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2430--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsacspace</span><span
class="cmtt-9"> </span></span><a
id="dx1-12052"></a> <span
@@ -4245,7 +4839,7 @@
class="cmtt-10">\glsacspace{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2230--><p class="noindent" >
+</p><!--l. 2432--><p class="noindent" >
The space command <span
class="cmtt-10">\glsacspace </span>used by the <span
class="cmss-10">long-sp-short</span><a
@@ -4252,16 +4846,16 @@
id="dx1-12053"></a> acronym style provided
by <span
class="cmss-10">glossaries </span>is modified so that it uses
-</p><!--l. 2234--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2436--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsacspacemax</span><span
class="cmtt-9"> </span></span><a
id="dx1-12054"></a> <span
class="cmtt-10">\glsacspacemax </span></div><hr>
-</p><!--l. 2236--><p class="noindent" >
+</p><!--l. 2438--><p class="noindent" >
instead of the hard-coded 3em. This is a command not a length and so can be
changed using <span
class="cmtt-10">\renewcommand</span>.
-</p><!--l. 2240--><p class="indent" > Any of the new abbreviation styles that use <span
+</p><!--l. 2442--><p class="indent" > Any of the new abbreviation styles that use <span
class="cmtt-10">\glsxtrfullsep</span><a
id="dx1-12055"></a> (such as <a
href="#abbrstyle.long-short"><span
@@ -4273,18 +4867,18 @@
</p>
- <div class="verbatim" id="verbatim-71">
+ <div class="verbatim" id="verbatim-83">
\renewcommand*{\glsxtrfullsep}[1]{\glsacspace{#1}}
</div>
-<!--l. 2245--><p class="nopar" >
-</p><!--l. 2247--><p class="indent" > The <a
+<!--l. 2447--><p class="nopar" >
+</p><!--l. 2449--><p class="indent" > The <a
id="dx1-12057"></a><a
href="#glo:firstuse">first use</a> acronym font command
-</p><!--l. 2248--><p class="indent" > <hr><div title="Definition"> <span
+</p><!--l. 2450--><p class="indent" > <hr><div title="Definition"> <span
class="cmtt-10">\firstacronymfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2250--><p class="noindent" >
+</p><!--l. 2452--><p class="noindent" >
is redefined to use the <a
id="dx1-12058"></a>first use abbreviation font command <span
class="cmtt-10">\glsfirstabbrvfont</span><a
@@ -4291,12 +4885,12 @@
id="dx1-12059"></a>.
This will be reset if you use <span
class="cmtt-10">\RestoreAcronyms</span>.
-</p><!--l. 2255--><p class="indent" > The subsequent use acronym font command
-</p><!--l. 2256--><p class="indent" > <hr><div title="Definition"> <span
+</p><!--l. 2457--><p class="indent" > The subsequent use acronym font command
+</p><!--l. 2458--><p class="indent" > <hr><div title="Definition"> <span
class="cmtt-10">\acronymfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2258--><p class="noindent" >
+</p><!--l. 2460--><p class="noindent" >
is redefined to use the subsequent use abbreviation font command <span
class="cmtt-10">\glsabbrvfont</span><a
id="dx1-12060"></a>.
@@ -4303,19 +4897,494 @@
This will be reset if you use <span
class="cmtt-10">\RestoreAcronyms</span>.
</p>
-<!--l. 2263--><p class="noindent" ><a
+<!--l. 2465--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.8 </span> <a
+ id="x1-130002.8"></a><span
+class="cmss-10">glossary-bookindex </span>package</h3>
+<!--l. 2468--><p class="noindent" >As from v1.21, <span
+class="cmss-10">glossaries-extra </span>has a new supplementary package <span
+class="cmss-10">glossary-bookindex</span><a
+ id="dx1-13001"></a>
+which provides the glossary style <span
+class="cmss-10">bookindex</span><a
+ id="dx1-13002"></a>. This is very similar to the <span
+class="cmss-10">mcolindexgroup</span><a
+ id="dx1-13003"></a>
+style but is designed for indexes, so by default only the name and location list
+are displayed. You can either load this package explicitly and then set the
+style:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-84">
+\usepackage{glossaries-extra}
+ <br />\usepackage{glossary-bookindex}
+ <br />\setglossarystyle{bookindex}
+</div>
+<!--l. 2478--><p class="nopar" > or use both the <a
+href="#styopt.stylemods"><span
+class="cmss-10">stylemods</span></a><a
+ id="dx1-13004"></a> and <span
+class="cmss-10">style</span><a
+ id="dx1-13005"></a> options:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-85">
+\usepackage[stylemods=bookindex,style=bookindex]{glossaries-extra}
+</div>
+<!--l. 2482--><p class="nopar" > The <span
+class="cmss-10">bookindex</span><a
+ id="dx1-13006"></a> style only supports a maximum hierarchical level of 2 (top-level,
+level 1 and level 2).
+</p><!--l. 2486--><p class="indent" > The number of columns is given by
+</p><!--l. 2487--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexcols</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13007"></a> <span
+class="cmtt-10">\glsxtrbookindexcols </span></div><hr>
+</p><!--l. 2489--><p class="noindent" >
+which defaults to 2.
+</p><!--l. 2492--><p class="indent" > This style uses the <span
+class="cmss-10">multicols</span><a
+ id="dx1-13008"></a><a
+ id="dx1-13009"></a> environment. If the command
+</p><!--l. 2494--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexcolspread</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13010"></a> <span
+class="cmtt-10">\glsxtrbookindexcolspread </span></div><hr>
+</p><!--l. 2496--><p class="noindent" >
+isn’t empty then it’s supplied as the optional argument following <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">\begin{multicols}</span></span></span>
+<span
+class="cmtt-10">{</span>⟨<span
+class="cmti-10">n</span>⟩<span
+class="cmtt-10">}</span>.
+</p><!--l. 2500--><p class="indent" > Each top-level entry is displayed using
+</p><!--l. 2501--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexname</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13011"></a> <span
+class="cmtt-10">\glsxtrbookindexname{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 2503--><p class="noindent" >
+where the entry is identified by ⟨<span
+class="cmti-10">label</span>⟩. This just does <span
+class="cmtt-10">\glossentryname{</span>⟨<span
+class="cmti-10">label</span>⟩<span
+class="cmtt-10">} </span>by
+default. For example, if you want the symbol to be included:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-86">
+\renewcommand*{\glsxtrbookindexname}[1]{%
+ <br /> \glossentryname{#1}%
+ <br /> \ifglshassymbol{#1}{\space (\glossentrysymbol{#1})}{}%
+ <br />}
+</div>
+<!--l. 2512--><p class="nopar" > Alternatively you can use the <span
+class="cmtt-10">\glsxtrpostname</span>⟨<span
+class="cmitt-10">category</span>⟩ hook.
+</p><!--l. 2516--><p class="indent" > Sub-entries are displayed using
+</p><!--l. 2517--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexsubname</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13012"></a> <span
+class="cmtt-10">\glsxtrbookindexsubname{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 2519--><p class="noindent" >
+which just defaults to <span
+class="cmtt-10">\glsxtrbookindexname{</span>⟨<span
+class="cmti-10">label</span>⟩<span
+class="cmtt-10">}</span>.
+</p><!--l. 2522--><p class="indent" > The separator used before the location list for top-level entries is given
+by
+</p><!--l. 2524--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13013"></a> <span
+class="cmtt-10">\glsxtrbookindexprelocation{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2526--><p class="noindent" >
+where ⟨<span
+class="cmti-10">label</span>⟩ is the entry’s label. This checks if the <span
+class="cmtt-10">location </span>field has been set. If it
+has, it does
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-87">
+\ifglsnopostdot,\fi\glsxtrprelocation
+</div>
+<!--l. 2532--><p class="nopar" > otherwise it just does <span
+class="cmtt-10">\glsxtrprelocation </span>(which defaults to <span
+class="cmtt-10">\space</span>). If you’re not
+using <a
+ id="dx1-13014"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-13015"></a></a>, the <span
+class="cmss-10">location</span><a
+ id="dx1-13016"></a> field won’t be set.
+</p><!--l. 2537--><p class="indent" > The separator used before the location list for sub-entries is given by
+</p><!--l. 2539--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexsubprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13017"></a> <span
+class="cmtt-10">\glsxtrbookindexsubprelocation{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2541--><p class="noindent" >
+which defaults to <span
+class="cmtt-10">\glsxtrbookindexprelocation{</span>⟨<span
+class="cmti-10">label</span>⟩<span
+class="cmtt-10">}</span>.
+</p><!--l. 2544--><p class="indent" > The separator used between a top-level parent and child entry is given
+by
+</p><!--l. 2546--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexparentchildsep</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13018"></a> <span
+class="cmtt-10">\glsxtrbookindexparentchildsep</span>
+</div><hr>
+</p><!--l. 2548--><p class="noindent" >
+This defaults to <span
+class="cmtt-10">\nopagebreak</span>.
+</p><!--l. 2551--><p class="indent" > The separator used between a sub-level parent and child entry is given
+by
+</p><!--l. 2553--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexparentsubchildsep</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13019"></a> <span
+class="cmtt-10">\glsxtrbookindexparentsubchildsep</span>
+</div><hr>
+</p><!--l. 2555--><p class="noindent" >
+This defaults to <span
+class="cmtt-10">\glsxtrbookindexparentchildsep</span>.
+</p><!--l. 2558--><p class="indent" > The separator between top-level entries is given by
+</p><!--l. 2559--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexbetween</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13020"></a> <span
+class="cmtt-10">\glsxtrbookindexbetween{</span>⟨<span
+class="cmitt-10">label1</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">label2</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2561--><p class="noindent" >
+This comes after the entry given by ⟨<span
+class="cmti-10">label1</span>⟩, if the entry has no children, or after the
+last descendent otherwise, so it always comes immediately before the entry given by
+⟨<span
+class="cmti-10">label2</span>⟩ unless the entry occurs at the start of a group. This does nothing by
+default.
+</p><!--l. 2568--><p class="indent" > The separator between two level 1 entries is given by
+</p><!--l. 2569--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexsubbetween</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13021"></a> <span
+class="cmtt-10">\glsxtrbookindexsubbetween{</span>⟨<span
+class="cmitt-10">label1</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">label2</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2571--><p class="noindent" >
+</p><!--l. 2573--><p class="indent" > The separator between two level 2 entries is given by
+</p><!--l. 2574--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexsubsubbetween</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13022"></a> <span
+class="cmtt-10">\glsxtrbookindexsubsubbetween{</span>⟨<span
+class="cmitt-10">label1</span>⟩<span
+class="cmtt-10">}</span>
+<span
+class="cmtt-10">{</span>⟨<span
+class="cmitt-10">label2</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 2576--><p class="noindent" >
+At the end of each letter group, the following hooks are done in order:
+</p><!--l. 2579--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexsubsubatendgroup</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13023"></a> <span
+class="cmtt-10">\glsxtrbookindexsubsubatendgroup</span>
+<span
+class="cmtt-10">{</span>⟨<span
+class="cmitt-10">sub-sub-label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+
+
+
+</p><!--l. 2581--><p class="noindent" >
+</p><!--l. 2582--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexsubatendgroup</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13024"></a> <span
+class="cmtt-10">\glsxtrbookindexsubatendgroup{</span>⟨<span
+class="cmitt-10">sub-label</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2584--><p class="noindent" >
+</p><!--l. 2585--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexatendgroup</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13025"></a> <span
+class="cmtt-10">\glsxtrbookindexatendgroup{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2587--><p class="noindent" >
+where ⟨<span
+class="cmti-10">sub-sub-label</span>⟩ is the label of the last level 2 entry, ⟨<span
+class="cmti-10">sub-label</span>⟩ is the label of the
+last level 1 entry and ⟨<span
+class="cmti-10">label</span>⟩ is the label of the last level 0 entry.
+</p><!--l. 2593--><p class="indent" > For example, the resource option <span
+class="cmtt-10">seealso=omit </span>instructs <a
+ id="dx1-13026"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-13027"></a></a> to omit the
+<span
+class="cmtt-10">seealso </span>cross-reference from the location list. (The <span
+class="cmtt-10">see </span>cross-reference will still be
+added unless you also have <span
+class="cmtt-10">see=omit</span>.) The <span
+class="cmtt-10">seealso </span>cross-reference can instead be
+appended after the child entries using:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-88">
+\renewcommand{\glsxtrbookindexatendgroup}[1]{%
+ <br />  \glsxtrifhasfield{seealso}{#1}{\glstreesubitem\glsxtruseseealso{#1}}{}%
+ <br />}
+ <br />\renewcommand{\glsxtrbookindexbetween}[2]{%
+ <br />  \glsxtrbookindexatendgroup{#1}%
+ <br />}%
+ <br />\renewcommand{\glsxtrbookindexsubatendgroup}[1]{%
+ <br />  \glsxtrifhasfield{seealso}{#1}{\glstreesubsubitem\glsxtruseseealso{#1}}{}%
+ <br />}
+ <br />\renewcommand{\glsxtrbookindexsubbetween}[2]{%
+ <br />  \glsxtrbookindexsubatendgroup{#1}%
+ <br />}
+ <br />\renewcommand{\glsxtrbookindexsubsubatendgroup}[1]{%
+ <br />  \glsxtrifhasfield{seealso}{#1}%
+ <br />  {\glstreeitem\hspace*{40pt}\glsxtruseseealso{#1}}{}%
+ <br />}
+ <br />\renewcommand{\glsxtrbookindexsubsubbetween}[2]{%
+ <br />  \glsxtrbookindexsubsubatendgroup{#1}%
+ <br />}
+</div>
+<!--l. 2623--><p class="nopar" > This uses <span
+class="cmtt-10">\glstreesubitem </span>and <span
+class="cmtt-10">\glstreesubsubitem </span>to indent the cross-reference
+according to the next level down, so the cross-reference for a top-level entry is aligned
+with the sub-entries, and a level 1 entry has its cross-reference aligned with
+sub-sub-entries. In the event that a level 2 entry has a cross-reference, this is
+indented a bit further (but it won’t be aligned with any deeper level as the <span
+class="cmss-10">bookindex</span><a
+ id="dx1-13028"></a>
+style only supports a maximum of two sub-levels).
+</p><!--l. 2634--><p class="indent" > The <span
+class="cmss-10">bookindex</span><a
+ id="dx1-13029"></a> style uses group headings. (If you use <a
+ id="dx1-13030"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-13031"></a></a> remember to invoke
+it with the <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">--group</span></span></span> or <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">-g</span></span></span> switch.) The heading will use
+</p><!--l. 2637--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexbookmark</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13032"></a> <span
+class="cmtt-10">\glsxtrbookindexbookmark{</span>⟨<span
+class="cmitt-10">group title</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">name</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2639--><p class="noindent" >
+If <span
+class="cmtt-10">\pdfbookmark </span>has been defined, this will use that command to bookmark the
+group title. If <a
+href="#styopt.section"><span
+class="cmss-10">section</span></a><span
+class="cmss-10">=chapter</span><a
+ id="dx1-13033"></a> is set (default if chapters are defined) then this
+uses level 1 otherwise it uses level 2. You can redefine this command if this
+isn’t appropriate. If <span
+class="cmtt-10">\pdfbookmark </span>hasn’t been defined, this command does
+nothin.
+</p><!--l. 2647--><p class="indent" > The group heading is formatted according to
+</p><!--l. 2648--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexformatheader</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13034"></a> <span
+class="cmtt-10">\glsxtrbookindexformatheader{</span>⟨<span
+class="cmitt-10">group title</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+
+
+
+</p><!--l. 2650--><p class="noindent" >
+which is defined as
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-89">
+\newcommand*{\glsxtrbookindexformatheader}[1]{%
+ <br />  \par{\centering\glstreegroupheaderfmt{#1}\par}%
+ <br />}
+</div>
+<!--l. 2656--><p class="nopar" > where <span
+class="cmtt-10">\glstreegroupheaderfmt </span>is provided by the <span
+class="cmss-10">glossary-tree</span><a
+ id="dx1-13035"></a> package, which is
+automatically loaded. Note that the entry names aren’t encapsulated with
+<span
+class="cmtt-10">\glstreenamefmt</span>.
+</p><!--l. 2662--><p class="indent" > The <span
+class="cmss-10">glossary-bookindex</span><a
+ id="dx1-13036"></a> package provides some supplementary commands that
+aren’t used by default, but may be used when adjusting the style. These commands
+should only be used within one of the <span
+class="cmtt-10">\print</span><span
+class="cmtt-10">…glossary </span>commands. (That is, they
+should only be used in glossary styles.)
+</p><!--l. 2667--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexmarkentry</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13037"></a> <span
+class="cmtt-10">\glsxtrbookindexmarkentry{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 2669--><p class="noindent" >
+This writes information to the <span
+class="cmtt-10">.aux </span>file that can be read on the next run to obtain
+the first and last entry on each page of the glossary.
+</p><!--l. 2674--><p class="indent" > You can display the first entry associated with the current page using:
+</p><!--l. 2676--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexfirstmark</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13038"></a> <span
+class="cmtt-10">\glsxtrbookindexfirstmark </span></div><hr>
+</p><!--l. 2678--><p class="noindent" >
+and the last entry associated with the current page using:
+</p><!--l. 2681--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexlastmark</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13039"></a> <span
+class="cmtt-10">\glsxtrbookindexlastmark </span></div><hr>
+</p><!--l. 2683--><p class="noindent" >
+These do nothing if there are no entries marked on the current page (or if the
+document build isn’t up to date).
+</p><!--l. 2687--><p class="indent" > The entry is formatted using:
+</p><!--l. 2688--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexfirstmarkfmt</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13040"></a> <span
+class="cmtt-10">\glsxtrbookindexfirstmarkfmt{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2690--><p class="noindent" >
+for the first instance and
+</p><!--l. 2692--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrbookindexlastmarkfmt</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-13041"></a> <span
+class="cmtt-10">\glsxtrbookindexlastmarkfmt{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">}</span>
+</div><hr>
+</p><!--l. 2694--><p class="noindent" >
+for the last.
+</p><!--l. 2697--><p class="indent" > These commands are designed for use in page headers or footers where the page
+number is stable. For example, <span
+class="cmtt-10">\glsxtrbookindexname </span>can be redefined to mark the
+current entry:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-90">
+\renewcommand{\glsxtrbookindexname}[1]{%
+ <br />  \glsxtrbookindexmarkentry{#1}%
+ <br />  \glossentryname{#1}%
+ <br />}
+</div>
+<!--l. 2705--><p class="nopar" > If you only want to mark the top-level entries, remember to redefine
+<span
+class="cmtt-10">\glsxtrbookindexsubname </span>as it defaults to <span
+class="cmtt-10">\glsxtrbookindexname</span>:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-91">
+\renewcommand{\glsxtrbookindexsubname}[1]{%
+ <br />  \glossentryname{#1}%
+ <br />}
+</div>
+<!--l. 2713--><p class="nopar" >
+</p><!--l. 2715--><p class="indent" > Then if you’re using <span
+class="cmss-10">fancyhdr</span><a
+ id="dx1-13042"></a> you can set the page style to show the first and last
+entry for the current page with:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-92">
+  \pagestyle{fancy}%
+ <br />  \lhead{\thepage}%
+ <br />  \lfoot{\glsxtrbookindexfirstmark}%
+ <br />  \cfoot{}%
+ <br />  \rfoot{\glsxtrbookindexlastmark}%
+</div>
+<!--l. 2723--><p class="nopar" >
+</p><!--l. 2725--><p class="noindent" >
+</p>
+<!--l. 2725--><p class="noindent" ><a
+href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2.9 </span> <a
id="sec:glosstylemods"></a>Glossary Style Modifications</h3>
-<!--l. 2266--><p class="noindent" >The default value of <span
-class="cmtt-10">\glslistdottedwidth</span><a
- id="dx1-13001"></a> is changed so that it’s set at the start
-of the document (if it hasn’t been changed in the preamble). This should
-take into account situations where <span
-class="cmtt-10">\hsize </span>isn’t set until the start of the
-document.
-</p><!--l. 2271--><p class="indent" > The <span
+<!--l. 2728--><p class="noindent" >The <span
+class="cmss-10">glossaries-extra-stylemods</span><a
+ id="dx1-14001"></a> package (more conveniently loaded through the
+<span
+class="cmss-10">glossaries-extra </span><a
+href="#styopt.stylemods"><span
+class="cmss-10">stylemods</span></a><a
+ id="dx1-14002"></a> option) modifies some of the predefined styles that are
+provided with the <span
+class="cmss-10">glossaries </span>package. These modifications are described in more detail
+in <a
+href="#x1-170002.9.3"><span
+class="cmsy-10">§</span>2.9.3 </a><a
+href="#x1-170002.9.3">The <span
+class="cmss-10">glossaries-extra-stylemods </span>Package<!--tex4ht:ref: sec:stylemods --></a>.
+</p><!--l. 2735--><p class="indent" > The <span
class="cmss-10">glossaries</span><a
- id="dx1-13002"></a> package tries to determine the group title from its label by first
+ id="dx1-14003"></a> package tries to determine the group title from its label by first
checking if <span
class="cmtt-10">\</span>⟨<span
class="cmti-10">label</span>⟩<span
@@ -4322,84 +5391,84 @@
class="cmtt-10">groupname </span>exists. If it doesn’t exist, then the title is assumed to be
the same as the label. For example, when typesetting the “A” letter group, <span
class="cmss-10">glossaries</span><a
- id="dx1-13003"></a>
+ id="dx1-14004"></a>
first checks if <span
class="cmtt-10">\Agroupname </span>exists. This could potentially cause conflict with another
package that may have some other meaning for <span
class="cmtt-10">\Agroupname</span>, so <span
class="cmss-10">glossaries-extra</span><a
- id="dx1-13004"></a> first
+ id="dx1-14005"></a> first
checks for the existence of the internal command <span
class="cmtt-10">\glsxtr at grouptitle@</span>⟨<span
class="cmti-10">label</span>⟩
which shouldn’t clash with another package. You can set the group title
using
-</p><!--l. 2283--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2747--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsetgrouptitle</span><span
class="cmtt-9"> </span></span><a
- id="dx1-13005"></a> <span
+ id="dx1-14006"></a> <span
class="cmtt-10">\glsxtrsetgrouptitle{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">title</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2285--><p class="noindent" >
+</p><!--l. 2749--><p class="noindent" >
For example:
</p>
- <div class="verbatim" id="verbatim-72">
+ <div class="verbatim" id="verbatim-93">
\glsxtrsetgrouptitle{A}{A (a)}
</div>
-<!--l. 2289--><p class="nopar" >
-</p><!--l. 2291--><p class="noindent" >
+<!--l. 2753--><p class="nopar" >
+</p><!--l. 2755--><p class="noindent" >
</p>
-<!--l. 2291--><p class="noindent" ><a
-href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.8.1 </span> <a
+<!--l. 2755--><p class="noindent" ><a
+href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.9.1 </span> <a
id="sec:stylehooks"></a>Style Hooks</h4>
-<!--l. 2294--><p class="noindent" >The commands <span
+<!--l. 2758--><p class="noindent" >The commands <span
class="cmtt-10">\glossentryname</span><a
- id="dx1-14001"></a> and <span
+ id="dx1-15001"></a> and <span
class="cmtt-10">\glossentrydesc</span><a
- id="dx1-14002"></a> are modified to take into
+ id="dx1-15002"></a> are modified to take into
account the <a
href="#catattr.glossname"><span
class="cmss-10">glossname</span></a><a
- id="dx1-14003"></a>, <a
+ id="dx1-15003"></a>, <a
href="#catattr.glossdesc"><span
class="cmss-10">glossdesc</span></a><a
- id="dx1-14004"></a> and <a
+ id="dx1-15004"></a> and <a
href="#catattr.glossdescfont"><span
class="cmss-10">glossdescfont</span></a><a
- id="dx1-14005"></a> attributes (see <a
+ id="dx1-15005"></a> attributes (see <a
href="#sec:categories"><span
class="cmsy-10">§</span>5 </a><a
href="#sec:categories">Categories<!--tex4ht:ref: sec:categories --></a>). This
means you can make simple case-changing modifications to the name and description
without defining a new glossary style.
-</p><!--l. 2300--><p class="indent" > There is a hook after <span
+</p><!--l. 2764--><p class="indent" > There is a hook after <span
class="cmtt-10">\glossentryname</span><a
- id="dx1-14006"></a> and <span
+ id="dx1-15006"></a> and <span
class="cmtt-10">\Glossentryname</span><a
- id="dx1-14007"></a>:
-</p><!--l. 2302--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-15007"></a>:
+</p><!--l. 2766--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostnamehook</span><span
class="cmtt-9"> </span></span><a
- id="dx1-14008"></a> <span
+ id="dx1-15008"></a> <span
class="cmtt-10">\glsxtrpostnamehook{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2304--><p class="noindent" >
+</p><!--l. 2768--><p class="noindent" >
By default this checks the <a
href="#catattr.indexname"><span
class="cmss-10">indexname</span></a><a
- id="dx1-14009"></a> attribute. If the attribute exists for the
+ id="dx1-15009"></a> attribute. If the attribute exists for the
category to which the label belongs, then the name is automatically indexed
using
-</p><!--l. 2309--><p class="indent" > <hr><div title="Definition"><span
+</p><!--l. 2773--><p class="indent" > <hr><div title="Definition"><span
class="cmtt-10">\glsxtrdoautoindexname</span><a
- id="dx1-14010"></a><span
+ id="dx1-15010"></a><span
class="cmtt-10">{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}</span><span
@@ -4406,18 +5475,18 @@
class="cmsy-10">{</span><span
class="cmtt-10">indexname</span><span
class="cmsy-10">} </span></div><hr>
-</p><!--l. 2310--><p class="noindent" >
+</p><!--l. 2774--><p class="noindent" >
See <a
href="#sec:autoindex"><span
class="cmsy-10">§</span>7 </a><a
href="#sec:autoindex">Auto-Indexing<!--tex4ht:ref: sec:autoindex --></a> for further details.
-</p><!--l. 2314--><p class="indent" > As from version 1.04, the post-name hook <span
+</p><!--l. 2778--><p class="indent" > As from version 1.04, the post-name hook <span
class="cmtt-10">\glsxtrpostnamehook </span>will also use
<span
class="cmtt-10">\glsxtrpostname</span>⟨<span
class="cmti-10">category</span>⟩ if it exists. You can use <span
class="cmtt-10">\glscurrententrylabel</span><a
- id="dx1-14011"></a> to
+ id="dx1-15011"></a> to
obtain the entry label with the definition of this command. For example,
suppose you are using a glossary style the doesn’t display the symbol, you can
insert the symbol after the name for a particular category, say, the “symbol”
@@ -4426,25 +5495,27 @@
</p>
- <div class="verbatim" id="verbatim-73">
+ <div class="verbatim" id="verbatim-94">
\newcommand*{\glsxtrpostnamesymbol}{\space
 <br /> (\glsentrysymbol{\glscurrententrylabel})}
</div>
-<!--l. 2325--><p class="nopar" >
-</p><!--l. 2327--><p class="indent" > The post-description code used within the glossary is modified so that it also
+<!--l. 2789--><p class="nopar" >
+</p><!--l. 2791--><p class="indent" > The post-description code used within the glossary is modified so that it also
does
-</p><!--l. 2329--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2793--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpostdescription</span><span
class="cmtt-9"> </span></span><a
- id="dx1-14012"></a> <span
+ id="dx1-15012"></a> <span
class="cmtt-10">\glsxtrpostdescription </span></div><hr>
-</p><!--l. 2331--><p class="noindent" >
+</p><!--l. 2795--><p class="noindent" >
This occurs before the original <span
-class="cmtt-10">\glspostdescription</span>, so if the <span
-class="cmss-10">nopostdot=false</span><a
- id="dx1-14013"></a>
+class="cmtt-10">\glspostdescription</span>, so if the <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><span
+class="cmss-10">=false</span><a
+ id="dx1-15013"></a>
option is used, it will be inserted before the terminating full stop.
-</p><!--l. 2336--><p class="indent" > This new command will do <span
+</p><!--l. 2800--><p class="indent" > This new command will do <span
class="cmtt-10">\glsxtrpostdesc</span>⟨<span
class="cmitt-10">category</span>⟩ if it exists, where
⟨<span
@@ -4452,39 +5523,39 @@
<span
class="cmtt-10">\glsxtrpostdescgeneral </span>for entries with the category set to <span
class="cmss-10">general</span><a
- id="dx1-14014"></a> or
+ id="dx1-15014"></a> or
<span
class="cmtt-10">\glsxtrpostdescacronym </span>for entries with the category set to <span
class="cmss-10">acronym</span><a
- id="dx1-14015"></a>.
-</p><!--l. 2343--><p class="indent" > Since both <span
+ id="dx1-15015"></a>.
+</p><!--l. 2807--><p class="indent" > Since both <span
class="cmtt-10">\glossentry </span>and <span
class="cmtt-10">\subglossentry </span>set
-</p><!--l. 2344--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2808--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glscurrententrylabel</span><span
class="cmtt-9"> </span></span><a
- id="dx1-14016"></a> <span
+ id="dx1-15016"></a> <span
class="cmtt-10">\glscurrententrylabel </span></div><hr>
-</p><!--l. 2346--><p class="noindent" >
+</p><!--l. 2810--><p class="noindent" >
to the label for the current entry, you can use this within the definition of these
post-description hooks if you need to reference the label.
-</p><!--l. 2351--><p class="indent" > For example, suppose you want to insert the plural form in brackets after the
+</p><!--l. 2815--><p class="indent" > For example, suppose you want to insert the plural form in brackets after the
description in the glossary, but only for entries in the <span
class="cmss-10">general</span><a
- id="dx1-14017"></a> category, then you could
+ id="dx1-15017"></a> category, then you could
do:
</p>
- <div class="verbatim" id="verbatim-74">
+ <div class="verbatim" id="verbatim-95">
\renewcommand{\glsxtrpostdescgeneral}{\space
 <br /> (plural: \glsentryplural{\glscurrententrylabel})}
</div>
-<!--l. 2357--><p class="nopar" > This means you don’t have to define a custom glossary style, which you may find
+<!--l. 2821--><p class="nopar" > This means you don’t have to define a custom glossary style, which you may find
more complicated. (It also allows more flexibility if you decide to change the
underlying glossary style.)
-</p><!--l. 2362--><p class="indent" > <div class="important" title="Important Note"> This feature can’t be used for glossary styles that ignore <span
+</p><!--l. 2826--><p class="indent" > <div class="important" title="Important Note"> This feature can’t be used for glossary styles that ignore <span
class="cmtt-10">\glspostdescription </span>or if
you redefine <span
class="cmtt-10">\glspostdescription </span>without including <span
@@ -4491,68 +5562,71 @@
class="cmtt-10">\glsxtrpostdescription</span>.
(For example, if you redefine <span
class="cmtt-10">\glspostdescription </span>to do nothing instead of using
-the <span
-class="cmss-10">nopostdot</span><a
- id="dx1-14018"></a> option to suppress the terminating full stop.) See <a
-href="#x1-160002.8.3"><span
-class="cmsy-10">§</span>2.8.3 </a><a
-href="#x1-160002.8.3">The
+the <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><a
+ id="dx1-15018"></a> option to suppress the terminating full stop.) See <a
+href="#x1-170002.9.3"><span
+class="cmsy-10">§</span>2.9.3 </a><a
+href="#x1-170002.9.3">The
<span
class="cmss-10">glossaries-extra-stylemods </span>Package<!--tex4ht:ref: sec:stylemods --></a> to patch the predefined styles provided by <span
class="cmss-10">glossaries</span>
that are missing <span
class="cmtt-10">\glspostdescription</span>. </div>
-</p><!--l. 2371--><p class="noindent" >
-</p><!--l. 2373--><p class="noindent" >
+</p><!--l. 2835--><p class="noindent" >
+</p><!--l. 2837--><p class="noindent" >
</p>
-<!--l. 2373--><p class="noindent" ><a
-href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.8.2 </span> <a
+<!--l. 2837--><p class="noindent" ><a
+href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.9.2 </span> <a
id="sec:glosstylenumlist"></a>Number List</h4>
-<!--l. 2376--><p class="noindent" >The <a
- id="dx1-15001"></a><a
+<!--l. 2840--><p class="noindent" >The <a
+ id="dx1-16001"></a><a
href="#glo:numberlist">number list</a> is now placed inside the argument of
-</p><!--l. 2377--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2841--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrFormatLocationList</span><span
class="cmtt-9"> </span></span><a
- id="dx1-15002"></a> <span
+ id="dx1-16002"></a> <span
class="cmtt-10">\GlsXtrFormatLocationList{</span>⟨<span
class="cmitt-10">number list</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 2379--><p class="noindent" >
+</p><!--l. 2843--><p class="noindent" >
This is internally used by <span
-class="cmtt-10">\glossaryentrynumbers</span>. The <span
-class="cmss-10">nonumberlist</span><a
- id="dx1-15003"></a> option
+class="cmtt-10">\glossaryentrynumbers</span>. The <a
+href="#styopt.nonumberlist"><span
+class="cmss-10">nonumberlist</span></a><a
+ id="dx1-16003"></a> option
redefines <span
class="cmtt-10">\glossaryentrynumbers </span>so that it doesn’t display the <a
- id="dx1-15004"></a>number list, but it
+ id="dx1-16004"></a>number list, but it
still saves the <a
- id="dx1-15005"></a>number list in case it’s required.
-</p><!--l. 2385--><p class="indent" > <div class="important" title="Important Note"> If you want to suppress the <a
- id="dx1-15006"></a>number list always use the <span
-class="cmss-10">nonumberlist</span><a
- id="dx1-15007"></a> option
+ id="dx1-16005"></a>number list in case it’s required.
+</p><!--l. 2849--><p class="indent" > <div class="important" title="Important Note"> If you want to suppress the <a
+ id="dx1-16006"></a>number list always use the <a
+href="#styopt.nonumberlist"><span
+class="cmss-10">nonumberlist</span></a><a
+ id="dx1-16007"></a> option
instead of redefining <span
class="cmtt-10">\glossaryentrynumbers </span>to do nothing. </div>
-</p><!--l. 2389--><p class="noindent" >
-</p><!--l. 2391--><p class="indent" > If you want to, for example, change the font for the entire <a
- id="dx1-15008"></a>number list
+</p><!--l. 2853--><p class="noindent" >
+</p><!--l. 2855--><p class="indent" > If you want to, for example, change the font for the entire <a
+ id="dx1-16008"></a>number list
then redefine <span
class="cmtt-10">\GlsXtrFormatLocationList </span>as appropriate. Don’t modify
<span
class="cmtt-10">\glossaryentrynumbers</span>.
-</p><!--l. 2395--><p class="indent" > Sometimes users like to insert “page” or “pages” in front of the <a
- id="dx1-15009"></a>number list. This
+</p><!--l. 2859--><p class="indent" > Sometimes users like to insert “page” or “pages” in front of the <a
+ id="dx1-16009"></a>number list. This
is quite fiddly to do with the base <span
class="cmss-10">glossaries </span>package, but <span
class="cmss-10">glossaries-extra </span>provides a
way of doing this. First you need to enable this option and specify the text to display
using:
-</p><!--l. 2400--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 2864--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrEnablePreLocationTag</span><span
class="cmtt-9"> </span></span><a
- id="dx1-15010"></a> <span
+ id="dx1-16010"></a> <span
class="cmtt-10">\GlsXtrEnablePreLocationTag{</span>⟨<span
class="cmitt-10">page</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -4559,10 +5633,10 @@
class="cmitt-10">pages</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 2402--><p class="noindent" >
+</p><!--l. 2866--><p class="noindent" >
where ⟨<span
class="cmti-10">page</span>⟩ is the text to display if the <a
- id="dx1-15011"></a>number list only contains a single location and
+ id="dx1-16011"></a>number list only contains a single location and
⟨<span
class="cmti-10">pages</span>⟩ is the text to display otherwise. For example:
@@ -4569,34 +5643,34 @@
</p>
- <div class="verbatim" id="verbatim-75">
+ <div class="verbatim" id="verbatim-96">
\GlsXtrEnablePreLocationTag{Page: }{Pages: }
</div>
-<!--l. 2408--><p class="nopar" > An extra run is required when using this command.
-</p><!--l. 2411--><p class="indent" > <div class="important" title="Important Note"> Use <span
+<!--l. 2872--><p class="nopar" > An extra run is required when using this command.
+</p><!--l. 2875--><p class="indent" > <div class="important" title="Important Note"> Use <span
class="cmtt-10">glsignore </span>not <span
class="cmtt-10">@gobble </span>as the format if you want to suppress the page
number (and only index the entry once). </div>
-</p><!--l. 2414--><p class="noindent" >
-</p><!--l. 2416--><p class="indent" > See the accompanying sample file <span
+</p><!--l. 2878--><p class="noindent" >
+</p><!--l. 2880--><p class="indent" > See the accompanying sample file <span
class="cmtt-10">sample-pages.tex</span>.
-</p><!--l. 2418--><p class="indent" > Note that <a
- id="dx1-15012"></a><a
+</p><!--l. 2882--><p class="indent" > Note that <a
+ id="dx1-16012"></a><a
href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-15013"></a></a> can be instructed to insert a prefix at the start of non-empty
+ id="dx1-16013"></a></a> can be instructed to insert a prefix at the start of non-empty
location lists, which can be used as an alternative to <span
class="cmtt-10">\GlsXtrEnablePreLocationTag</span>.
-</p><!--l. 2422--><p class="noindent" >
+</p><!--l. 2886--><p class="noindent" >
</p>
-<!--l. 2422--><p class="noindent" ><a
-href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.8.3 </span> <a
- id="x1-160002.8.3"></a>The <span
+<!--l. 2886--><p class="noindent" ><a
+href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.9.3 </span> <a
+ id="x1-170002.9.3"></a>The <span
class="cmss-10">glossaries-extra-stylemods </span>Package</h4>
-<!--l. 2425--><p class="noindent" >As from v1.02, <span
+<!--l. 2889--><p class="noindent" >As from v1.02, <span
class="cmss-10">glossaries-extra </span>now includes the package <span
class="cmss-10">glossaries-extra-stylemods</span><a
- id="dx1-16001"></a> that
+ id="dx1-17001"></a> that
will redefine the predefined styles to include the post-description hook (for those that
are missing it). You will need to make sure the styles have already been defined
before loading <span
@@ -4605,12 +5679,12 @@
</p>
- <div class="verbatim" id="verbatim-76">
+ <div class="verbatim" id="verbatim-97">
\usepackage{glossaries-extra}
 <br />\usepackage{glossary-longragged}
 <br />\usepackage{glossaries-extra-stylemods}
</div>
-<!--l. 2434--><p class="nopar" > Alternatively you can load <span
+<!--l. 2898--><p class="nopar" > Alternatively you can load <span
class="cmtt-10">glossary-</span>⟨<span
class="cmti-10">name</span>⟩<span
class="cmtt-10">.sty </span>at the same time by passing ⟨<span
@@ -4617,59 +5691,59 @@
class="cmti-10">name</span>⟩
as a package option to <span
class="cmss-10">glossaries-extra-stylemods</span><a
- id="dx1-16002"></a>. For example:
+ id="dx1-17002"></a>. For example:
</p>
- <div class="verbatim" id="verbatim-77">
+ <div class="verbatim" id="verbatim-98">
\usepackage{glossaries-extra}
 <br />\usepackage[longragged]{glossaries-extra-stylemods}
</div>
-<!--l. 2442--><p class="nopar" > Another option is to use the <a
+<!--l. 2906--><p class="nopar" > Another option is to use the <a
href="#styopt.stylemods"><span
class="cmss-10">stylemods</span></a><a
- id="dx1-16003"></a> key when you load <span
+ id="dx1-17003"></a> key when you load <span
class="cmss-10">glossaries-extra</span>. You can
omit a value if you only want to use the predefined styles that are automatically
loaded by <span
class="cmss-10">glossaries </span>(for example, the <span
class="cmss-10">long3col</span><a
- id="dx1-16004"></a> style):
+ id="dx1-17004"></a> style):
</p>
- <div class="verbatim" id="verbatim-78">
+ <div class="verbatim" id="verbatim-99">
\usepackage[style=long3col,stylemods]{glossaries-extra}
</div>
-<!--l. 2449--><p class="nopar" > Or the value of <a
+<!--l. 2913--><p class="nopar" > Or the value of <a
href="#styopt.stylemods"><span
class="cmss-10">stylemods</span></a><a
- id="dx1-16005"></a> may be a comma-separated list of the style package
+ id="dx1-17005"></a> may be a comma-separated list of the style package
identifiers. For example:
</p>
- <div class="verbatim" id="verbatim-79">
+ <div class="verbatim" id="verbatim-100">
\usepackage[style=mcoltree,stylemods=mcols]{glossaries-extra}
</div>
-<!--l. 2454--><p class="nopar" > Remember to group the value if it contains any commas:
+<!--l. 2918--><p class="nopar" > Remember to group the value if it contains any commas:
</p>
- <div class="verbatim" id="verbatim-80">
+ <div class="verbatim" id="verbatim-101">
\usepackage[stylemods={mcols,longbooktabs}]{glossaries-extra}
</div>
-<!--l. 2458--><p class="nopar" >
-</p><!--l. 2460--><p class="indent" > Note that the <span
+<!--l. 2922--><p class="nopar" >
+</p><!--l. 2924--><p class="indent" > Note that the <span
class="cmss-10">inline</span><a
- id="dx1-16006"></a> style is dealt with slightly differently. The original definition
+ id="dx1-17006"></a> style is dealt with slightly differently. The original definition
provided by the <span
class="cmss-10">glossary-inline</span><a
- id="dx1-16007"></a> package uses <span
+ id="dx1-17007"></a> package uses <span
class="cmtt-10">\glspostdescription </span>at the end of the
glossary (not after each entry description) within the definition of <span
class="cmtt-10">\glspostinline</span>.
@@ -4684,152 +5758,298 @@
class="cmtt-10">\glspostdescription</span>). This means that the
modified <span
class="cmss-10">inline</span><a
- id="dx1-16008"></a> style isn’t affected by the <span
-class="cmss-10">nopostdot</span><a
- id="dx1-16009"></a> option, but the post-description
+ id="dx1-17008"></a> style isn’t affected by the <a
+href="#styopt.nopostdot"><span
+class="cmss-10">nopostdot</span></a><a
+ id="dx1-17009"></a> option, but the post-description
category hook can still be used.
-</p><!--l. 2474--><p class="indent" > As from version 1.05, the <span
+</p><!--l. 2938--><p class="indent" > The <span
+class="cmss-10">tabular</span><a
+ id="dx1-17010"></a><a
+ id="dx1-17011"></a>-like styles, such as <span
+class="cmss-10">long</span><a
+ id="dx1-17012"></a> are adjusted so that the <span
+class="cmtt-10">\ifglsnogroupskip</span><a
+ id="dx1-17013"></a>
+conditional (set with <a
+href="#styopt.nogroupskip"><span
+class="cmss-10">nogroupskip</span></a><a
+ id="dx1-17014"></a>) is moved outside of the definition of
+<span
+class="cmtt-10">\glsgroupskip </span>to avoid problems that cause an “Incomplete <span
+class="cmtt-10">\iftrue</span>” error with
+<span
+class="cmtt-10">\printunsrtglossary </span>and <span
+class="cmtt-10">\printnoidxglossary</span>. This means that if you want to
+change this conditional using <span
+class="cmtt-10">\setupglossaries </span>or using the <span
+class="cmss-10">nogroupskip</span><a
+ id="dx1-17015"></a> option in
+<span
+class="cmtt-10">\printglossary</span>, <span
+class="cmtt-10">\printnoidxglossary </span>or <span
+class="cmtt-10">\printunsrtglossary</span>, you must also
+reset the glossary style.
+</p><!--l. 2949--><p class="indent" > As from version 1.21, the hard-coded <span
+class="cmtt-10">\space </span>before the <a
+ id="dx1-17016"></a><a
+href="#glo:numberlist">number list</a> in many of
+the predefined styles is replaced with
+</p><!--l. 2952--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17017"></a> <span
+class="cmtt-10">\glsxtrprelocation </span></div><hr>
+</p><!--l. 2954--><p class="noindent" >
+This just defaults to <span
+class="cmtt-10">\space </span>but may be redefined as required. For example:
+
+
+
+</p>
+ <div class="verbatim" id="verbatim-102">
+\renewcommand{\glsxtrprelocation}{\dotfill}
+</div>
+<!--l. 2959--><p class="nopar" >
+</p><!--l. 2961--><p class="indent" > The <span
+class="cmss-10">list</span><a
+ id="dx1-17018"></a> styles use
+</p><!--l. 2962--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsxtrprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17019"></a> <span
+class="cmtt-10">\glslistprelocation </span></div><hr>
+</p><!--l. 2964--><p class="noindent" >
+(which defaults to <span
+class="cmtt-10">\glsxtrprelocation</span>) for top-level items and
+</p><!--l. 2966--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glslistchildprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17020"></a> <span
+class="cmtt-10">\glslistchildprelocation </span></div><hr>
+</p><!--l. 2968--><p class="noindent" >
+(which defaults to <span
+class="cmtt-10">\glslistprelocation</span>) for child items.
+</p><!--l. 2971--><p class="indent" > For just the <span
+class="cmss-10">list</span><a
+ id="dx1-17021"></a> style and its letter group variations (not the <span
+class="cmss-10">altlist</span><a
+ id="dx1-17022"></a> or <span
+class="cmss-10">listdotted</span><a
+ id="dx1-17023"></a>
+variations) the <a
+ id="dx1-17024"></a><a
+href="#glo:numberlist">number list</a> for child entries is followed by
+</p><!--l. 2974--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glslistchildpostlocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17025"></a> <span
+class="cmtt-10">\glslistchildpostlocation </span></div><hr>
+</p><!--l. 2976--><p class="noindent" >
+which defaults to a full stop.
+</p><!--l. 2979--><p class="indent" > The default value of <span
+class="cmtt-10">\glslistdottedwidth</span><a
+ id="dx1-17026"></a> is changed so that it’s set at the start
+of the document (if it hasn’t been changed in the preamble). This should
+take into account situations where <span
+class="cmtt-10">\hsize </span>isn’t set until the start of the
+document.
+</p><!--l. 2984--><p class="indent" > The <span
+class="cmss-10">index</span><a
+ id="dx1-17027"></a>-like and <span
+class="cmss-10">tree</span><a
+ id="dx1-17028"></a>-like styles insert the pre-<a
+ id="dx1-17029"></a>number list space with
+</p><!--l. 2986--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glstreeprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17030"></a> <span
+class="cmtt-10">\glstreeprelocation </span></div><hr>
+</p><!--l. 2988--><p class="noindent" >
+(which defaults to <span
+class="cmtt-10">\glsxtrprelocation</span>) for top-level items and
+</p><!--l. 2990--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glstreechildprelocation</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17031"></a> <span
+class="cmtt-10">\glstreechildprelocation </span></div><hr>
+</p><!--l. 2992--><p class="noindent" >
+(which defaults to <span
+class="cmtt-10">\glstreeprelocation</span>) for child items.
+</p><!--l. 2996--><p class="indent" > As from version 1.05, the <span
class="cmss-10">glossaries-extra-stylemods </span>package provides some
additional commands for use with the <span
class="cmss-10">alttree</span><a
- id="dx1-16010"></a> style to make it easier to modify. These
+ id="dx1-17032"></a> style to make it easier to modify. These
commands are only defined if the <span
class="cmss-10">glossary-tree</span><a
- id="dx1-16011"></a> package has already been loaded,
-which is typically the case unless the <span
-class="cmss-10">notree</span><a
- id="dx1-16012"></a> option has been used when loading
+ id="dx1-17033"></a> package has already been loaded,
+which is typically the case unless the <a
+href="#styopt.notree"><span
+class="cmss-10">notree</span></a><a
+ id="dx1-17034"></a> option has been used when loading
<span
class="cmss-10">glossaries</span>.
-</p><!--l. 2482--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3004--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\gglssetwidest</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-17035"></a> <span
+class="cmtt-10">\gglssetwidest[</span>⟨<span
+class="cmitt-10">level</span>⟩<span
+class="cmtt-10">]{</span>⟨<span
+class="cmitt-10">name</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 3006--><p class="noindent" >
+(New to version 1.21.) This is like <span
+class="cmtt-10">\glssetwidest </span>(provided by <span
+class="cmss-10">glossary-tree</span><a
+ id="dx1-17036"></a>) but
+performs a global assignment.
+</p><!--l. 3011--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\eglssetwidest</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16013"></a> <span
+ id="dx1-17037"></a> <span
class="cmtt-10">\eglssetwidest[</span>⟨<span
class="cmitt-10">level</span>⟩<span
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">name</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2484--><p class="noindent" >
+</p><!--l. 3013--><p class="noindent" >
This is like <span
-class="cmtt-10">\glssetwidest </span>(provided by <span
-class="cmss-10">glossary-tree</span><a
- id="dx1-16014"></a>) but performs a protected
-expansion on ⟨<span
-class="cmti-10">name</span>⟩. This has a localised effect. For a global setting, use
-</p><!--l. 2488--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-10">\glssetwidest </span>but performs a protected expansion on ⟨<span
+class="cmti-10">name</span>⟩. This has a
+localised effect. For a global setting, use
+</p><!--l. 3017--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\xglssetwidest</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16015"></a> <span
+ id="dx1-17038"></a> <span
class="cmtt-10">\xglssetwidest[</span>⟨<span
class="cmitt-10">level</span>⟩<span
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">name</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2490--><p class="noindent" >
+</p><!--l. 3019--><p class="noindent" >
The widest entry value can later be retrieved using
-</p><!--l. 2492--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+
+
+
+</p><!--l. 3021--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsgetwidestname</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16016"></a> <span
+ id="dx1-17039"></a> <span
class="cmtt-10">\glsgetwidestname </span></div><hr>
-</p><!--l. 2494--><p class="noindent" >
+</p><!--l. 3023--><p class="noindent" >
for the top-level entries and
-</p><!--l. 2496--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3025--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsgetwidestsubname</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16017"></a> <span
+ id="dx1-17040"></a> <span
class="cmtt-10">\glsgetwidestsubname{</span>⟨<span
class="cmitt-10">level</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2498--><p class="noindent" >
+</p><!--l. 3027--><p class="noindent" >
for sub-entries, where ⟨<span
class="cmti-10">level</span>⟩ is the level number.
-</p><!--l. 2501--><p class="indent" > The command <span
+</p><!--l. 3030--><p class="indent" > Note that if you are using <a
+ id="dx1-17041"></a><a
+href="#glo:bib2gls"><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-17042"></a></a>, you can use the resource option <span
+class="cmtt-10">set-widest</span>
+which will try to determine the widest name of all the selected entries. This isn’t
+guaranteed to work as it may depend on fonts or commands that <a
+ id="dx1-17043"></a><span
+class="cmtt-10">bib2gls</span><a
+ id="dx1-17044"></a>
+can’t replicate, but it should be suitable for names that just consist of text,
+and can be more efficient than iterating over all the defined entries using
+<span class="TEX">T<span
+class="E">E</span>X</span>.
+</p><!--l. 3038--><p class="indent" > The command <span
class="cmtt-10">\glsfindwidesttoplevelname </span>provided by <span
class="cmss-10">glossary-tree</span><a
- id="dx1-16018"></a> has a
+ id="dx1-17045"></a> has a
CamelCase synonym:
-</p><!--l. 2503--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3040--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestTopLevelName</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16019"></a> <span
+ id="dx1-17046"></a> <span
class="cmtt-10">\glsFindWidestTopLevelName[</span>⟨<span
class="cmitt-10">glossary list</span>⟩<span
class="cmtt-10">]</span>
</div><hr>
-</p><!--l. 2505--><p class="noindent" >
+</p><!--l. 3042--><p class="noindent" >
Similar commands are also provided:
-</p><!--l. 2507--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3044--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestUsedTopLevelName</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16020"></a> <span
+ id="dx1-17047"></a> <span
class="cmtt-10">\glsFindWidestUsedTopLevelName[</span>⟨<span
class="cmitt-10">glossary</span>
<span
class="cmitt-10">list</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2509--><p class="noindent" >
+</p><!--l. 3046--><p class="noindent" >
This has an additional check that the entry has been used. Naturally this is only
useful if the glossaries that use the <span
class="cmss-10">alttree</span><a
- id="dx1-16021"></a> style occur at the end of the document.
+ id="dx1-17048"></a> style occur at the end of the document.
This command should be placed just before the start of the glossary. (Alternatively,
-
-
-
place it at the end of the document and save the value in the auxiliary file for the
next run.)
-</p><!--l. 2517--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3054--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestUsedAnyName</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16022"></a> <span
+ id="dx1-17049"></a> <span
class="cmtt-10">\glsFindWidestUsedAnyName[</span>⟨<span
class="cmitt-10">glossary list</span>⟩<span
class="cmtt-10">]</span>
</div><hr>
-</p><!--l. 2519--><p class="noindent" >
+</p><!--l. 3056--><p class="noindent" >
This is like the previous command but if doesn’t check the <span
class="cmss-10">parent</span><a
- id="dx1-16023"></a> key. This is useful if
+ id="dx1-17050"></a> key. This is useful if
all levels should have the same width for the name.
-</p><!--l. 2524--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3061--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestAnyName</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16024"></a> <span
+ id="dx1-17051"></a> <span
class="cmtt-10">\glsFindWidestAnyName[</span>⟨<span
class="cmitt-10">glossary list</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2526--><p class="noindent" >
+</p><!--l. 3063--><p class="noindent" >
This is like the previous command but doesn’t check if the entry has been
used.
-</p><!--l. 2530--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3067--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestUsedLevelTwo</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16025"></a> <span
+ id="dx1-17052"></a> <span
class="cmtt-10">\glsFindWidestUsedLevelTwo[</span>⟨<span
class="cmitt-10">glossary list</span>⟩<span
class="cmtt-10">]</span>
</div><hr>
-</p><!--l. 2532--><p class="noindent" >
+</p><!--l. 3069--><p class="noindent" >
This is like <span
class="cmtt-10">\glsFindWidestUsedTopLevelName </span>but also sets the first two sub-levels
as well. Any entry that has a great-grandparent is ignored.
-</p><!--l. 2537--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3074--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestLevelTwo</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16026"></a> <span
+ id="dx1-17053"></a> <span
class="cmtt-10">\glsFindWidestLevelTwo[</span>⟨<span
class="cmitt-10">glossary list</span>⟩<span
class="cmtt-10">]</span>
</div><hr>
-</p><!--l. 2539--><p class="noindent" >
+</p><!--l. 3076--><p class="noindent" >
This is like the previous command but doesn’t check if the entry has been
used.
-</p><!--l. 2543--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+
+
+
+</p><!--l. 3080--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestUsedAnyNameSymbol</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16027"></a> <span
+ id="dx1-17054"></a> <span
class="cmtt-10">\glsFindWidestUsedAnyNameSymbol</span>
<span
class="cmtt-10">[</span>⟨<span
@@ -4837,15 +6057,15 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">register</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2546--><p class="noindent" >
+</p><!--l. 3083--><p class="noindent" >
This is like <span
class="cmtt-10">\glsFindWidestUsedAnyName </span>but also measures the symbol. The length
of the widest symbol is stored in ⟨<span
class="cmti-10">register</span>⟩.
-</p><!--l. 2551--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3088--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestAnyNameSymbol</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16028"></a> <span
+ id="dx1-17055"></a> <span
class="cmtt-10">\glsFindWidestAnyNameSymbol[</span>⟨<span
class="cmitt-10">glossary</span>
<span
@@ -4853,13 +6073,13 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">register</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2553--><p class="noindent" >
+</p><!--l. 3090--><p class="noindent" >
This is like the previous command but it doesn’t check if the entry has been
used.
-</p><!--l. 2557--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3094--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestUsedAnyNameSymbolLocation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16029"></a> <span
+ id="dx1-17056"></a> <span
class="cmtt-10">\glsFindWidestUsedAnyNameSymbolLocation</span>
<span
class="cmtt-10">[</span>⟨<span
@@ -4869,24 +6089,24 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">location register</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2560--><p class="noindent" >
+</p><!--l. 3097--><p class="noindent" >
This is like <span
class="cmtt-10">\glsFindWidestUsedAnyNameSymbol </span>but also measures the <a
- id="dx1-16030"></a><a
+ id="dx1-17057"></a><a
href="#glo:numberlist">number list</a>.
This requires <span
class="cmtt-10">\glsentrynumberlist</span><a
- id="dx1-16031"></a> (see the <span
+ id="dx1-17058"></a> (see the <span
class="cmss-10">glossaries </span>user manual). The length of
the widest symbol is stored in ⟨<span
class="cmti-10">symbol register</span>⟩ and the length of the widest <a
- id="dx1-16032"></a>number
+ id="dx1-17059"></a>number
list is stored in ⟨<span
class="cmti-10">location register</span>⟩.
-</p><!--l. 2568--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3105--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestAnyNameSymbolLocation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16033"></a> <span
+ id="dx1-17060"></a> <span
class="cmtt-10">\glsFindWidestAnyNameSymbolLocation</span>
<span
class="cmtt-10">[</span>⟨<span
@@ -4896,13 +6116,13 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">location register</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2571--><p class="noindent" >
+</p><!--l. 3108--><p class="noindent" >
This is like the previous command but it doesn’t check if the entry has been
used.
-</p><!--l. 2575--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3112--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestUsedAnyNameLocation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16034"></a> <span
+ id="dx1-17061"></a> <span
class="cmtt-10">\glsFindWidestUsedAnyNameLocation</span>
<span
class="cmtt-10">[</span>⟨<span
@@ -4910,19 +6130,16 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">register</span>⟩<span
class="cmtt-10">} </span></div><hr>
-
-
-
-</p><!--l. 2578--><p class="noindent" >
+</p><!--l. 3115--><p class="noindent" >
This is like <span
class="cmtt-10">\glsFindWidestUsedAnyNameSymbolLocation </span>but doesn’t measure the
symbol. The length of the widest <a
- id="dx1-16035"></a>number list is stored in ⟨<span
+ id="dx1-17062"></a>number list is stored in ⟨<span
class="cmti-10">register</span>⟩.
-</p><!--l. 2583--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3120--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsFindWidestAnyNameLocation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16036"></a> <span
+ id="dx1-17063"></a> <span
class="cmtt-10">\glsFindWidestAnyNameLocation[</span>⟨<span
class="cmitt-10">glossary</span>
<span
@@ -4930,16 +6147,15 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">register</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2586--><p class="noindent" >
+</p><!--l. 3123--><p class="noindent" >
This is like the previous command but doesn’t check if the entry has been
used.
-</p><!--l. 2590--><p class="indent" > The layout of the symbol, description and <a
- id="dx1-16037"></a><a
-href="#glo:numberlist">number list</a> is governed by
-</p><!--l. 2592--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3127--><p class="indent" > The layout of the symbol, description and <a
+ id="dx1-17064"></a>number list is governed by
+</p><!--l. 3129--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtralttreeSymbolDescLocation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16038"></a> <span
+ id="dx1-17065"></a> <span
class="cmtt-10">\glsxtralttreeSymbolDescLocation</span>
<span
class="cmtt-10">{</span>⟨<span
@@ -4947,12 +6163,12 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">number list</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2594--><p class="noindent" >
+</p><!--l. 3131--><p class="noindent" >
for top-level entries and
-</p><!--l. 2596--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3133--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtralttreeSubSymbolDescLocation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16039"></a> <span
+ id="dx1-17066"></a> <span
class="cmtt-10">\glsxtralttreeSubSymbolDescLocation</span>
<span
class="cmtt-10">{</span>⟨<span
@@ -4960,29 +6176,32 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">number list</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2598--><p class="noindent" >
+</p><!--l. 3135--><p class="noindent" >
for sub-entries.
-</p><!--l. 2601--><p class="indent" > There is now a user level command that performs the initialisation for the <span
+</p><!--l. 3138--><p class="indent" > There is now a user level command that performs the initialisation for the <span
class="cmss-10">alttree</span><a
- id="dx1-16040"></a>
+ id="dx1-17067"></a>
style:
-</p><!--l. 2603--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3140--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtralttreeInit</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16041"></a> <span
+ id="dx1-17068"></a> <span
class="cmtt-10">\glsxtralttreeInit </span></div><hr>
-</p><!--l. 2605--><p class="noindent" >
-</p><!--l. 2607--><p class="indent" > The paragraph indent for subsequent paragraphs in multi-paragraph descriptions
+</p><!--l. 3142--><p class="noindent" >
+
+
+
+</p><!--l. 3144--><p class="indent" > The paragraph indent for subsequent paragraphs in multi-paragraph descriptions
is provided by the length
-</p><!--l. 2609--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3146--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrAltTreeIndent</span><span
class="cmtt-9"> </span></span><a
- id="dx1-16042"></a> <span
+ id="dx1-17069"></a> <span
class="cmtt-10">\glsxtrAltTreeIndent </span></div><hr>
-</p><!--l. 2611--><p class="noindent" >
-</p><!--l. 2613--><p class="indent" > For additional commands that are available with the <span
+</p><!--l. 3148--><p class="noindent" >
+</p><!--l. 3150--><p class="indent" > For additional commands that are available with the <span
class="cmss-10">alttree</span><a
- id="dx1-16043"></a> style, see the
+ id="dx1-17070"></a> style, see the
documented code (<span
class="cmtt-10">glossaries-extra-code.pdf</span>). For examples, see the
accompanying sample files <span
@@ -4994,11 +6213,11 @@
</p>
-<!--l. 2620--><p class="indent" > </div>
-</p><!--l. 2620--><p class="noindent" ><a
+<!--l. 3157--><p class="indent" > </div>
+</p><!--l. 3157--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">3. <a
id="sec:abbreviations"></a>Abbreviations</h2>
-</p><!--l. 2623--><p class="indent" > Abbreviations include acronyms (words formed from initial letters, such as
+</p><!--l. 3160--><p class="indent" > Abbreviations include acronyms (words formed from initial letters, such as
“laser”), initialisms (initial letters of a phrase, such as “html”, that aren’t
pronounced as words) and contractions (where parts of words are omitted, often
replaced by an apostrophe, such as “don’t”). The “acronym” code provided by the
@@ -5006,19 +6225,19 @@
class="cmss-10">glossaries </span>package is misnamed as it’s more often than not used for initialisms instead.
Acronyms tend not to be <span
class="cmti-10">expanded </span>on <a
- id="dx1-17001"></a><a
+ id="dx1-18001"></a><a
href="#glo:firstuse">first use</a> (although they may need
to be <span
class="cmti-10">described </span>for readers unfamiliar with the term). They are therefore
more like a regular term, which may or may not require a description in the
glossary.
-</p><!--l. 2635--><p class="indent" > The <span
+</p><!--l. 3172--><p class="indent" > The <span
class="cmss-10">glossaries-extra </span>package corrects this misnomer, and provides better
abbreviation handling, with
-</p><!--l. 2637--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3174--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\newabbreviation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-17002"></a> <span
+ id="dx1-18002"></a> <span
class="cmtt-10">\newabbreviation[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5029,10 +6248,10 @@
class="cmitt-10">long</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 2639--><p class="noindent" >
-</p><!--l. 2641--><p class="indent" > This sets the <span
+</p><!--l. 3176--><p class="noindent" >
+</p><!--l. 3178--><p class="indent" > This sets the <span
class="cmss-10">category</span><a
- id="dx1-17003"></a> key to <span
+ id="dx1-18003"></a> key to <span
class="cmtt-10">abbreviation </span>by default, but that value may be
overridden in ⟨<span
class="cmti-10">options</span>⟩. The category may have attributes that modify the way
@@ -5039,52 +6258,52 @@
abbreviations are defined. For example, the <a
href="#catattr.insertdots"><span
class="cmss-10">insertdots</span></a><a
- id="dx1-17004"></a> attribute will automatically
+ id="dx1-18004"></a> attribute will automatically
insert full stops (periods) into ⟨<span
class="cmti-10">short</span>⟩ or the <a
href="#catattr.noshortplural"><span
class="cmss-10">noshortplural</span></a><a
- id="dx1-17005"></a> attribute will set the default
+ id="dx1-18005"></a> attribute will set the default
value of the <span
class="cmss-10">shortplural</span><a
- id="dx1-17006"></a> key to just ⟨<span
+ id="dx1-18006"></a> key to just ⟨<span
class="cmti-10">short</span>⟩ (without appending the plural suffix). See <a
href="#sec:categories"><span
class="cmsy-10">§</span>5
</a><a
href="#sec:categories">Categories<!--tex4ht:ref: sec:categories --></a> for further details.
-</p><!--l. 2651--><p class="indent" > See <a
+</p><!--l. 3188--><p class="indent" > See <a
href="#sec:nested"><span
class="cmsy-10">§</span>2.6 </a><a
href="#sec:nested">Nested Links<!--tex4ht:ref: sec:nested --></a> regarding the pitfalls of using commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-17007"></a> or
+ id="dx1-18007"></a> or
<span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-17008"></a> within ⟨<span
+ id="dx1-18008"></a> within ⟨<span
class="cmti-10">short</span>⟩ or ⟨<span
class="cmti-10">long</span>⟩.
-</p><!--l. 2655--><p class="indent" > <div class="important" title="Important Note"> Make sure that you set the category attributes before defining new abbreviations
+</p><!--l. 3192--><p class="indent" > <div class="important" title="Important Note"> Make sure that you set the category attributes before defining new abbreviations
or they may not be correctly applied. </div>
-</p><!--l. 2658--><p class="noindent" >
-</p><!--l. 2660--><p class="indent" > The <span
+</p><!--l. 3195--><p class="noindent" >
+</p><!--l. 3197--><p class="indent" > The <span
class="cmtt-10">\newacronym</span><a
- id="dx1-17009"></a> command provided by the <span
+ id="dx1-18009"></a> command provided by the <span
class="cmss-10">glossaries </span>package is redefined by
<span
class="cmss-10">glossaries-extra </span>to use <span
class="cmtt-10">\newabbreviation </span>with the <span
class="cmss-10">category</span><a
- id="dx1-17010"></a> set to <span
+ id="dx1-18010"></a> set to <span
class="cmtt-10">acronym </span>(see also
<a
href="#sec:acronymmods"><span
class="cmsy-10">§</span>2.7 </a><a
href="#sec:acronymmods">Acronym Style Modifications<!--tex4ht:ref: sec:acronymmods --></a>) so
-</p><!--l. 2664--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3201--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\newacronym</span><span
class="cmtt-9"> </span></span><a
- id="dx1-17011"></a> <span
+ id="dx1-18011"></a> <span
class="cmtt-10">\newacronym[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5094,7 +6313,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">long</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2666--><p class="noindent" >
+</p><!--l. 3203--><p class="noindent" >
is
now
equivalent
@@ -5120,7 +6339,7 @@
<br /><spacer type=vertical size=10></span>
-</p><!--l. 2673--><p class="indent" > The <span
+</p><!--l. 3210--><p class="indent" > The <span
class="cmtt-10">\newabbreviation </span>command is superficially similar to the <span
class="cmss-10">glossaries</span>
package’s <span
@@ -5128,55 +6347,55 @@
default style is <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-17012"></a> for entries in the <span
+ id="dx1-18012"></a> for entries in the <span
class="cmss-10">acronym</span><a
- id="dx1-17013"></a> category and <a
+ id="dx1-18013"></a> category and <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-17014"></a> for
+ id="dx1-18014"></a> for
entries in the <span
class="cmss-10">abbreviation</span><a
- id="dx1-17015"></a> category. (These aren’t the same as the acronym
+ id="dx1-18015"></a> category. (These aren’t the same as the acronym
styles provided by the <span
class="cmss-10">glossaries </span>package, although they may produce similar
results.)
-</p><!--l. 2683--><p class="indent" > The way the abbreviations are displayed by commands like <span
+</p><!--l. 3220--><p class="indent" > The way the abbreviations are displayed by commands like <span
class="cmtt-10">\gls </span>varies according
to the abbreviation style. The styles are set according to the entry’s category so,
unlike the base <span
class="cmss-10">glossaries </span>package, you can have different abbreviation styles within
the same glossary.
-</p><!--l. 2689--><p class="indent" > There are two types of full forms. The display full form, which is used on
+</p><!--l. 3226--><p class="indent" > There are two types of full forms. The display full form, which is used on
<a
- id="dx1-17016"></a><a
+ id="dx1-18016"></a><a
href="#glo:firstuse">first use</a> by commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-17017"></a> and the inline full form, which is used by
+ id="dx1-18017"></a> and the inline full form, which is used by
commands like <span
class="cmtt-10">\glsxtrfull</span><a
- id="dx1-17018"></a>. For some of the abbreviation styles, such as
+ id="dx1-18018"></a>. For some of the abbreviation styles, such as
<a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-17019"></a>, the display and inline forms are the same. In the case of styles
+ id="dx1-18019"></a>, the display and inline forms are the same. In the case of styles
such as <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-17020"></a> or <a
+ id="dx1-18020"></a> or <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-17021"></a>, the display and inline full forms are
+ id="dx1-18021"></a>, the display and inline full forms are
different.
-</p><!--l. 2696--><p class="indent" > These formatting commands aren’t stored in the <span
+</p><!--l. 3233--><p class="indent" > These formatting commands aren’t stored in the <span
class="cmss-10">short</span><a
- id="dx1-17022"></a>, <span
+ id="dx1-18022"></a>, <span
class="cmss-10">shortplural</span><a
- id="dx1-17023"></a>, <span
+ id="dx1-18023"></a>, <span
class="cmss-10">long</span><a
- id="dx1-17024"></a> or
+ id="dx1-18024"></a> or
<span
class="cmss-10">longplural</span><a
- id="dx1-17025"></a> fields, which means they won’t be used within commands like
+ id="dx1-18025"></a> fields, which means they won’t be used within commands like
<span
class="cmtt-10">\glsentryshort </span>(but they are used within commands like <span
class="cmtt-10">\glsxtrshort </span>and
@@ -5183,20 +6402,45 @@
<span
class="cmtt-10">\glsfmtshort</span>). Note that <span
class="cmtt-10">\glsxtrlong</span><a
- id="dx1-17026"></a> and the case-changing variants don’t use
+ id="dx1-18026"></a> and the case-changing variants don’t use
<span
class="cmtt-10">\glsfirstlongfont</span>.
+</p><!--l. 3241--><p class="indent" > You can apply the formatting command used for the short form to some arbitrary
+text using
+</p><!--l. 3243--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsuseabbrvfont</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-18027"></a> <span
+class="cmtt-10">\glsuseabbrvfont{</span>⟨<span
+class="cmitt-10">text</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">category</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 3245--><p class="noindent" >
+where ⟨<span
+class="cmti-10">category</span>⟩ is the category label that identifies the abbreviation style. Similarly
+for the formatting command use by the long form:
+</p><!--l. 3249--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsuselongfont</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-18028"></a> <span
+class="cmtt-10">\glsuselongfont{</span>⟨<span
+class="cmitt-10">text</span>⟩<span
+class="cmtt-10">}{</span>⟨<span
+class="cmitt-10">category</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 3251--><p class="noindent" >
</p>
-<!--l. 2704--><p class="noindent" ><a
+<!--l. 3253--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">3.1 </span> <a
id="sec:tagging"></a>Tagging Initials</h3>
-<!--l. 2707--><p class="noindent" >If you would like to tag the initial letters in the long form such that those letters are
+<!--l. 3256--><p class="noindent" >If you would like to tag the initial letters in the long form such that those letters are
underlined in the glossary but not in the main part of the document, you can
use
-</p><!--l. 2710--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3259--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrEnableInitialTagging</span><span
class="cmtt-9"> </span></span><a
- id="dx1-18001"></a> <span
+ id="dx1-19001"></a> <span
class="cmtt-10">\GlsXtrEnableInitialTagging{</span>⟨<span
class="cmitt-10">categories</span>⟩<span
class="cmtt-10">}</span>
@@ -5204,32 +6448,35 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">cs</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2712--><p class="noindent" >
+</p><!--l. 3261--><p class="noindent" >
before you define your abbreviations.
-</p><!--l. 2715--><p class="indent" > This command (robustly) defines ⟨<span
+</p><!--l. 3264--><p class="indent" > This command (robustly) defines ⟨<span
class="cmti-10">cs</span>⟩ (a control sequence) to accept a single
argument, which is the letter (or letters) that needs to be tagged. The normal
behaviour of this command within the document is to simply do its argument, but in
+
+
+
the glossary it’s activated for those categories that have the <a
href="#catattr.tagging"><span
class="cmss-10">tagging</span></a><a
- id="dx1-18002"></a> attribute set to
+ id="dx1-19002"></a> attribute set to
“true”. For those cases it will use
-</p><!--l. 2722--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3271--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrtagfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-18003"></a> <span
+ id="dx1-19003"></a> <span
class="cmtt-10">\glsxtrtagfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 2724--><p class="noindent" >
+</p><!--l. 3273--><p class="noindent" >
This command defaults to <span
class="cmtt-10">\underline</span><a
- id="dx1-18004"></a><span
+ id="dx1-19004"></a><span
class="cmtt-10">{</span>⟨<span
class="cmti-10">text</span>⟩<span
class="cmtt-10">} </span>but may be redefined as required.
-</p><!--l. 2728--><p class="indent" > The control sequence ⟨<span
+</p><!--l. 3277--><p class="indent" > The control sequence ⟨<span
class="cmti-10">cs</span>⟩ can’t already be defined when used with the unstarred
version of <span
class="cmtt-10">\GlsXtrEnableInitialTagging </span>for safety reasons. The starred
@@ -5236,37 +6483,34 @@
version will overwrite any previous definition of ⟨<span
class="cmti-10">cs</span>⟩. As with redefining any
commands, ensure that you don’t redefine something important. In fact, just
-
-
-
forget the existence of the starred version and let’s pretend I didn’t mention
it.
-</p><!--l. 2737--><p class="indent" > The first argument of <span
+</p><!--l. 3286--><p class="indent" > The first argument of <span
class="cmtt-10">\GlsXtrEnableInitialTagging </span>is a comma-separated list
of category names. The <a
href="#catattr.tagging"><span
class="cmss-10">tagging</span></a><a
- id="dx1-18005"></a> attribute will automatically be set for those
+ id="dx1-19005"></a> attribute will automatically be set for those
categories. You can later set this attribute for other categories (see <a
href="#sec:categories"><span
class="cmsy-10">§</span>5 </a><a
href="#sec:categories">Categories<!--tex4ht:ref: sec:categories --></a>) but
this must be done before the glossary is displayed.
-</p><!--l. 2744--><p class="indent" > The accompanying sample file <span
+</p><!--l. 3293--><p class="indent" > The accompanying sample file <span
class="cmtt-10">sample-mixtures.tex </span>uses initial tagging for both
the <span
class="cmss-10">acronym</span><a
- id="dx1-18006"></a> and <span
+ id="dx1-19006"></a> and <span
class="cmss-10">abbreviation</span><a
- id="dx1-18007"></a> categories:
+ id="dx1-19007"></a> categories:
</p>
- <div class="verbatim" id="verbatim-81">
+ <div class="verbatim" id="verbatim-103">
\GlsXtrEnableInitialTagging{acronym,abbreviation}{\itag}
</div>
-<!--l. 2749--><p class="nopar" > This defines the command <span
+<!--l. 3298--><p class="nopar" > This defines the command <span
class="cmtt-10">\itag </span>which can be used in the definitions. For
example:
@@ -5273,7 +6517,7 @@
</p>
- <div class="verbatim" id="verbatim-82">
+ <div class="verbatim" id="verbatim-104">
\newacronym
 <br /> [description={a system for detecting the location and
 <br /> speed of ships, aircraft, etc, through the use of radio
@@ -5285,21 +6529,21 @@
 <br />\newabbreviation{xml}{XML}
 <br /> {e\itag{x}tensible \itag{m}arkup \itag{l}anguage}
</div>
-<!--l. 2764--><p class="nopar" > The underlining of the tagged letters only occurs in the glossary and then only for
+<!--l. 3313--><p class="nopar" > The underlining of the tagged letters only occurs in the glossary and then only for
entries with the <a
href="#catattr.tagging"><span
class="cmss-10">tagging</span></a><a
- id="dx1-18008"></a> attribute set.
-</p><!--l. 2769--><p class="noindent" >
+ id="dx1-19008"></a> attribute set.
+</p><!--l. 3318--><p class="noindent" >
</p>
-<!--l. 2769--><p class="noindent" ><a
+<!--l. 3318--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">3.2 </span> <a
id="sec:abbrstyle"></a>Abbreviation Styles</h3>
-<!--l. 2772--><p class="noindent" >The abbreviation style must be set before abbreviations are defined using:
-</p><!--l. 2774--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+<!--l. 3321--><p class="noindent" >The abbreviation style must be set before abbreviations are defined using:
+</p><!--l. 3323--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\setabbreviationstyle</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19001"></a> <span
+ id="dx1-20001"></a> <span
class="cmtt-10">\setabbreviationstyle[</span>⟨<span
class="cmitt-10">category</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5306,7 +6550,7 @@
class="cmitt-10">style-name</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 2776--><p class="noindent" >
+</p><!--l. 3325--><p class="noindent" >
where ⟨<span
class="cmti-10">style-name</span>⟩ is the name of the style and ⟨<span
class="cmti-10">category</span>⟩ is the category label
@@ -5319,22 +6563,22 @@
example, the <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-19002"></a> and <a
+ id="dx1-20002"></a> and <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-19003"></a> styles set the <a
+ id="dx1-20003"></a> styles set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-19004"></a> attribute to
+ id="dx1-20004"></a> attribute to
<span
class="cmtt-10">true</span>.
-</p><!--l. 2787--><p class="indent" > <div class="important" title="Important Note"> If you want to apply different styles to groups of abbreviations, assign a
+</p><!--l. 3336--><p class="indent" > <div class="important" title="Important Note"> If you want to apply different styles to groups of abbreviations, assign a
different category to each group and set the style for the given category.
</div>
-</p><!--l. 2791--><p class="noindent" >
-</p><!--l. 2793--><p class="indent" > Note that <span
+</p><!--l. 3340--><p class="noindent" >
+</p><!--l. 3342--><p class="indent" > Note that <span
class="cmtt-10">\setacronymstyle</span><a
- id="dx1-19005"></a> is disabled by <span
+ id="dx1-20005"></a> is disabled by <span
class="cmss-10">glossaries-extra</span>. Use </p><div class="alltt">
<div class="obeylines-v">
<span
@@ -5347,26 +6591,26 @@
</div>
</div> instead. The original acronym interface can be restored with <span
class="cmtt-10">\RestoreAcronyms</span><a
- id="dx1-19006"></a> (see
+ id="dx1-20006"></a> (see
<a
href="#sec:acronymmods"><span
class="cmsy-10">§</span>2.7 </a><a
href="#sec:acronymmods">Acronym Style Modifications<!--tex4ht:ref: sec:acronymmods --></a>). However the original acronym interface is
incompatible with all the commands described here.
-<!--l. 2803--><p class="indent" > Abbreviations can be used with the standard <span
+<!--l. 3352--><p class="indent" > Abbreviations can be used with the standard <span
class="cmss-10">glossaries </span>commands, such as <span
class="cmtt-10">\gls</span><a
- id="dx1-19007"></a>,
+ id="dx1-20007"></a>,
but don’t use the acronym commands like <span
class="cmtt-10">\acrshort</span><a
- id="dx1-19008"></a> (which use <span
+ id="dx1-20008"></a> (which use <span
class="cmtt-10">\acronymfont</span><a
- id="dx1-19009"></a>).
+ id="dx1-20009"></a>).
The short form can be produced with:
-</p><!--l. 2807--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3356--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19010"></a> <span
+ id="dx1-20010"></a> <span
class="cmtt-10">\glsxtrshort[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5374,15 +6618,15 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2809--><p class="noindent" >
+</p><!--l. 3358--><p class="noindent" >
(Use this instead of <span
class="cmtt-10">\acrshort</span><a
- id="dx1-19011"></a>.)
-</p><!--l. 2812--><p class="indent" > The long form can be produced with
-</p><!--l. 2813--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-20011"></a>.)
+</p><!--l. 3361--><p class="indent" > The long form can be produced with
+</p><!--l. 3362--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19012"></a> <span
+ id="dx1-20012"></a> <span
class="cmtt-10">\glsxtrlong[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5390,16 +6634,16 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2815--><p class="noindent" >
+</p><!--l. 3364--><p class="noindent" >
(Use this instead of <span
class="cmtt-10">\acrlong</span><a
- id="dx1-19013"></a>.)
-</p><!--l. 2818--><p class="indent" > The <span
+ id="dx1-20013"></a>.)
+</p><!--l. 3367--><p class="indent" > The <span
class="cmti-10">inline </span>full form can be produced with
-</p><!--l. 2819--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3368--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrfull</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19014"></a> <span
+ id="dx1-20014"></a> <span
class="cmtt-10">\glsxtrfull[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5407,48 +6651,48 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2821--><p class="noindent" >
+</p><!--l. 3370--><p class="noindent" >
(This this instead of <span
class="cmtt-10">\acrfull</span><a
- id="dx1-19015"></a>.)
-</p><!--l. 2824--><p class="indent" > <div class="important" title="Important Note"> In general, it’s best not to use commands like <span
+ id="dx1-20015"></a>.)
+</p><!--l. 3373--><p class="indent" > <div class="important" title="Important Note"> In general, it’s best not to use commands like <span
class="cmtt-10">\glsfirst</span><a
- id="dx1-19016"></a> for abbreviations,
+ id="dx1-20016"></a> for abbreviations,
especially if you use the ⟨<span
class="cmti-10">insert</span>⟩ optional argument. Use either <span
class="cmtt-10">\gls </span>(possibly with a
reset) or <span
class="cmtt-10">\glsxtrfull</span>. </div>
-</p><!--l. 2829--><p class="noindent" >
-</p><!--l. 2831--><p class="indent" > As mentioned earlier, the inline full form may not necessarily match the format
+</p><!--l. 3378--><p class="noindent" >
+</p><!--l. 3380--><p class="indent" > As mentioned earlier, the inline full form may not necessarily match the format
used on <a
- id="dx1-19017"></a><a
+ id="dx1-20017"></a><a
href="#glo:firstuse">first use</a> with <span
class="cmtt-10">\gls</span>. For example, the <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-19018"></a> style only displays the
+ id="dx1-20018"></a> style only displays the
short form on <a
- id="dx1-19019"></a>first use, but the full form will display the long form followed by the
+ id="dx1-20019"></a>first use, but the full form will display the long form followed by the
short form in parentheses.
-</p><!--l. 2838--><p class="indent" > <div class="important" title="Important Note"> If you want to use an abbreviation in a chapter or section title, use the
+</p><!--l. 3387--><p class="indent" > <div class="important" title="Important Note"> If you want to use an abbreviation in a chapter or section title, use the
commands described in <a
href="#sec:headtitle"><span
class="cmsy-10">§</span>4 </a><a
href="#sec:headtitle">Entries in Sectioning Titles, Headers, Captions and
Contents<!--tex4ht:ref: sec:headtitle --></a> instead. </div>
-</p><!--l. 2842--><p class="noindent" >
-</p><!--l. 2844--><p class="indent" > The arguments ⟨<span
+</p><!--l. 3391--><p class="noindent" >
+</p><!--l. 3393--><p class="indent" > The arguments ⟨<span
class="cmti-10">options</span>⟩, ⟨<span
class="cmti-10">label</span>⟩ and ⟨<span
class="cmti-10">insert</span>⟩ are the same as for commands such as
<span
class="cmtt-10">\glstext</span>. There are also analogous case-changing commands:
-</p><!--l. 2848--><p class="indent" > First letter upper case short form:
-</p><!--l. 2849--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3397--><p class="indent" > First letter upper case short form:
+</p><!--l. 3398--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19020"></a> <span
+ id="dx1-20020"></a> <span
class="cmtt-10">\Glsxtrshort[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5456,12 +6700,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2851--><p class="noindent" >
-</p><!--l. 2853--><p class="indent" > First letter upper case long form:
-</p><!--l. 2854--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3400--><p class="noindent" >
+</p><!--l. 3402--><p class="indent" > First letter upper case long form:
+</p><!--l. 3403--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19021"></a> <span
+ id="dx1-20021"></a> <span
class="cmtt-10">\Glsxtrlong[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5469,12 +6713,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2856--><p class="noindent" >
-</p><!--l. 2858--><p class="indent" > First letter upper case inline full form:
-</p><!--l. 2859--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3405--><p class="noindent" >
+</p><!--l. 3407--><p class="indent" > First letter upper case inline full form:
+</p><!--l. 3408--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrfull</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19022"></a> <span
+ id="dx1-20022"></a> <span
class="cmtt-10">\Glsxtrfull[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5482,15 +6726,15 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2861--><p class="noindent" >
-</p><!--l. 2863--><p class="indent" > All upper case short form:
+</p><!--l. 3410--><p class="noindent" >
+</p><!--l. 3412--><p class="indent" > All upper case short form:
-</p><!--l. 2864--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3413--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19023"></a> <span
+ id="dx1-20023"></a> <span
class="cmtt-10">\GLSxtrshort[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5498,12 +6742,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2866--><p class="noindent" >
-</p><!--l. 2868--><p class="indent" > All upper case long form:
-</p><!--l. 2869--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3415--><p class="noindent" >
+</p><!--l. 3417--><p class="indent" > All upper case long form:
+</p><!--l. 3418--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19024"></a> <span
+ id="dx1-20024"></a> <span
class="cmtt-10">\GLSxtrlong[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5511,12 +6755,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2871--><p class="noindent" >
-</p><!--l. 2873--><p class="indent" > All upper case inline full form:
-</p><!--l. 2874--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3420--><p class="noindent" >
+</p><!--l. 3422--><p class="indent" > All upper case inline full form:
+</p><!--l. 3423--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GLSxtrfull</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19025"></a> <span
+ id="dx1-20025"></a> <span
class="cmtt-10">\GLSxtrfull[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5524,13 +6768,13 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2876--><p class="noindent" >
-</p><!--l. 2878--><p class="indent" > Plural forms are also available.
-</p><!--l. 2880--><p class="indent" > Short form plurals:
-</p><!--l. 2881--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3425--><p class="noindent" >
+</p><!--l. 3427--><p class="indent" > Plural forms are also available.
+</p><!--l. 3429--><p class="indent" > Short form plurals:
+</p><!--l. 3430--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrshortpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19026"></a> <span
+ id="dx1-20026"></a> <span
class="cmtt-10">\glsxtrshortpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5538,11 +6782,11 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2883--><p class="noindent" >
-</p><!--l. 2884--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3432--><p class="noindent" >
+</p><!--l. 3433--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrshortpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19027"></a> <span
+ id="dx1-20027"></a> <span
class="cmtt-10">\Glsxtrshortpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5550,11 +6794,11 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2886--><p class="noindent" >
-</p><!--l. 2887--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3435--><p class="noindent" >
+</p><!--l. 3436--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GLSxtrshortpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19028"></a> <span
+ id="dx1-20028"></a> <span
class="cmtt-10">\GLSxtrshortpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5562,12 +6806,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2889--><p class="noindent" >
-</p><!--l. 2891--><p class="indent" > Long form plurals:
-</p><!--l. 2892--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3438--><p class="noindent" >
+</p><!--l. 3440--><p class="indent" > Long form plurals:
+</p><!--l. 3441--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrlongpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19029"></a> <span
+ id="dx1-20029"></a> <span
class="cmtt-10">\glsxtrlongpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5575,11 +6819,11 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2894--><p class="noindent" >
-</p><!--l. 2895--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3443--><p class="noindent" >
+</p><!--l. 3444--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrlongpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19030"></a> <span
+ id="dx1-20030"></a> <span
class="cmtt-10">\Glsxtrlongpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5587,11 +6831,11 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2897--><p class="noindent" >
-</p><!--l. 2898--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3446--><p class="noindent" >
+</p><!--l. 3447--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GLSxtrlongpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19031"></a> <span
+ id="dx1-20031"></a> <span
class="cmtt-10">\GLSxtrlongpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5599,12 +6843,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2900--><p class="noindent" >
-</p><!--l. 2902--><p class="indent" > Full form plurals:
-</p><!--l. 2903--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3449--><p class="noindent" >
+</p><!--l. 3451--><p class="indent" > Full form plurals:
+</p><!--l. 3452--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrfullpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19032"></a> <span
+ id="dx1-20032"></a> <span
class="cmtt-10">\glsxtrfullpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5612,11 +6856,11 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2905--><p class="noindent" >
-</p><!--l. 2906--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3454--><p class="noindent" >
+</p><!--l. 3455--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrfullpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19033"></a> <span
+ id="dx1-20033"></a> <span
class="cmtt-10">\Glsxtrfullpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5624,11 +6868,11 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2908--><p class="noindent" >
-</p><!--l. 2909--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3457--><p class="noindent" >
+</p><!--l. 3458--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GLSxtrfullpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-19034"></a> <span
+ id="dx1-20034"></a> <span
class="cmtt-10">\GLSxtrfullpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -5636,8 +6880,8 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 2911--><p class="noindent" >
-</p><!--l. 2913--><p class="indent" > <div class="important" title="Important Note"> Be careful about using <span
+</p><!--l. 3460--><p class="noindent" >
+</p><!--l. 3462--><p class="indent" > <div class="important" title="Important Note"> Be careful about using <span
class="cmtt-10">\glsentryfull</span>, <span
class="cmtt-10">\Glsentryfull</span>, <span
class="cmtt-10">\glsentryfullpl </span>and
@@ -5646,32 +6890,32 @@
than the style in use when the entry was defined. If you have mixed styles,
you’ll need to use <span
class="cmtt-10">\glsxtrfull</span><a
- id="dx1-19035"></a> instead. Similarly for <span
+ id="dx1-20035"></a> instead. Similarly for <span
class="cmtt-10">\glsentryshort </span>etc.
</div>
-</p><!--l. 2919--><p class="noindent" >
-</p><!--l. 2921--><p class="noindent" >
+</p><!--l. 3468--><p class="noindent" >
+</p><!--l. 3470--><p class="noindent" >
</p>
-<!--l. 2921--><p class="noindent" ><a
+<!--l. 3470--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">3.3 </span> <a
id="sec:abbrshortcuts"></a>Shortcut Commands</h3>
-<!--l. 2924--><p class="noindent" >The abbreviation shortcut commands can be enabled using the package option
+<!--l. 3473--><p class="noindent" >The abbreviation shortcut commands can be enabled using the package option
<a
href="#styopt.shortcuts"><span
class="cmss-10">shortcuts</span></a><span
class="cmss-10">=abbreviation</span><a
- id="dx1-20001"></a> (or <a
+ id="dx1-21001"></a> (or <a
href="#styopt.shortcuts"><span
class="cmss-10">shortcuts</span></a><span
class="cmss-10">=abbr</span><a
- id="dx1-20002"></a>) or <a
+ id="dx1-21002"></a>) or <a
href="#styopt.shortcuts"><span
class="cmss-10">shortcuts</span></a><span
class="cmss-10">=ac</span><a
- id="dx1-20003"></a>. (You can use
+ id="dx1-21003"></a>. (You can use
both settings at the same time.) The provided shortcut commands listed in
<a
href="#tab:abbrshortcuts">table 3.1</a>.
@@ -5680,7 +6924,7 @@
-<!--l. 2931--><p class="indent" > <a
+<!--l. 3480--><p class="indent" > <a
id="tab:abbrshortcuts"></a></p><hr class="float" /><div class="float"
>
@@ -5688,7 +6932,7 @@
<div class="caption"
><span class="id">Table 3.1: </span><span
-class="content">Abbreviation Shortcut Commands</span></div><!--tex4ht:label?: x1-200041 -->
+class="content">Abbreviation Shortcut Commands</span></div><!--tex4ht:label?: x1-210041 -->
<div class="tabular"> <table id="TBL-3" class="tabular"
cellspacing="0" cellpadding="0"
><colgroup id="TBL-3-1g"><col
@@ -5705,422 +6949,426 @@
</tr><tr
style="vertical-align:baseline;" id="TBL-3-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-2-1"
class="td11"><span
-class="cmbx-10">(</span><span
-class="cmssbx-10">shortcuts=abbreviation</span><a
- id="dx1-20005"></a><span
+class="cmbx-10">(</span><a
+href="#styopt.shortcuts"><span
+class="cmssbx-10">shortcuts</span></a><span
+class="cmssbx-10">=abbreviation</span><a
+ id="dx1-21005"></a><span
class="cmbx-10">)</span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-2-2"
class="td11"><span
-class="cmbx-10">(</span><span
-class="cmssbx-10">shortcuts=ac</span><a
- id="dx1-20006"></a><span
+class="cmbx-10">(</span><a
+href="#styopt.shortcuts"><span
+class="cmssbx-10">shortcuts</span></a><span
+class="cmssbx-10">=ac</span><a
+ id="dx1-21006"></a><span
class="cmbx-10">)</span></td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-1"
class="td11"><span
class="cmtt-10">\ab</span><a
- id="dx1-20007"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-2"
+ id="dx1-21007"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-2"
class="td11"><span
class="cmtt-10">\ac</span><a
- id="dx1-20008"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-3"
+ id="dx1-21008"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-3"
class="td11"><span
class="cmtt-10">\cgls</span><a
- id="dx1-20009"></a> </td>
+ id="dx1-21009"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-1"
class="td11"><span
class="cmtt-10">\abp</span><a
- id="dx1-20010"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-2"
+ id="dx1-21010"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-2"
class="td11"><span
class="cmtt-10">\acp</span><a
- id="dx1-20011"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-3"
+ id="dx1-21011"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-3"
class="td11"><span
class="cmtt-10">\cglspl</span><a
- id="dx1-20012"></a> </td>
+ id="dx1-21012"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-1"
class="td11"><span
class="cmtt-10">\as</span><a
- id="dx1-20013"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-2"
+ id="dx1-21013"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-2"
class="td11"><span
class="cmtt-10">\acs</span><a
- id="dx1-20014"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-3"
+ id="dx1-21014"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-3"
class="td11"><span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-20015"></a> </td>
+ id="dx1-21015"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-1"
class="td11"><span
class="cmtt-10">\asp</span><a
- id="dx1-20016"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-2"
+ id="dx1-21016"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-2"
class="td11"><span
class="cmtt-10">\acsp</span><a
- id="dx1-20017"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-3"
+ id="dx1-21017"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-3"
class="td11"><span
class="cmtt-10">\glsxtrshortpl</span><a
- id="dx1-20018"></a> </td>
+ id="dx1-21018"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-1"
class="td11"><span
class="cmtt-10">\al</span><a
- id="dx1-20019"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-2"
+ id="dx1-21019"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-2"
class="td11"><span
class="cmtt-10">\acl</span><a
- id="dx1-20020"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-3"
+ id="dx1-21020"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-3"
class="td11"><span
class="cmtt-10">\glsxtrlong</span><a
- id="dx1-20021"></a> </td>
+ id="dx1-21021"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-1"
class="td11"><span
class="cmtt-10">\alp</span><a
- id="dx1-20022"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-2"
+ id="dx1-21022"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-2"
class="td11"><span
class="cmtt-10">\aclp</span><a
- id="dx1-20023"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-3"
+ id="dx1-21023"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-3"
class="td11"><span
class="cmtt-10">\glsxtrlongpl</span><a
- id="dx1-20024"></a> </td>
+ id="dx1-21024"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-1"
class="td11"><span
class="cmtt-10">\af</span><a
- id="dx1-20025"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-2"
+ id="dx1-21025"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-2"
class="td11"><span
class="cmtt-10">\acf</span><a
- id="dx1-20026"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-3"
+ id="dx1-21026"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-3"
class="td11"><span
class="cmtt-10">\glsxtrfull</span><a
- id="dx1-20027"></a> </td>
+ id="dx1-21027"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-10-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-1"
class="td11"><span
class="cmtt-10">\afp</span><a
- id="dx1-20028"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-2"
+ id="dx1-21028"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-2"
class="td11"><span
class="cmtt-10">\acfp</span><a
- id="dx1-20029"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-3"
+ id="dx1-21029"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-3"
class="td11"><span
class="cmtt-10">\glsxtrfullpl</span><a
- id="dx1-20030"></a> </td>
+ id="dx1-21030"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-11-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-1"
class="td11"><span
class="cmtt-10">\Ab</span><a
- id="dx1-20031"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-2"
+ id="dx1-21031"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-2"
class="td11"><span
class="cmtt-10">\Ac</span><a
- id="dx1-20032"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-3"
+ id="dx1-21032"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-3"
class="td11"><span
class="cmtt-10">\cgls</span><a
- id="dx1-20033"></a> </td>
+ id="dx1-21033"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-12-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-1"
class="td11"><span
class="cmtt-10">\Abp</span><a
- id="dx1-20034"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-2"
+ id="dx1-21034"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-2"
class="td11"><span
class="cmtt-10">\Acp</span><a
- id="dx1-20035"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-3"
+ id="dx1-21035"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-3"
class="td11"><span
class="cmtt-10">\cglspl</span><a
- id="dx1-20036"></a> </td>
+ id="dx1-21036"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-13-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-1"
class="td11"><span
class="cmtt-10">\As</span><a
- id="dx1-20037"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-2"
+ id="dx1-21037"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-2"
class="td11"><span
class="cmtt-10">\Acs</span><a
- id="dx1-20038"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-3"
+ id="dx1-21038"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-3"
class="td11"><span
class="cmtt-10">\Glsxtrshort</span><a
- id="dx1-20039"></a> </td>
+ id="dx1-21039"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-14-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-1"
class="td11"><span
class="cmtt-10">\Asp</span><a
- id="dx1-20040"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-2"
+ id="dx1-21040"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-2"
class="td11"><span
class="cmtt-10">\Acsp</span><a
- id="dx1-20041"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-3"
+ id="dx1-21041"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-3"
class="td11"><span
class="cmtt-10">\Glsxtrshortpl</span><a
- id="dx1-20042"></a> </td>
+ id="dx1-21042"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-15-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-1"
class="td11"><span
class="cmtt-10">\Al</span><a
- id="dx1-20043"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-2"
+ id="dx1-21043"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-2"
class="td11"><span
class="cmtt-10">\Acl</span><a
- id="dx1-20044"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-3"
+ id="dx1-21044"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-3"
class="td11"><span
class="cmtt-10">\Glsxtrlong</span><a
- id="dx1-20045"></a> </td>
+ id="dx1-21045"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-16-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-1"
class="td11"><span
class="cmtt-10">\Alp</span><a
- id="dx1-20046"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-2"
+ id="dx1-21046"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-2"
class="td11"><span
class="cmtt-10">\Aclp</span><a
- id="dx1-20047"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-3"
+ id="dx1-21047"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-3"
class="td11"><span
class="cmtt-10">\Glsxtrlongpl</span><a
- id="dx1-20048"></a> </td>
+ id="dx1-21048"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-17-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-1"
class="td11"><span
class="cmtt-10">\Af</span><a
- id="dx1-20049"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-2"
+ id="dx1-21049"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-2"
class="td11"><span
class="cmtt-10">\Acf</span><a
- id="dx1-20050"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-3"
+ id="dx1-21050"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-3"
class="td11"><span
class="cmtt-10">\Glsxtrfull</span><a
- id="dx1-20051"></a> </td>
+ id="dx1-21051"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-18-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-1"
class="td11"><span
class="cmtt-10">\Afp</span><a
- id="dx1-20052"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-2"
+ id="dx1-21052"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-2"
class="td11"><span
class="cmtt-10">\Acfp</span><a
- id="dx1-20053"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-3"
+ id="dx1-21053"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-3"
class="td11"><span
class="cmtt-10">\Glsxtrfullpl</span><a
- id="dx1-20054"></a> </td>
+ id="dx1-21054"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-19-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-1"
class="td11"><span
class="cmtt-10">\AB</span><a
- id="dx1-20055"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-2"
+ id="dx1-21055"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-2"
class="td11"><span
class="cmtt-10">\AC</span><a
- id="dx1-20056"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-3"
+ id="dx1-21056"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-3"
class="td11"><span
class="cmtt-10">\cGLS</span><a
- id="dx1-20057"></a> </td>
+ id="dx1-21057"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-20-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-1"
class="td11"><span
class="cmtt-10">\ABP</span><a
- id="dx1-20058"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-2"
+ id="dx1-21058"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-2"
class="td11"><span
class="cmtt-10">\ACP</span><a
- id="dx1-20059"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-3"
+ id="dx1-21059"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-3"
class="td11"><span
class="cmtt-10">\cGLSpl</span><a
- id="dx1-20060"></a> </td>
+ id="dx1-21060"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-21-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-1"
class="td11"><span
class="cmtt-10">\AS</span><a
- id="dx1-20061"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-2"
+ id="dx1-21061"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-2"
class="td11"><span
class="cmtt-10">\ACS</span><a
- id="dx1-20062"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-3"
+ id="dx1-21062"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-3"
class="td11"><span
class="cmtt-10">\GLSxtrshort</span><a
- id="dx1-20063"></a> </td>
+ id="dx1-21063"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-22-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-1"
class="td11"><span
class="cmtt-10">\ASP</span><a
- id="dx1-20064"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-2"
+ id="dx1-21064"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-2"
class="td11"><span
class="cmtt-10">\ACSP</span><a
- id="dx1-20065"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-3"
+ id="dx1-21065"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-3"
class="td11"><span
class="cmtt-10">\GLSxtrshortpl</span><a
- id="dx1-20066"></a> </td>
+ id="dx1-21066"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-23-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-1"
class="td11"><span
class="cmtt-10">\AL</span><a
- id="dx1-20067"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-2"
+ id="dx1-21067"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-2"
class="td11"><span
class="cmtt-10">\ACL</span><a
- id="dx1-20068"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-3"
+ id="dx1-21068"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-3"
class="td11"><span
class="cmtt-10">\GLSxtrlong</span><a
- id="dx1-20069"></a> </td>
+ id="dx1-21069"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-24-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-1"
class="td11"><span
class="cmtt-10">\ALP</span><a
- id="dx1-20070"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-2"
+ id="dx1-21070"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-2"
class="td11"><span
class="cmtt-10">\ACLP</span><a
- id="dx1-20071"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-3"
+ id="dx1-21071"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-3"
class="td11"><span
class="cmtt-10">\GLSxtrlongpl</span><a
- id="dx1-20072"></a> </td>
+ id="dx1-21072"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-25-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-1"
class="td11"><span
class="cmtt-10">\AF</span><a
- id="dx1-20073"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-2"
+ id="dx1-21073"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-2"
class="td11"><span
class="cmtt-10">\ACF</span><a
- id="dx1-20074"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-3"
+ id="dx1-21074"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-3"
class="td11"><span
class="cmtt-10">\GLSxtrfull</span><a
- id="dx1-20075"></a> </td>
+ id="dx1-21075"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-26-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-1"
class="td11"><span
class="cmtt-10">\AFP</span><a
- id="dx1-20076"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-2"
+ id="dx1-21076"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-2"
class="td11"><span
class="cmtt-10">\ACFP</span><a
- id="dx1-20077"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-3"
+ id="dx1-21077"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-3"
class="td11"><span
class="cmtt-10">\GLSxtrfullpl</span><a
- id="dx1-20078"></a> </td>
+ id="dx1-21078"></a> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-27-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-1"
class="td11"><span
class="cmtt-10">\newabbr</span><a
- id="dx1-20079"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-2"
+ id="dx1-21079"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-2"
class="td11"><span
class="cmtt-10">\newabbr</span><a
- id="dx1-20080"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-3"
+ id="dx1-21080"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-3"
class="td11"><span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-20081"></a> </td></tr></table></div>
+ id="dx1-21081"></a> </td></tr></table></div>
</div><hr class="endfloat" />
</div>
-<!--l. 2969--><p class="noindent" ><a
+<!--l. 3518--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">3.4 </span> <a
id="sec:predefabbrvstyles"></a>Predefined Abbreviation Styles</h3>
-<!--l. 2972--><p class="noindent" >There are two types of abbreviation styles: those that treat the abbreviation as a
+<!--l. 3521--><p class="noindent" >There are two types of abbreviation styles: those that treat the abbreviation as a
regular entry (so that <span
class="cmtt-10">\gls</span><a
- id="dx1-21001"></a> uses <span
+ id="dx1-22001"></a> uses <span
class="cmtt-10">\glsgenentryfmt</span><a
- id="dx1-21002"></a>) and those that don’t treat the
+ id="dx1-22002"></a>) and those that don’t treat the
abbreviation as a regular entry (so that <span
class="cmtt-10">\gls</span><a
- id="dx1-21003"></a> uses <span
+ id="dx1-22003"></a> uses <span
class="cmtt-10">\glsxtrgenabbrvfmt</span><a
- id="dx1-21004"></a>).
-</p><!--l. 2977--><p class="indent" > The regular entry abbreviation styles set the <a
+ id="dx1-22004"></a>).
+</p><!--l. 3526--><p class="indent" > The regular entry abbreviation styles set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-21005"></a> attribute to “true” for the
+ id="dx1-22005"></a> attribute to “true” for the
category assigned to each abbreviation with that style. This means that on <a
- id="dx1-21006"></a><a
+ id="dx1-22006"></a><a
href="#glo:firstuse">first use</a>,
<span
class="cmtt-10">\gls</span><a
- id="dx1-21007"></a> uses the value of the <span
+ id="dx1-22007"></a> uses the value of the <span
class="cmss-10">first</span><a
- id="dx1-21008"></a> field and on subsequent use <span
+ id="dx1-22008"></a> field and on subsequent use <span
class="cmtt-10">\gls</span><a
- id="dx1-21009"></a> uses the value of the
+ id="dx1-22009"></a> uses the value of the
<span
class="cmss-10">text</span><a
- id="dx1-21010"></a> field (and analogously for the plural and case-changing versions). The <span
+ id="dx1-22010"></a> field (and analogously for the plural and case-changing versions). The <span
class="cmss-10">short</span><a
- id="dx1-21011"></a> and
+ id="dx1-22011"></a> and
<span
class="cmss-10">long</span><a
- id="dx1-21012"></a> fields are set as appropriate and may be accessed through commands like
+ id="dx1-22012"></a> fields are set as appropriate and may be accessed through commands like
<span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-21013"></a>.
-</p><!--l. 2986--><p class="indent" > The other abbreviation styles don’t modify the <a
+ id="dx1-22013"></a>.
+</p><!--l. 3535--><p class="indent" > The other abbreviation styles don’t modify the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-21014"></a> attribute. The <span
+ id="dx1-22014"></a> attribute. The <span
class="cmss-10">first</span><a
- id="dx1-21015"></a>
+ id="dx1-22015"></a>
and <span
class="cmss-10">text</span><a
- id="dx1-21016"></a> fields (and their plural forms) are set and can be accessed through
+ id="dx1-22016"></a> fields (and their plural forms) are set and can be accessed through
commands like <span
class="cmtt-10">\glsfirst</span>, but they aren’t used by commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-21017"></a>, which
+ id="dx1-22017"></a>, which
instead use the short form (stored in the <span
class="cmss-10">short</span><a
- id="dx1-21018"></a> key) and the display full
+ id="dx1-22018"></a> key) and the display full
format (through commands like <span
class="cmtt-10">\glsxtrfullformat</span><a
- id="dx1-21019"></a> that are defined by the
+ id="dx1-22019"></a> that are defined by the
style).
-</p><!--l. 2994--><p class="indent" > In both cases, the <a
- id="dx1-21020"></a>first use of <span
+</p><!--l. 3543--><p class="indent" > In both cases, the <a
+ id="dx1-22020"></a>first use of <span
class="cmtt-10">\gls</span><a
- id="dx1-21021"></a> may not match the text produced by
+ id="dx1-22021"></a> may not match the text produced by
<span
class="cmtt-10">\glsfirst</span><a
- id="dx1-21022"></a> (and likewise for the plural and case-changing versions).
-</p><!--l. 2998--><p class="indent" > The sample file <span
+ id="dx1-22022"></a> (and likewise for the plural and case-changing versions).
+</p><!--l. 3547--><p class="indent" > The sample file <span
class="cmtt-10">sample-abbr-styles.tex </span>demonstrates all predefined styles
described here.
-</p><!--l. 3001--><p class="indent" > <div class="important" title="Important Note"> For the “sc” styles that use <span
+</p><!--l. 3550--><p class="indent" > <div class="important" title="Important Note"> For the “sc” styles that use <span
class="cmtt-10">\textsc</span><a
- id="dx1-21023"></a>, be careful about your choice of fonts as
+ id="dx1-22023"></a>, be careful about your choice of fonts as
some only have limited support. For example, you may not be able to combine bold
and small-caps. I recommend that you at least use the <span
class="cmss-10">fontenc</span><a
- id="dx1-21024"></a> package with the <span
+ id="dx1-22024"></a> package with the <span
class="cmss-10">T1</span>
option or something similar. </div>
-</p><!--l. 3007--><p class="noindent" >
-</p><!--l. 3009--><p class="indent" > The parenthetical styles, such as <a
+</p><!--l. 3556--><p class="noindent" >
+</p><!--l. 3558--><p class="indent" > The parenthetical styles, such as <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-21025"></a>, use
-</p><!--l. 3011--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-22025"></a>, use
+</p><!--l. 3560--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrparen</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21026"></a> <span
+ id="dx1-22026"></a> <span
class="cmtt-10">\glsxtrparen{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3013--><p class="noindent" >
+</p><!--l. 3562--><p class="noindent" >
to set the parenthetical material. This just puts parentheses around the text:
(⟨<span
class="cmti-10">text</span>⟩).
-</p><!--l. 3017--><p class="indent" > The basic abbreviation styles, such as <a
+</p><!--l. 3566--><p class="indent" > The basic abbreviation styles, such as <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-21027"></a> and <a
+ id="dx1-22027"></a> and <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-21028"></a> use
-</p><!--l. 3019--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-22028"></a> use
+</p><!--l. 3568--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvdefaultfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21029"></a> <span
+ id="dx1-22029"></a> <span
class="cmtt-10">\glsabbrvdefaultfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3021--><p class="noindent" >
+</p><!--l. 3570--><p class="noindent" >
for the short form. This just does ⟨<span
class="cmti-10">text</span>⟩ by default. (That is, no font change is
applied.) On first use,
-</p><!--l. 3024--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3573--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvdefaultfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21030"></a> <span
+ id="dx1-22030"></a> <span
class="cmtt-10">\glsfirstabbrvdefaultfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3026--><p class="noindent" >
+</p><!--l. 3575--><p class="noindent" >
is used instead. By default, this just does <span
class="cmtt-10">\glsabbrvdefaultfont</span>. The long form is
formatted according to
-</p><!--l. 3029--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3578--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongdefaultfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21031"></a> <span
+ id="dx1-22031"></a> <span
class="cmtt-10">\glslongdefaultfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
@@ -6127,57 +7375,57 @@
-</p><!--l. 3031--><p class="noindent" >
+</p><!--l. 3580--><p class="noindent" >
which again just does ⟨<span
class="cmti-10">text</span>⟩ (no font change). On first use,
-</p><!--l. 3033--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3582--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlongdefaultfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21032"></a> <span
+ id="dx1-22032"></a> <span
class="cmtt-10">\glsfirstlongdefaultfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3035--><p class="noindent" >
+</p><!--l. 3584--><p class="noindent" >
is used instead. This just does <span
class="cmtt-10">\glslongdefaultfont</span>. The plural suffix used for the
short form is given by
-</p><!--l. 3038--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3587--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrabbrvpluralsuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21033"></a> <span
+ id="dx1-22033"></a> <span
class="cmtt-10">\glsxtrabbrvpluralsuffix </span></div><hr>
-</p><!--l. 3040--><p class="noindent" >
+</p><!--l. 3589--><p class="noindent" >
which defaults to <span
class="cmtt-10">\glspluralsuffix</span><a
- id="dx1-21034"></a>.
-</p><!--l. 3043--><p class="indent" > The small-cap styles, such as <a
+ id="dx1-22034"></a>.
+</p><!--l. 3592--><p class="indent" > The small-cap styles, such as <a
href="#abbrstyle.long-short-sc"><span
class="cmss-10">long-short-sc</span></a><a
- id="dx1-21035"></a> and <a
+ id="dx1-22035"></a> and <a
href="#abbrstyle.short-sc-long"><span
class="cmss-10">short-sc-long</span></a><a
- id="dx1-21036"></a>, use
-</p><!--l. 3045--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-22036"></a>, use
+</p><!--l. 3594--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvscfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21037"></a> <span
+ id="dx1-22037"></a> <span
class="cmtt-10">\glsabbrvscfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3047--><p class="noindent" >
+</p><!--l. 3596--><p class="noindent" >
which uses <span
class="cmtt-10">\textsc</span>.<span class="footnote-mark"><a
href="#fn1x3" id="fn1x3-bk"><sup class="textsuperscript">3.1</sup></a></span><a
- id="x1-21038f1"></a>
+ id="x1-22038f1"></a>
On first use
-</p><!--l. 3053--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3602--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvdefaultfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21039"></a> <span
+ id="dx1-22039"></a> <span
class="cmtt-10">\glsfirstabbrvscfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3055--><p class="noindent" >
+</p><!--l. 3604--><p class="noindent" >
is used instead. This uses <span
class="cmtt-10">\glsabbrvscfont </span>by default. So redefine, <span
class="cmtt-10">\glsabbrvscfont</span>
@@ -6184,150 +7432,150 @@
to change first and subsequent uses or <span
class="cmtt-10">\glsfirstabbrvscfont </span>to change just the
first use.
-</p><!--l. 3060--><p class="indent" > The long form for the small-cap styles uses <span
+</p><!--l. 3609--><p class="indent" > The long form for the small-cap styles uses <span
class="cmtt-10">\glslongdefaultfont </span>or
<span
class="cmtt-10">\glsfirstlongdefaultfont</span>, as with the basic style. The suffix is given
by
-</p><!--l. 3063--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3612--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrscsuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21040"></a> <span
+ id="dx1-22040"></a> <span
class="cmtt-10">\glsxtrscsuffix </span></div><hr>
-</p><!--l. 3065--><p class="noindent" >
+</p><!--l. 3614--><p class="noindent" >
This is defined as
</p>
- <div class="verbatim" id="verbatim-83">
+ <div class="verbatim" id="verbatim-105">
\newcommand*{\glsxtrscsuffix}{\glstextup{\glsxtrabbrvpluralsuffix}}
</div>
-<!--l. 3069--><p class="nopar" > The <span
+<!--l. 3618--><p class="nopar" > The <span
class="cmtt-10">\glstextup</span><a
- id="dx1-21041"></a> command is provided by <span
+ id="dx1-22041"></a> command is provided by <span
class="cmss-10">glossaries </span>and is used to switch off the
small caps font for the suffix. If you override the default short plural using the
<span
class="cmss-10">shortplural</span><a
- id="dx1-21042"></a> key when you define the abbreviation you will need to make the
+ id="dx1-22042"></a> key when you define the abbreviation you will need to make the
appropriate adjustment if necessary. (Remember that the default plural suffix
behaviour can be modified through the use of the <a
href="#catattr.aposplural"><span
class="cmss-10">aposplural</span></a><a
- id="dx1-21043"></a> and <a
+ id="dx1-22043"></a> and <a
href="#catattr.noshortplural"><span
class="cmss-10">noshortplural</span></a><a
- id="dx1-21044"></a>
+ id="dx1-22044"></a>
attributes. See <a
href="#sec:categories"><span
class="cmsy-10">§</span>5 </a><a
href="#sec:categories">Categories<!--tex4ht:ref: sec:categories --></a> for further details.)
-</p><!--l. 3080--><p class="indent" > The small styles, such as <a
+</p><!--l. 3629--><p class="indent" > The small styles, such as <a
href="#abbrstyle.long-short-sm"><span
class="cmss-10">long-short-sm</span></a><a
- id="dx1-21045"></a> and <a
+ id="dx1-22045"></a> and <a
href="#abbrstyle.short-sm-long"><span
class="cmss-10">short-sm-long</span></a><a
- id="dx1-21046"></a>, use
-</p><!--l. 3082--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-22046"></a>, use
+</p><!--l. 3631--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvsmfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21047"></a> <span
+ id="dx1-22047"></a> <span
class="cmtt-10">\glsabbrvsmfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3084--><p class="noindent" >
+</p><!--l. 3633--><p class="noindent" >
which uses <span
class="cmtt-10">\textsmaller</span>. (This requires the <span
class="cmss-10">relsizes</span><a
- id="dx1-21048"></a> package, which isn’t loaded by
+ id="dx1-22048"></a> package, which isn’t loaded by
<span
class="cmss-10">glossaries-extra</span>, so must be loaded explicitly.) On first use
-</p><!--l. 3089--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3638--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvsmfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21049"></a> <span
+ id="dx1-22049"></a> <span
class="cmtt-10">\glsfirstabbrvsmfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3091--><p class="noindent" >
+</p><!--l. 3640--><p class="noindent" >
is used instead. This uses <span
class="cmtt-10">\glsabbrvsmfont </span>by default.
-</p><!--l. 3094--><p class="indent" > The long form for the smaller styles uses <span
+</p><!--l. 3643--><p class="indent" > The long form for the smaller styles uses <span
class="cmtt-10">\glslongdefaultfont </span>or
<span
class="cmtt-10">\glsfirstlongdefaultfont</span>, as with the basic style. The suffix is given
by
-</p><!--l. 3097--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3646--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsmsuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21050"></a> <span
+ id="dx1-22050"></a> <span
class="cmtt-10">\glsxtrsmsuffix </span></div><hr>
-</p><!--l. 3099--><p class="noindent" >
+</p><!--l. 3648--><p class="noindent" >
which defaults to just <span
class="cmtt-10">\glsxtrabbrvpluralsuffix</span>.
-</p><!--l. 3102--><p class="indent" > The “short-em” (emphasize short) styles, such as <a
+</p><!--l. 3651--><p class="indent" > The “short-em” (emphasize short) styles, such as <a
href="#abbrstyle.long-short-em"><span
class="cmss-10">long-short-em</span></a><a
- id="dx1-21051"></a> or <a
+ id="dx1-22051"></a> or <a
href="#abbrstyle.short-em-long"><span
class="cmss-10">short-em-long</span></a><a
- id="dx1-21052"></a>,
+ id="dx1-22052"></a>,
use
-</p><!--l. 3104--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3653--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvemfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21053"></a> <span
+ id="dx1-22053"></a> <span
class="cmtt-10">\glsabbrvemfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3106--><p class="noindent" >
+</p><!--l. 3655--><p class="noindent" >
On first use
-</p><!--l. 3108--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3657--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvemfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21054"></a> <span
+ id="dx1-22054"></a> <span
class="cmtt-10">\glsfirstabbrvemfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3110--><p class="noindent" >
+</p><!--l. 3659--><p class="noindent" >
is used instead. This uses <span
class="cmtt-10">\glsabbrvemfont </span>by default. The suffix is given
by
-</p><!--l. 3113--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3662--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtremsuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21055"></a> <span
+ id="dx1-22055"></a> <span
class="cmtt-10">\glsxtremsuffix </span></div><hr>
-</p><!--l. 3115--><p class="noindent" >
+</p><!--l. 3664--><p class="noindent" >
which defaults to just <span
class="cmtt-10">\glsxtrabbrvpluralsuffix</span>. The long form is as for the basic
style unless the style is a “long-em” style.
-</p><!--l. 3120--><p class="indent" > The “long-em” (emphasize long) styles, such as <a
+</p><!--l. 3669--><p class="indent" > The “long-em” (emphasize long) styles, such as <a
href="#abbrstyle.long-em-short-em"><span
class="cmss-10">long-em-short-em</span></a><a
- id="dx1-21056"></a> or <a
+ id="dx1-22056"></a> or <a
href="#abbrstyle.short-em-long-em"><span
class="cmss-10">short-em-long-em</span></a><a
- id="dx1-21057"></a>,
+ id="dx1-22057"></a>,
use
-</p><!--l. 3122--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3671--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlongemfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21058"></a> <span
+ id="dx1-22058"></a> <span
class="cmtt-10">\glsfirstlongemfont{</span>⟨<span
class="cmitt-10">long-form</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3124--><p class="noindent" >
+</p><!--l. 3673--><p class="noindent" >
instead of <span
class="cmtt-10">\glsfirstlongdefaultfont{</span>⟨<span
class="cmti-10">long-form</span>⟩<span
class="cmtt-10">} </span>and
-</p><!--l. 3126--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3675--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongemfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21059"></a> <span
+ id="dx1-22059"></a> <span
class="cmtt-10">\glslongemfont{</span>⟨<span
class="cmitt-10">long-form</span>⟩<span
class="cmtt-10">} </span></div><hr>
@@ -6334,7 +7582,7 @@
-</p><!--l. 3128--><p class="noindent" >
+</p><!--l. 3677--><p class="noindent" >
instead of <span
class="cmtt-10">\glslongdefaultfont{</span>⟨<span
class="cmti-10">long-form</span>⟩<span
@@ -6342,129 +7590,129 @@
class="cmtt-10">\glsfirstlongemfont</span>
is initialised to use <span
class="cmtt-10">\glslongemfont</span>.
-</p><!--l. 3132--><p class="indent" > The user styles have similar commands:
-</p><!--l. 3133--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3681--><p class="indent" > The user styles have similar commands:
+</p><!--l. 3682--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvuserfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21060"></a> <span
+ id="dx1-22060"></a> <span
class="cmtt-10">\glsabbrvuserfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3135--><p class="noindent" >
+</p><!--l. 3684--><p class="noindent" >
for the short form,
-</p><!--l. 3137--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3686--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvuserfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21061"></a> <span
+ id="dx1-22061"></a> <span
class="cmtt-10">\glsfirstabbrvuserfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3139--><p class="noindent" >
+</p><!--l. 3688--><p class="noindent" >
for the first use short form,
-</p><!--l. 3141--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3690--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslonguserfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21062"></a> <span
+ id="dx1-22062"></a> <span
class="cmtt-10">\glslonguserfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3143--><p class="noindent" >
+</p><!--l. 3692--><p class="noindent" >
for the long form,
-</p><!--l. 3145--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3694--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlonguserfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21063"></a> <span
+ id="dx1-22063"></a> <span
class="cmtt-10">\glsfirstlonguserfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3147--><p class="noindent" >
+</p><!--l. 3696--><p class="noindent" >
for the first use long form, and
-</p><!--l. 3149--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3698--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrusersuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21064"></a> <span
+ id="dx1-22064"></a> <span
class="cmtt-10">\glsxtrusersuffix </span></div><hr>
-</p><!--l. 3151--><p class="noindent" >
+</p><!--l. 3700--><p class="noindent" >
for the short plural suffix.
-</p><!--l. 3154--><p class="indent" > Similarly for the hyphen styles:
-</p><!--l. 3155--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3703--><p class="indent" > Similarly for the hyphen styles:
+</p><!--l. 3704--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvhyphenfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21065"></a> <span
+ id="dx1-22065"></a> <span
class="cmtt-10">\glsabbrvhyphenfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3157--><p class="noindent" >
+</p><!--l. 3706--><p class="noindent" >
for the short form,
-</p><!--l. 3159--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3708--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvhyphenfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21066"></a> <span
+ id="dx1-22066"></a> <span
class="cmtt-10">\glsfirstabbrvhyphenfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3161--><p class="noindent" >
+</p><!--l. 3710--><p class="noindent" >
for the first use short form,
-</p><!--l. 3163--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3712--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslonghyphenfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21067"></a> <span
+ id="dx1-22067"></a> <span
class="cmtt-10">\glslonghyphenfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3165--><p class="noindent" >
+</p><!--l. 3714--><p class="noindent" >
for the long form,
-</p><!--l. 3167--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3716--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlonghyphenfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21068"></a> <span
+ id="dx1-22068"></a> <span
class="cmtt-10">\glsfirstlonghyphenfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3169--><p class="noindent" >
+</p><!--l. 3718--><p class="noindent" >
for the first use long form, and
-</p><!--l. 3171--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3720--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrhyphensuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21069"></a> <span
+ id="dx1-22069"></a> <span
class="cmtt-10">\glsxtrhyphensuffix </span></div><hr>
-</p><!--l. 3173--><p class="noindent" >
+</p><!--l. 3722--><p class="noindent" >
for the short plural suffix.
-</p><!--l. 3176--><p class="indent" > Similarly for the “only” styles, such as <a
+</p><!--l. 3725--><p class="indent" > Similarly for the “only” styles, such as <a
href="#abbrstyle.long-only-short-only"><span
class="cmss-10">long-only-short-only</span></a><a
- id="dx1-21070"></a>:
-</p><!--l. 3178--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-22070"></a>:
+</p><!--l. 3727--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvonlyfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21071"></a> <span
+ id="dx1-22071"></a> <span
class="cmtt-10">\glsabbrvonlyfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3180--><p class="noindent" >
+</p><!--l. 3729--><p class="noindent" >
for the short form,
-</p><!--l. 3182--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3731--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvonlyfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21072"></a> <span
+ id="dx1-22072"></a> <span
class="cmtt-10">\glsfirstabbrvonlyfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3184--><p class="noindent" >
+</p><!--l. 3733--><p class="noindent" >
for the first use short form,
-</p><!--l. 3186--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3735--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongonlyfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21073"></a> <span
+ id="dx1-22073"></a> <span
class="cmtt-10">\glslongonlyfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3188--><p class="noindent" >
+</p><!--l. 3737--><p class="noindent" >
for the long form,
-</p><!--l. 3190--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3739--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlongonlyfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21074"></a> <span
+ id="dx1-22074"></a> <span
class="cmtt-10">\glsfirstlongonlyfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
@@ -6471,46 +7719,46 @@
-</p><!--l. 3192--><p class="noindent" >
+</p><!--l. 3741--><p class="noindent" >
for the first use long form, and
-</p><!--l. 3194--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3743--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtronlysuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21075"></a> <span
+ id="dx1-22075"></a> <span
class="cmtt-10">\glsxtronlysuffix </span></div><hr>
-</p><!--l. 3196--><p class="noindent" >
+</p><!--l. 3745--><p class="noindent" >
for the short plural suffix.
-</p><!--l. 3199--><p class="indent" > Note that by default inserted material (provided in the final optional argument of
+</p><!--l. 3748--><p class="indent" > Note that by default inserted material (provided in the final optional argument of
commands like <span
class="cmtt-10">\gls</span>), is placed outside the font command in the predefined styles. To
move it inside, use:
-</p><!--l. 3202--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3751--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrinsertinsidetrue</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21076"></a> <span
+ id="dx1-22076"></a> <span
class="cmtt-10">\glsxtrinsertinsidetrue </span></div><hr>
-</p><!--l. 3204--><p class="noindent" >
+</p><!--l. 3753--><p class="noindent" >
This applies to all the predefined styles. For example:
</p>
- <div class="verbatim" id="verbatim-84">
+ <div class="verbatim" id="verbatim-106">
\setabbreviationstyle{long-short}
 <br />\renewcommand*{\glsfirstlongdefaultfont}[1]{\emph{#1}}
 <br />\glsxtrinsertinsidetrue
</div>
-<!--l. 3210--><p class="nopar" > This will make the long form and the inserted text emphasized, whereas the default
+<!--l. 3759--><p class="nopar" > This will make the long form and the inserted text emphasized, whereas the default
(without <span
class="cmtt-10">\glsxtrinsertinsidetrue</span>) would place the inserted text outside of the
emphasized font.
-</p><!--l. 3215--><p class="indent" > Note that for some styles, such as the <a
+</p><!--l. 3764--><p class="indent" > Note that for some styles, such as the <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-21077"></a>, the inserted text would be
+ id="dx1-22077"></a>, the inserted text would be
placed inside the font command for the short form (rather than the long form in the
above example).
-</p><!--l. 3219--><p class="indent" > Remember that <span
+</p><!--l. 3768--><p class="indent" > Remember that <span
class="cmtt-10">\textsc </span>renders <span
class="cmti-10">lowercase </span>letters as small capitals. Uppercase
letters are rendered as normal uppercase letters, so if you specify the short form in
@@ -6521,30 +7769,30 @@
</p>
- <div class="verbatim" id="verbatim-85">
+ <div class="verbatim" id="verbatim-107">
\renewcommand*{\glsabbrvscfont}[1]{\textsc{\MakeLowercase{#1}}}
</div>
-<!--l. 3226--><p class="nopar" >
-</p><!--l. 3228--><p class="indent" > If you want to easily switch between the “sc” and “sm” styles, you may find it
+<!--l. 3775--><p class="nopar" >
+</p><!--l. 3777--><p class="indent" > If you want to easily switch between the “sc” and “sm” styles, you may find it
easier to redefine this command to convert case:
</p>
- <div class="verbatim" id="verbatim-86">
+ <div class="verbatim" id="verbatim-108">
\renewcommand*{\glsabbrvscfont}[1]{\textsc{\MakeTextLowercase{#1}}}
 <br />\renewcommand*{\glsabbrvsmfont}[1]{\textsmaller{\MakeTextUppercase{#1}}}
</div>
-<!--l. 3234--><p class="nopar" >
-</p><!--l. 3236--><p class="indent" > Some of the styles use
-</p><!--l. 3237--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+<!--l. 3783--><p class="nopar" >
+</p><!--l. 3785--><p class="indent" > Some of the styles use
+</p><!--l. 3786--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrfullsep</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21078"></a> <span
+ id="dx1-22078"></a> <span
class="cmtt-10">\glsxtrfullsep{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3239--><p class="noindent" >
+</p><!--l. 3788--><p class="noindent" >
as a separator between the long and short forms. This is defined as a space by
default, but may be changed as required. For example:
@@ -6551,19 +7799,19 @@
</p>
- <div class="verbatim" id="verbatim-87">
+ <div class="verbatim" id="verbatim-109">
\renewcommand*{\glsxtrfullsep}[1]{~}
</div>
-<!--l. 3244--><p class="nopar" > or
+<!--l. 3793--><p class="nopar" > or
</p>
- <div class="verbatim" id="verbatim-88">
+ <div class="verbatim" id="verbatim-110">
\renewcommand*{\glsxtrfullsep}[1]{\glsacspace{#1}}
</div>
-<!--l. 3248--><p class="nopar" >
-</p><!--l. 3250--><p class="indent" > The new naming scheme for abbreviation styles is as follows: </p>
+<!--l. 3797--><p class="nopar" >
+</p><!--l. 3799--><p class="indent" > The new naming scheme for abbreviation styles is as follows: </p>
<ul class="itemize1">
<li class="itemize">⟨<span
class="cmti-10">field1</span>⟩[<span
@@ -6574,37 +7822,40 @@
class="cmtt-10">-</span>⟨<span
class="cmti-10">modifier2</span>⟩][<span
class="cmtt-10">-user</span>]
- <!--l. 3255--><p class="noindent" >This is for the parenthetical styles. The <span
+ <!--l. 3804--><p class="noindent" >This is for the parenthetical styles. The <span
class="cmtt-10">-</span>⟨<span
class="cmti-10">modifier</span>⟩ parts may be omitted.
These styles display ⟨<span
class="cmti-10">field1</span>⟩ followed by ⟨<span
class="cmti-10">field2</span>⟩ in parentheses. If ⟨<span
-class="cmti-10">field2</span>⟩ starts
- with “no” then the parenthetical element is omitted from the display style
- but is included in the inline style.
- </p><!--l. 3261--><p class="noindent" >If the <span
+class="cmti-10">field1</span>⟩ or
+ ⟨<span
+class="cmti-10">field2</span>⟩ starts with “no” then that element is omitted from the display style
+ (no parenthetical part) but is included in the inline style.
+ </p><!--l. 3810--><p class="noindent" >If the <span
class="cmtt-10">-</span>⟨<span
class="cmti-10">modifier</span>⟩ part is present, then the field has a font changing command
- applied to it.
- </p><!--l. 3264--><p class="noindent" >If <span
+ applied to it. The special modifier <span
+class="cmtt-10">-only </span>indicates that field is only present
+ according to whether or not the entry has been used.
+ </p><!--l. 3815--><p class="noindent" >If <span
class="cmtt-10">post </span>is present then ⟨<span
class="cmti-10">field2</span>⟩ is placed after the <a
- id="dx1-21079"></a><a
+ id="dx1-22079"></a><a
href="#glo:linktext">link-text</a> using the
post-link hook.
- </p><!--l. 3267--><p class="noindent" >If the <span
+ </p><!--l. 3818--><p class="noindent" >If the <span
class="cmtt-10">-user </span>part is present, then the <span
class="cmss-10">user1</span><a
- id="dx1-21080"></a> value, if provided, is inserted
+ id="dx1-22080"></a> value, if provided, is inserted
into the parenthetical material . (The field used for the inserted material
may be changed.)
- </p><!--l. 3271--><p class="noindent" >Examples: </p>
+ </p><!--l. 3822--><p class="noindent" >Examples: </p>
<ul class="itemize2">
<li class="itemize"><a
href="#abbrstyle.long-noshort-sc"><span
class="cmss-10">long-noshort-sc</span></a><a
- id="dx1-21081"></a>: ⟨<span
+ id="dx1-22081"></a>: ⟨<span
class="cmti-10">field1</span>⟩ is the long form, the short form is set in
smallcaps but omitted in the display style.
</li>
@@ -6611,21 +7862,21 @@
<li class="itemize"><a
href="#abbrstyle.long-em-short-em"><span
class="cmss-10">long-em-short-em</span></a><a
- id="dx1-21082"></a>: both the long form and the short form are
+ id="dx1-22082"></a>: both the long form and the short form are
emphasized. The short form is in parentheses.
</li>
<li class="itemize"><a
href="#abbrstyle.long-short-em"><span
class="cmss-10">long-short-em</span></a><a
- id="dx1-21083"></a>: the short form is emphasized but not the long form.
+ id="dx1-22083"></a>: the short form is emphasized but not the long form.
The short form is in parentheses.
</li>
<li class="itemize"><a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-21084"></a>: if the <span
+ id="dx1-22084"></a>: if the <span
class="cmss-10">user1</span><a
- id="dx1-21085"></a> key has been set, this produces the style
+ id="dx1-22085"></a> key has been set, this produces the style
⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩, ⟨<span
@@ -6636,7 +7887,7 @@
<li class="itemize"><a
href="#abbrstyle.long-hyphen-postshort-hyphen"><span
class="cmss-10">long-hyphen-postshort-hyphen</span></a><a
- id="dx1-21086"></a>: the short form and the inserted
+ id="dx1-22086"></a>: the short form and the inserted
material (provided by the final optional argument of commands like
<span
class="cmtt-10">\gls</span>) is moved to the post-link hook. The long form is formatted
@@ -6655,31 +7906,31 @@
<li class="itemize">⟨<span
class="cmti-10">style</span>⟩<span
class="cmtt-10">-noreg</span>
- <!--l. 3295--><p class="noindent" >Some styles set the <a
+ <!--l. 3846--><p class="noindent" >Some styles set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-21087"></a> attribute. In some cases, there’s a version of the
+ id="dx1-22087"></a> attribute. In some cases, there’s a version of the
style that doesn’t set this attribute. For example, <a
href="#abbrstyle.long-em-noshort-em"><span
class="cmss-10">long-em-noshort-em</span></a><a
- id="dx1-21088"></a> sets the
+ id="dx1-22088"></a> sets the
<a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-21089"></a> attribute. The <a
+ id="dx1-22089"></a> attribute. The <a
href="#abbrstyle.long-em-noshort-em-noreg"><span
class="cmss-10">long-em-noshort-em-noreg</span></a><a
- id="dx1-21090"></a> style is a minor variation that
+ id="dx1-22090"></a> style is a minor variation that
style that doesn’t set the attribute.
- </p><!--l. 3302--><p class="noindent" >There are a few “noshort” styles, such as <a
+ </p><!--l. 3853--><p class="noindent" >There are a few “noshort” styles, such as <a
href="#abbrstyle.long-hyphen-noshort-noreg"><span
class="cmss-10">long-hyphen-noshort-noreg</span></a><a
- id="dx1-21091"></a>, that have
+ id="dx1-22091"></a>, that have
“-noreg” version without a regular version. This is because the style won’t work
properly with the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-21092"></a> set, but the naming scheme is maintained for
+ id="dx1-22092"></a> set, but the naming scheme is maintained for
consistency with the other “noshort” styles.
</p></li>
<li class="itemize">⟨<span
@@ -6689,79 +7940,79 @@
class="cmtt-10">-</span>[<span
class="cmtt-10">post</span>]<span
class="cmtt-10">footnote</span>
- <!--l. 3312--><p class="noindent" >The display style uses ⟨<span
+ <!--l. 3863--><p class="noindent" >The display style uses ⟨<span
class="cmti-10">field1</span>⟩ followed by a footnote with the other field in it. If
<span
class="cmtt-10">post </span>is present then the footnote is placed after the <a
- id="dx1-21093"></a><a
+ id="dx1-22093"></a><a
href="#glo:linktext">link-text</a> using the
post-link hook. The inline style does ⟨<span
class="cmti-10">field1</span>⟩ followed by the other field in
parentheses.
- </p><!--l. 3318--><p class="noindent" >If <span
+ </p><!--l. 3869--><p class="noindent" >If <span
class="cmtt-10">-</span>⟨<span
class="cmti-10">modifier1</span>⟩ is present, ⟨<span
class="cmti-10">field1</span>⟩ has a font-changing command applied to
it.
- </p><!--l. 3321--><p class="noindent" >Examples: </p>
+ </p><!--l. 3872--><p class="noindent" >Examples: </p>
<ul class="itemize2">
<li class="itemize"><a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-21094"></a>: short form in the text with the long form in the
+ id="dx1-22094"></a>: short form in the text with the long form in the
footnote.
</li>
<li class="itemize"><a
href="#abbrstyle.short-sc-postfootnote"><span
class="cmss-10">short-sc-postfootnote</span></a><a
- id="dx1-21095"></a>: short form in smallcaps with the long form in
+ id="dx1-22095"></a>: short form in smallcaps with the long form in
the footnote outside of the <a
- id="dx1-21096"></a>link-text.</li></ul>
- <!--l. 3329--><p class="noindent" ><div class="important" title="Important Note"> Take care with the footnote styles. Remember that there are some situations
+ id="dx1-22096"></a>link-text.</li></ul>
+ <!--l. 3880--><p class="noindent" ><div class="important" title="Important Note"> Take care with the footnote styles. Remember that there are some situations
where <span
class="cmtt-10">\footnote</span><a
- id="dx1-21097"></a> doesn’t work. </div>
- </p><!--l. 3332--><p class="noindent" >
+ id="dx1-22097"></a> doesn’t work. </div>
+ </p><!--l. 3883--><p class="noindent" >
</p></li>
<li class="itemize">⟨<span
class="cmti-10">style</span>⟩<span
class="cmtt-10">-desc</span>
- <!--l. 3336--><p class="noindent" >Like ⟨<span
+ <!--l. 3887--><p class="noindent" >Like ⟨<span
class="cmti-10">style</span>⟩ but the <span
class="cmss-10">description</span><a
- id="dx1-21098"></a> key must be provided when defining abbreviations
+ id="dx1-22098"></a> key must be provided when defining abbreviations
with this style.
- </p><!--l. 3339--><p class="noindent" >Examples: </p>
+ </p><!--l. 3890--><p class="noindent" >Examples: </p>
<ul class="itemize2">
<li class="itemize"><a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
- id="dx1-21099"></a>: like <a
+ id="dx1-22099"></a>: like <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-21100"></a> but requires a description.
+ id="dx1-22100"></a> but requires a description.
</li>
<li class="itemize"><a
href="#abbrstyle.short-em-footnote-desc"><span
class="cmss-10">short-em-footnote-desc</span></a><a
- id="dx1-21101"></a>: like <a
+ id="dx1-22101"></a>: like <a
href="#abbrstyle.short-em-footnote"><span
class="cmss-10">short-em-footnote</span></a><a
- id="dx1-21102"></a> but requires a
+ id="dx1-22102"></a> but requires a
description.</li></ul>
</li></ul>
-<!--l. 3349--><p class="indent" > Not all combinations that fit the above syntax are provided. Pre-version 1.04
+<!--l. 3900--><p class="indent" > Not all combinations that fit the above syntax are provided. Pre-version 1.04
styles that didn’t fit this naming scheme are either provided with a synonym (where
the former name wasn’t ambiguous) or provided with a deprecated synonym (where
the former name was confusing). The deprecated style names generate a warning
using:
-</p><!--l. 3355--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 3906--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrWarnDeprecatedAbbrStyle</span><span
class="cmtt-9"> </span></span><a
- id="dx1-21103"></a> <span
+ id="dx1-22103"></a> <span
class="cmtt-10">\GlsXtrWarnDeprecatedAbbrStyle</span>
<span
class="cmtt-10">{</span>⟨<span
@@ -6769,141 +8020,188 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">new-name</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 3357--><p class="noindent" >
+</p><!--l. 3908--><p class="noindent" >
where ⟨<span
class="cmti-10">old-name</span>⟩ is the deprecated name and ⟨<span
class="cmti-10">new-name</span>⟩ is the preferred name. You
can suppress these warnings by redefining this command to do nothing.
-</p><!--l. 3363--><p class="noindent" >
+</p><!--l. 3914--><p class="noindent" >
</p>
-<!--l. 3363--><p class="noindent" ><a
+<!--l. 3914--><p class="noindent" ><a
href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">3.4.1 </span> <a
id="sec:predefregabbrvstyles"></a>Predefined Abbreviation Styles that Set the Regular Attribute</h4>
-<!--l. 3366--><p class="noindent" >The following abbreviation styles set the <a
+<!--l. 3917--><p class="noindent" >The following abbreviation styles set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-22001"></a> attribute to “true” for all categories
+ id="dx1-23001"></a> attribute to “true” for all categories
that have abbreviations defined with any of these styles.
</p><dl class="description"><dt class="description">
<a
id="abbrstyle.short-nolong"></a><span
class="cmssbx-10">short-nolong</span><a
- id="dx1-22002"></a> </dt><dd
+ id="dx1-23002"></a> </dt><dd
class="description">This only displays the short form on <a
- id="dx1-22003"></a><a
+ id="dx1-23003"></a><a
href="#glo:firstuse">first use</a>. The <span
class="cmss-10">name</span><a
- id="dx1-22004"></a> is set to
+ id="dx1-23004"></a> is set to
the short form. The <span
class="cmss-10">description</span><a
- id="dx1-22005"></a> is set to the long form. The inline full form
+ id="dx1-23005"></a> is set to the long form. The inline full form
displays ⟨<span
class="cmti-10">short</span>⟩ (⟨<span
class="cmti-10">long</span>⟩). The long form on its own can be displayed through
commands like <span
class="cmtt-10">\glsxtrlong</span><a
- id="dx1-22006"></a>.
+ id="dx1-23006"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short"></a><span
class="cmssbx-10">short</span><a
- id="dx1-22007"></a> </dt><dd
+ id="dx1-23007"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22008"></a>.
+ id="dx1-23008"></a>.
</dd><dt class="description">
<a
+ id="abbrstyle.nolong-short"></a><span
+class="cmssbx-10">nolong-short</span><a
+ id="dx1-23009"></a> </dt><dd
+class="description">Like <a
+href="#abbrstyle.short-nolong"><span
+class="cmss-10">short-nolong</span></a><a
+ id="dx1-23010"></a> but the inline full form displays ⟨<span
+class="cmti-10">long</span>⟩ (⟨<span
+class="cmti-10">short</span>⟩).
+ </dd><dt class="description">
+<a
id="abbrstyle.short-sc-nolong"></a><span
class="cmssbx-10">short-sc-nolong</span><a
- id="dx1-22009"></a> </dt><dd
+ id="dx1-23011"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22010"></a> but redefines <span
+ id="dx1-23012"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-22011"></a> (which defaults to <span
+ id="dx1-23013"></a> (which defaults to <span
class="cmtt-10">\textsc</span>).
</dd><dt class="description">
<a
id="abbrstyle.short-sc"></a><span
class="cmssbx-10">short-sc</span><a
- id="dx1-22012"></a> </dt><dd
+ id="dx1-23014"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-sc-nolong"><span
class="cmss-10">short-sc-nolong</span></a><a
- id="dx1-22013"></a>
+ id="dx1-23015"></a>
</dd><dt class="description">
<a
+ id="abbrstyle.nolong-short-sc"></a><span
+class="cmssbx-10">nolong-short-sc</span><a
+ id="dx1-23016"></a> </dt><dd
+class="description">Like <a
+href="#abbrstyle.short-sc-nolong"><span
+class="cmss-10">short-sc-nolong</span></a><a
+ id="dx1-23017"></a> but the inline full form displays ⟨<span
+class="cmti-10">long</span>⟩
+ (⟨<span
+class="cmti-10">short</span>⟩).
+ </dd><dt class="description">
+<a
id="abbrstyle.short-sm-nolong"></a><span
class="cmssbx-10">short-sm-nolong</span><a
- id="dx1-22014"></a> </dt><dd
+ id="dx1-23018"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22015"></a> but redefines <span
+ id="dx1-23019"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-22016"></a> (which defaults to <span
+ id="dx1-23020"></a> (which defaults to <span
class="cmtt-10">\textsmaller</span>).
+
+
+
</dd><dt class="description">
<a
id="abbrstyle.short-sm"></a><span
class="cmssbx-10">short-sm</span><a
- id="dx1-22017"></a> </dt><dd
+ id="dx1-23021"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-sm-nolong"><span
class="cmss-10">short-sm-nolong</span></a><a
- id="dx1-22018"></a>.
+ id="dx1-23022"></a>.
</dd><dt class="description">
<a
+ id="abbrstyle.nolong-short-sm"></a><span
+class="cmssbx-10">nolong-short-sm</span><a
+ id="dx1-23023"></a> </dt><dd
+class="description">Like <a
+href="#abbrstyle.short-sm-nolong"><span
+class="cmss-10">short-sm-nolong</span></a><a
+ id="dx1-23024"></a> but the inline full form displays ⟨<span
+class="cmti-10">long</span>⟩
+ (⟨<span
+class="cmti-10">short</span>⟩).
+ </dd><dt class="description">
+<a
id="abbrstyle.short-em-nolong"></a><span
class="cmssbx-10">short-em-nolong</span><a
- id="dx1-22019"></a> </dt><dd
+ id="dx1-23025"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22020"></a> but redefines <span
+ id="dx1-23026"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-22021"></a>.
-
-
-
+ id="dx1-23027"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em"></a><span
class="cmssbx-10">short-em</span><a
- id="dx1-22022"></a> </dt><dd
+ id="dx1-23028"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-em-nolong"><span
class="cmss-10">short-em-nolong</span></a><a
- id="dx1-22023"></a>
+ id="dx1-23029"></a>
</dd><dt class="description">
<a
+ id="abbrstyle.nolong-short-em"></a><span
+class="cmssbx-10">nolong-short-em</span><a
+ id="dx1-23030"></a> </dt><dd
+class="description">Like <a
+href="#abbrstyle.short-em-nolong"><span
+class="cmss-10">short-em-nolong</span></a><a
+ id="dx1-23031"></a> but the inline full form displays ⟨<span
+class="cmti-10">long</span>⟩
+ (⟨<span
+class="cmti-10">short</span>⟩).
+ </dd><dt class="description">
+<a
id="abbrstyle.short-nolong-desc"></a><span
class="cmssbx-10">short-nolong-desc</span><a
- id="dx1-22024"></a> </dt><dd
+ id="dx1-23032"></a> </dt><dd
class="description">Like the <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22025"></a> style, but the <span
+ id="dx1-23033"></a> style, but the <span
class="cmss-10">name</span><a
- id="dx1-22026"></a> is set to the full
+ id="dx1-23034"></a> is set to the full
form and the <span
class="cmss-10">description</span><a
- id="dx1-22027"></a> must be supplied by the user. You may prefer
+ id="dx1-23035"></a> must be supplied by the user. You may prefer
to use the <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22028"></a> style with the post-description hook set to display
+ id="dx1-23036"></a> style with the post-description hook set to display
the long form and override the <span
class="cmss-10">description</span><a
- id="dx1-22029"></a> key. (See the sample file
+ id="dx1-23037"></a> key. (See the sample file
<span
class="cmtt-10">sample-acronym-desc.tex</span>.)
</dd><dt class="description">
@@ -6910,101 +8208,104 @@
<a
id="abbrstyle.short-desc"></a><span
class="cmssbx-10">short-desc</span><a
- id="dx1-22030"></a> </dt><dd
+ id="dx1-23038"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-nolong-desc"><span
class="cmss-10">short-nolong-desc</span></a><a
- id="dx1-22031"></a>.
+ id="dx1-23039"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-sc-nolong-desc"></a><span
class="cmssbx-10">short-sc-nolong-desc</span><a
- id="dx1-22032"></a> </dt><dd
+ id="dx1-23040"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-22033"></a> but redefines <span
+ id="dx1-23041"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-22034"></a> (which defaults to <span
+ id="dx1-23042"></a> (which defaults to <span
class="cmtt-10">\textsc</span>).
</dd><dt class="description">
<a
id="abbrstyle.short-sc-desc"></a><span
class="cmssbx-10">short-sc-desc</span><a
- id="dx1-22035"></a> </dt><dd
+ id="dx1-23043"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-sc-nolong-desc"><span
class="cmss-10">short-sc-nolong-desc</span></a><a
- id="dx1-22036"></a>.
+ id="dx1-23044"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-sm-nolong-desc"></a><span
class="cmssbx-10">short-sm-nolong-desc</span><a
- id="dx1-22037"></a> </dt><dd
+ id="dx1-23045"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-nolong-desc"><span
class="cmss-10">short-nolong-desc</span></a><a
- id="dx1-22038"></a> but redefines <span
+ id="dx1-23046"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to
use <span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-22039"></a> (which defaults to <span
+ id="dx1-23047"></a> (which defaults to <span
class="cmtt-10">\textsmaller</span>).
</dd><dt class="description">
<a
id="abbrstyle.short-sm-desc"></a><span
class="cmssbx-10">short-sm-desc</span><a
- id="dx1-22040"></a> </dt><dd
+ id="dx1-23048"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-sm-nolong-desc"><span
class="cmss-10">short-sm-nolong-desc</span></a><a
- id="dx1-22041"></a>.
+ id="dx1-23049"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em-nolong-desc"></a><span
class="cmssbx-10">short-em-nolong-desc</span><a
- id="dx1-22042"></a> </dt><dd
+ id="dx1-23050"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-nolong-desc"><span
class="cmss-10">short-nolong-desc</span></a><a
- id="dx1-22043"></a> but redefines <span
+ id="dx1-23051"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to
use <span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-22044"></a>.
+ id="dx1-23052"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em-desc"></a><span
class="cmssbx-10">short-em-desc</span><a
- id="dx1-22045"></a> </dt><dd
+ id="dx1-23053"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-em-nolong-desc"><span
class="cmss-10">short-em-nolong-desc</span></a><a
- id="dx1-22046"></a>.
+ id="dx1-23054"></a>.
+
+
+
</dd><dt class="description">
<a
id="abbrstyle.long-noshort-desc"></a><span
class="cmssbx-10">long-noshort-desc</span><a
- id="dx1-22047"></a> </dt><dd
+ id="dx1-23055"></a> </dt><dd
class="description">This style only displays the long form, regardless of first
or subsequent use of commands <span
class="cmtt-10">\gls</span><a
- id="dx1-22048"></a>. The short form may be accessed
+ id="dx1-23056"></a>. The short form may be accessed
through commands like <span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-22049"></a>. The inline full form displays ⟨<span
+ id="dx1-23057"></a>. The inline full form displays ⟨<span
class="cmti-10">long</span>⟩
(⟨<span
class="cmti-10">short</span>⟩).
- <!--l. 3436--><p class="noindent" >The <span
+ <!--l. 4003--><p class="noindent" >The <span
class="cmss-10">name</span><a
- id="dx1-22050"></a> and <span
+ id="dx1-23058"></a> and <span
class="cmss-10">sort</span><a
- id="dx1-22051"></a> keys are set to the long form and the <span
+ id="dx1-23059"></a> keys are set to the long form and the <span
class="cmss-10">description</span><a
- id="dx1-22052"></a> must
+ id="dx1-23060"></a> must
be provided by the user. The predefined glossary styles won’t display the
short form. You can use the post-description hook to automatically append
the short form to the description. The inline full form will display ⟨<span
@@ -7015,31 +8316,28 @@
<a
id="abbrstyle.long-desc"></a><span
class="cmssbx-10">long-desc</span><a
- id="dx1-22053"></a> </dt><dd
+ id="dx1-23061"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-22054"></a>.
-
-
-
+ id="dx1-23062"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-noshort-sc-desc"></a><span
class="cmssbx-10">long-noshort-sc-desc</span><a
- id="dx1-22055"></a> </dt><dd
+ id="dx1-23063"></a> </dt><dd
class="description">Like the <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-22056"></a> style but the short form
+ id="dx1-23064"></a> style but the short form
(accessed through commands like <span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-22057"></a>) use <span
+ id="dx1-23065"></a>) use <span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-22058"></a>.
+ id="dx1-23066"></a>.
(This style was originally called <span
class="cmss-10">long-desc-sc</span><a
- id="dx1-22059"></a>. Renamed in version
+ id="dx1-23067"></a>. Renamed in version
1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -7046,17 +8344,17 @@
<a
id="abbrstyle.long-noshort-sm-desc"></a><span
class="cmssbx-10">long-noshort-sm-desc</span><a
- id="dx1-22060"></a> </dt><dd
+ id="dx1-23068"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-22061"></a> but redefines <span
+ id="dx1-23069"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to
use <span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-22062"></a>. (This style was originally called <span
+ id="dx1-23070"></a>. (This style was originally called <span
class="cmss-10">long-desc-sm</span><a
- id="dx1-22063"></a>.
+ id="dx1-23071"></a>.
Renamed in version 1.04, but original name retained as a deprecated
synonym for backward-compatibility.)
</dd><dt class="description">
@@ -7063,97 +8361,100 @@
<a
id="abbrstyle.long-noshort-em-desc"></a><span
class="cmssbx-10">long-noshort-em-desc</span><a
- id="dx1-22064"></a> </dt><dd
+ id="dx1-23072"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-22065"></a> but redefines <span
+ id="dx1-23073"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to
use <span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-22066"></a>. The long form isn’t emphasized. (This style was
+ id="dx1-23074"></a>. The long form isn’t emphasized. (This style was
originally called <span
class="cmss-10">long-desc-em</span><a
- id="dx1-22067"></a>. Renamed in version 1.04, but original name
+ id="dx1-23075"></a>. Renamed in version 1.04, but original name
retained as a deprecated synonym for backward-compatibility.)
</dd><dt class="description">
<a
id="abbrstyle.long-em-noshort-em-desc"></a><span
class="cmssbx-10">long-em-noshort-em-desc</span><a
- id="dx1-22068"></a> </dt><dd
+ id="dx1-23076"></a> </dt><dd
class="description">New to version 1.04, like <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-22069"></a> but
+ id="dx1-23077"></a> but
redefines <span
class="cmtt-10">\glsabbrvfont </span>to use <span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-22070"></a>. The long form uses
+ id="dx1-23078"></a>. The long form uses
<span
class="cmtt-10">\glsfirstlongemfont</span><a
- id="dx1-22071"></a> and <span
+ id="dx1-23079"></a> and <span
class="cmtt-10">\glslongemfont</span><a
- id="dx1-22072"></a>.
+ id="dx1-23080"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-noshort"></a><span
class="cmssbx-10">long-noshort</span><a
- id="dx1-22073"></a> </dt><dd
+ id="dx1-23081"></a> </dt><dd
class="description">This style doesn’t really make sense if you don’t use the short
form anywhere in the document, but is provided for completeness. This is
like the <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-22074"></a> style, but the <span
+ id="dx1-23082"></a> style, but the <span
class="cmss-10">name</span><a
- id="dx1-22075"></a> and <span
+ id="dx1-23083"></a> and <span
class="cmss-10">sort</span><a
- id="dx1-22076"></a> keys are set to the
+ id="dx1-23084"></a> keys are set to the
short form and the <span
class="cmss-10">description</span><a
- id="dx1-22077"></a> is set to the long form.
+ id="dx1-23085"></a> is set to the long form.
</dd><dt class="description">
<a
id="abbrstyle.long"></a><span
class="cmssbx-10">long</span><a
- id="dx1-22078"></a> </dt><dd
+ id="dx1-23086"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-22079"></a>
+ id="dx1-23087"></a>
+
+
+
</dd><dt class="description">
<a
id="abbrstyle.long-noshort-sc"></a><span
class="cmssbx-10">long-noshort-sc</span><a
- id="dx1-22080"></a> </dt><dd
+ id="dx1-23088"></a> </dt><dd
class="description">Like the <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-22081"></a> style but the short form (accessed through
+ id="dx1-23089"></a> style but the short form (accessed through
commands like <span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-22082"></a>) use <span
+ id="dx1-23090"></a>) use <span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-22083"></a>. (This style was
+ id="dx1-23091"></a>. (This style was
originally called <span
class="cmss-10">long-sc</span><a
- id="dx1-22084"></a>. Renamed in version 1.04, but original name
+ id="dx1-23092"></a>. Renamed in version 1.04, but original name
retained as a deprecated synonym for backward-compatibility.)
</dd><dt class="description">
<a
id="abbrstyle.long-noshort-sm"></a><span
class="cmssbx-10">long-noshort-sm</span><a
- id="dx1-22085"></a> </dt><dd
+ id="dx1-23093"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-22086"></a> but redefines <span
+ id="dx1-23094"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-22087"></a>. (This style was originally called <span
+ id="dx1-23095"></a>. (This style was originally called <span
class="cmss-10">long-sm</span><a
- id="dx1-22088"></a>. Renamed in
+ id="dx1-23096"></a>. Renamed in
version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -7160,35 +8461,32 @@
<a
id="abbrstyle.long-noshort-em"></a><span
class="cmssbx-10">long-noshort-em</span><a
- id="dx1-22089"></a> </dt><dd
+ id="dx1-23097"></a> </dt><dd
class="description">This style is like <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-22090"></a> but redefines <span
+ id="dx1-23098"></a> but redefines <span
class="cmtt-10">\glsabbrvfont</span>
to use <span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-22091"></a>. The long form isn’t emphasized. (This style
+ id="dx1-23099"></a>. The long form isn’t emphasized. (This style
was originally called <span
class="cmss-10">long-em</span><a
- id="dx1-22092"></a>. Renamed in version 1.04, but original name
+ id="dx1-23100"></a>. Renamed in version 1.04, but original name
retained as a deprecated synonym for backward-compatibility.)
-
-
-
</dd><dt class="description">
<a
id="abbrstyle.long-em-noshort-em"></a><span
class="cmssbx-10">long-em-noshort-em</span><a
- id="dx1-22093"></a> </dt><dd
+ id="dx1-23101"></a> </dt><dd
class="description">New to version 1.04, this style is like <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-22094"></a> but
+ id="dx1-23102"></a> but
redefines <span
class="cmtt-10">\glsabbrvfont </span>to use <span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-22095"></a>, <span
+ id="dx1-23103"></a>, <span
class="cmtt-10">\glsfirstlongfont</span>
to use <span
class="cmtt-10">\glsfirstlongemfont </span>and <span
@@ -7196,27 +8494,27 @@
class="cmtt-10">\glslongemfont</span>.
The short form isn’t used by commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-22096"></a>, but can be obtained
+ id="dx1-23104"></a>, but can be obtained
using <span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-22097"></a>. The related style <a
+ id="dx1-23105"></a>. The related style <a
id="abbrstyle.long-em-noshort-em-noreg"></a><span
class="cmss-10">long-em-noshort-em-noreg</span><a
- id="dx1-22098"></a> doesn’t
+ id="dx1-23106"></a> doesn’t
set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-22099"></a> attribute.
+ id="dx1-23107"></a> attribute.
</dd></dl>
-<!--l. 3515--><p class="noindent" >
+<!--l. 4082--><p class="noindent" >
</p>
-<!--l. 3515--><p class="noindent" ><a
+<!--l. 4082--><p class="noindent" ><a
href="#top">Top</a><h4 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">3.4.2 </span> <a
id="sec:predefnonregabbrvstyles"></a>Predefined Abbreviation Styles that Don’t Set the Regular Attribute</h4>
-<!--l. 3518--><p class="noindent" >The following abbreviation styles will set the <a
+<!--l. 4085--><p class="noindent" >The following abbreviation styles will set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23001"></a> attribute to “false” if it has
+ id="dx1-24001"></a> attribute to “false” if it has
previously been set. If it hasn’t already been set, it’s left unset. Other attributes may
also be set, depending on the style.
</p><dl class="description"><dt class="description">
@@ -7223,24 +8521,24 @@
<a
id="abbrstyle.long-short"></a><span
class="cmssbx-10">long-short</span><a
- id="dx1-23002"></a> </dt><dd
+ id="dx1-24002"></a> </dt><dd
class="description">On <a
- id="dx1-23003"></a><a
+ id="dx1-24003"></a><a
href="#glo:firstuse">first use</a>, this style uses the format ⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩). The inline
and display full forms are the same. The <span
class="cmss-10">name</span><a
- id="dx1-23004"></a> and <span
+ id="dx1-24004"></a> and <span
class="cmss-10">sort</span><a
- id="dx1-23005"></a> keys are
+ id="dx1-24005"></a> keys are
set to the short form. (The <span
class="cmss-10">name</span><a
- id="dx1-23006"></a> key additionally includes the font
+ id="dx1-24006"></a> key additionally includes the font
command <span
class="cmtt-10">\glsabbrvfont</span>.) The <span
class="cmss-10">description</span><a
- id="dx1-23007"></a> is set to the long form. The
+ id="dx1-24007"></a> is set to the long form. The
long and short forms are separated by <span
class="cmtt-10">\glsxtrfullsep</span>. If you want to
insert material within the parentheses (such as a translation), try the
@@ -7247,121 +8545,121 @@
<a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23008"></a> style.
+ id="dx1-24008"></a> style.
+
+
+
</dd><dt class="description">
<a
id="abbrstyle.long-short-sc"></a><span
class="cmssbx-10">long-short-sc</span><a
- id="dx1-23009"></a> </dt><dd
+ id="dx1-24009"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-23010"></a> but redefines <span
+ id="dx1-24010"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-23011"></a>.
+ id="dx1-24011"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-short-sm"></a><span
class="cmssbx-10">long-short-sm</span><a
- id="dx1-23012"></a> </dt><dd
+ id="dx1-24012"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-23013"></a> but redefines <span
+ id="dx1-24013"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-23014"></a>.
+ id="dx1-24014"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-short-em"></a><span
class="cmssbx-10">long-short-em</span><a
- id="dx1-23015"></a> </dt><dd
+ id="dx1-24015"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-23016"></a> but redefines <span
+ id="dx1-24016"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-23017"></a>.
+ id="dx1-24017"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-em-short-em"></a><span
class="cmssbx-10">long-em-short-em</span><a
- id="dx1-23018"></a> </dt><dd
+ id="dx1-24018"></a> </dt><dd
class="description">New to version 1.04, this style is like <a
href="#abbrstyle.long-short-em"><span
class="cmss-10">long-short-em</span></a><a
- id="dx1-23019"></a> but
+ id="dx1-24019"></a> but
redefines <span
class="cmtt-10">\glsfirstlongfont </span>to use <span
class="cmtt-10">\glsfirstlongemfont</span><a
- id="dx1-23020"></a>.
+ id="dx1-24020"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-only-short-only"></a><span
class="cmssbx-10">long-only-short-only</span><a
- id="dx1-23021"></a> </dt><dd
+ id="dx1-24021"></a> </dt><dd
class="description">New to version 1.17, this style only shows the long form
on first use and only shows the short form on subsequent use. The inline
full form <span
class="cmtt-10">\glsxtrfull </span>shows the long form followed by the short form in
parentheses.
-
-
-
</dd><dt class="description">
<a
id="abbrstyle.long-only-short-only-desc"></a><span
class="cmssbx-10">long-only-short-only-desc</span><a
- id="dx1-23022"></a> </dt><dd
+ id="dx1-24022"></a> </dt><dd
class="description">New to version 1.17, this style is like
<a
href="#abbrstyle.long-only-short-only"><span
class="cmss-10">long-only-short-only</span></a><a
- id="dx1-23023"></a> but the user must supply the description.
+ id="dx1-24023"></a> but the user must supply the description.
</dd><dt class="description">
<a
id="abbrstyle.long-em-noshort-em-noreg"></a><span
class="cmssbx-10">long-em-noshort-em-noreg</span><a
- id="dx1-23024"></a> </dt><dd
+ id="dx1-24024"></a> </dt><dd
class="description">New to version 1.17, this style is like
<a
href="#abbrstyle.long-em-noshort-em"><span
class="cmss-10">long-em-noshort-em</span></a><a
- id="dx1-23025"></a> but doesn’t set the <a
+ id="dx1-24025"></a> but doesn’t set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23026"></a> attribute.
+ id="dx1-24026"></a> attribute.
</dd><dt class="description">
<a
id="abbrstyle.long-short-user"></a><span
class="cmssbx-10">long-short-user</span><a
- id="dx1-23027"></a> </dt><dd
+ id="dx1-24027"></a> </dt><dd
class="description">This style was introduced in version 1.04. It’s like the <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-23028"></a> style
+ id="dx1-24028"></a> style
but additional information can be inserted into the parenthetical material. This
checks the value of the field given by
- <!--l. 3572--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 4139--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtruserfield</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23029"></a> <span
+ id="dx1-24029"></a> <span
class="cmtt-10">\glsxtruserfield </span></div><hr>
- </p><!--l. 3574--><p class="noindent" >
+ </p><!--l. 4141--><p class="noindent" >
(which defaults to <span
class="cmtt-10">useri</span>) using <span
class="cmtt-10">\ifglshasfield</span><a
- id="dx1-23030"></a> (provided by <span
+ id="dx1-24030"></a> (provided by <span
class="cmss-10">glossaries</span>). If the
field hasn’t been set, the style behaves like the <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-23031"></a> style and produces
+ id="dx1-24031"></a> style and produces
⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩) but if the field has been set, the contents of that field are inserted
@@ -7370,30 +8668,33 @@
class="cmti-10">short</span>⟩, ⟨<span
class="cmti-10">field-value</span>⟩). The format is
governed by
- </p><!--l. 3582--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ </p><!--l. 4149--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtruserparen</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23032"></a> <span
+ id="dx1-24032"></a> <span
class="cmtt-10">\glsxtruserparen{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 3584--><p class="noindent" >
+ </p><!--l. 4151--><p class="noindent" >
where ⟨<span
class="cmti-10">text</span>⟩ is the short form (for the <a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23033"></a> style) or the long form (for
+ id="dx1-24033"></a> style) or the long form (for
the <a
href="#abbrstyle.short-long-user"><span
class="cmss-10">short-long-user</span></a><a
- id="dx1-23034"></a> style). This command first inserts a space using
+ id="dx1-24034"></a> style). This command first inserts a space using
<span
class="cmtt-10">\glsxtrfullsep </span>and then the parenthetical content (using <span
class="cmtt-10">\glsxtrparen</span><a
- id="dx1-23035"></a>).
- </p><!--l. 3591--><p class="noindent" >The ⟨<span
+ id="dx1-24035"></a>).
+
+
+
+ </p><!--l. 4158--><p class="noindent" >The ⟨<span
class="cmti-10">text</span>⟩ argument includes the font formatting command, <span
class="cmtt-10">\glsfirstabbrvfont</span>
<span
@@ -7402,7 +8703,7 @@
class="cmtt-10">} </span>in the case of the <a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23036"></a> style and <span
+ id="dx1-24036"></a> style and <span
class="cmtt-10">\glsfirstlongfont{</span>⟨<span
class="cmti-10">long</span>⟩<span
class="cmtt-10">}</span>
@@ -7409,13 +8710,13 @@
in the case of the <a
href="#abbrstyle.short-long-user"><span
class="cmss-10">short-long-user</span></a><a
- id="dx1-23037"></a> style.
- </p><!--l. 3597--><p class="noindent" >For example:
+ id="dx1-24037"></a> style.
+ </p><!--l. 4164--><p class="noindent" >For example:
</p>
- <div class="verbatim" id="verbatim-89">
+ <div class="verbatim" id="verbatim-111">
\setabbreviationstyle[acronym]{long-short-user}
 <br />\newacronym{tug}{TUG}{\TeX\ User Group}
 <br />\newacronym
@@ -7422,112 +8723,112 @@
 <br /> [user1={German Speaking \TeX\ User Group}]
 <br /> {dante}{DANTE}{Deutschsprachige Anwendervereinigung \TeX\ e.V}
</div>
- <!--l. 3607--><p class="nopar" > On first use, <span class="obeylines-h"><span class="verb"><span
+ <!--l. 4174--><p class="nopar" > On first use, <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{tug}</span></span></span> will appear as:
</p><div class="quote">
- <!--l. 3610--><p class="noindent" ><span class="TEX">T<span
+ <!--l. 4177--><p class="noindent" ><span class="TEX">T<span
class="E">E</span>X</span> User Group (TUG)</p></div>
- <!--l. 3612--><p class="noindent" >whereas <span class="obeylines-h"><span class="verb"><span
+ <!--l. 4179--><p class="noindent" >whereas <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{dante}</span></span></span> will appear as:
</p><div class="quote">
- <!--l. 3614--><p class="noindent" >Deutschsprachige Anwendervereinigung <span class="TEX">T<span
+ <!--l. 4181--><p class="noindent" >Deutschsprachige Anwendervereinigung <span class="TEX">T<span
class="E">E</span>X</span> e.V (DANTE,
German Speaking <span class="TEX">T<span
class="E">E</span>X</span> User Group)</p></div>
- <!--l. 3617--><p class="noindent" >The short form is formatted according to
- </p><!--l. 3618--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 4184--><p class="noindent" >The short form is formatted according to
+ </p><!--l. 4185--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvuserfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23038"></a> <span
+ id="dx1-24038"></a> <span
class="cmtt-10">\glsabbrvuserfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 3620--><p class="noindent" >
+ </p><!--l. 4187--><p class="noindent" >
and the plural suffix is given by
- </p><!--l. 3622--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ </p><!--l. 4189--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrusersuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23039"></a> <span
+ id="dx1-24039"></a> <span
class="cmtt-10">\glsxtrusersuffix </span></div><hr>
- </p><!--l. 3624--><p class="noindent" >
- </p><!--l. 3626--><p class="noindent" >These may be redefined as appropriate. For example, if you want a smallcaps
+ </p><!--l. 4191--><p class="noindent" >
+ </p><!--l. 4193--><p class="noindent" >These may be redefined as appropriate. For example, if you want a smallcaps
style, you can just set these commands to those used by the <a
href="#abbrstyle.long-short-sc"><span
class="cmss-10">long-short-sc</span></a><a
- id="dx1-23040"></a>
+ id="dx1-24040"></a>
style:
</p>
- <div class="verbatim" id="verbatim-90">
+ <div class="verbatim" id="verbatim-112">
\renewcommand{\glsabbruserfont}[1]{\glsabbrvscfont{#1}}
 <br />\renewcommand{\glsxtrusersuffix}{\glsxtrscsuffix}
</div>
- <!--l. 3632--><p class="nopar" >
+ <!--l. 4199--><p class="nopar" >
</p></dd><dt class="description">
<a
id="abbrstyle.long-noshort-noreg"></a><span
class="cmssbx-10">long-noshort-noreg</span><a
- id="dx1-23041"></a> </dt><dd
+ id="dx1-24041"></a> </dt><dd
class="description">This style is like <a
href="#abbrstyle.long-noshort"><span
class="cmss-10">long-noshort</span></a><a
- id="dx1-23042"></a> but it doesn’t set the <a
+ id="dx1-24042"></a> but it doesn’t set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23043"></a>
+ id="dx1-24043"></a>
attribute.
</dd><dt class="description">
<a
id="abbrstyle.long-noshort-desc-noreg"></a><span
class="cmssbx-10">long-noshort-desc-noreg</span><a
- id="dx1-23044"></a> </dt><dd
+ id="dx1-24044"></a> </dt><dd
class="description">This style is like <a
href="#abbrstyle.long-noshort-desc"><span
class="cmss-10">long-noshort-desc</span></a><a
- id="dx1-23045"></a> but it doesn’t set the
+ id="dx1-24045"></a> but it doesn’t set the
<a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23046"></a> attribute.
+ id="dx1-24046"></a> attribute.
</dd><dt class="description">
<a
id="abbrstyle.long-short-desc"></a><span
class="cmssbx-10">long-short-desc</span><a
- id="dx1-23047"></a> </dt><dd
+ id="dx1-24047"></a> </dt><dd
class="description">On <a
- id="dx1-23048"></a><a
+ id="dx1-24048"></a><a
href="#glo:firstuse">first use</a>, this style uses the format ⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩). The
inline and display full forms are the same. The <span
class="cmss-10">name</span><a
- id="dx1-23049"></a> is set to the full
+ id="dx1-24049"></a> is set to the full
form. The <span
class="cmss-10">sort</span><a
- id="dx1-23050"></a> key is set to ⟨<span
+ id="dx1-24050"></a> key is set to ⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩). Before version 1.04, this was
incorrectly set to the short form. If you want to revert back to this you can
redefine
- <!--l. 3649--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 4216--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrlongshortdescsort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23051"></a> <span
+ id="dx1-24051"></a> <span
class="cmtt-10">\glsxtrlongshortdescsort </span></div><hr>
- </p><!--l. 3651--><p class="noindent" >
+ </p><!--l. 4218--><p class="noindent" >
For example:
</p>
- <div class="verbatim" id="verbatim-91">
+ <div class="verbatim" id="verbatim-113">
\renewcommand*{\glsxtrlongshortdescsort}{\the\glsshorttok}
</div>
- <!--l. 3655--><p class="nopar" > The <span
+ <!--l. 4222--><p class="nopar" > The <span
class="cmss-10">description</span><a
- id="dx1-23052"></a> must be supplied by the user. The long and short forms are
+ id="dx1-24052"></a> must be supplied by the user. The long and short forms are
separated by <span
class="cmtt-10">\glsxtrfullsep</span>.
</p></dd><dt class="description">
@@ -7534,205 +8835,217 @@
<a
id="abbrstyle.long-short-sc-desc"></a><span
class="cmssbx-10">long-short-sc-desc</span><a
- id="dx1-23053"></a> </dt><dd
+ id="dx1-24053"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-23054"></a> but redefines <span
+ id="dx1-24054"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-23055"></a>.
+ id="dx1-24055"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-short-sm-desc"></a><span
class="cmssbx-10">long-short-sm-desc</span><a
- id="dx1-23056"></a> </dt><dd
+ id="dx1-24056"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-23057"></a> but redefines <span
+ id="dx1-24057"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-23058"></a>.
+ id="dx1-24058"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-short-em-desc"></a><span
class="cmssbx-10">long-short-em-desc</span><a
- id="dx1-23059"></a> </dt><dd
+ id="dx1-24059"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-23060"></a> but redefines <span
+ id="dx1-24060"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-23061"></a>.
+ id="dx1-24061"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-em-short-em-desc"></a><span
class="cmssbx-10">long-em-short-em-desc</span><a
- id="dx1-23062"></a> </dt><dd
+ id="dx1-24062"></a> </dt><dd
class="description">New to version 1.04, this style is like <a
href="#abbrstyle.long-short-em-desc"><span
class="cmss-10">long-short-em-desc</span></a><a
- id="dx1-23063"></a> but
+ id="dx1-24063"></a> but
redefines <span
class="cmtt-10">\glsfirstlongfont </span>to use <span
class="cmtt-10">\glsfirstlongemfont</span><a
- id="dx1-23064"></a>.
+ id="dx1-24064"></a>.
</dd><dt class="description">
<a
id="abbrstyle.long-em-noshort-em-desc-noreg"></a><span
class="cmssbx-10">long-em-noshort-em-desc-noreg</span><a
- id="dx1-23065"></a> </dt><dd
+ id="dx1-24065"></a> </dt><dd
class="description">New to version 1.17, this style is like
<a
href="#abbrstyle.long-em-noshort-em-desc"><span
class="cmss-10">long-em-noshort-em-desc</span></a><a
- id="dx1-23066"></a> but doesn’t set the <a
+ id="dx1-24066"></a> but doesn’t set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23067"></a> attribute.
+ id="dx1-24067"></a> attribute.
</dd><dt class="description">
<a
id="abbrstyle.long-short-user-desc"></a><span
class="cmssbx-10">long-short-user-desc</span><a
- id="dx1-23068"></a> </dt><dd
+ id="dx1-24068"></a> </dt><dd
class="description">New to version 1.04, this style is like a cross between the
<a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-23069"></a> style and the <a
+ id="dx1-24069"></a> style and the <a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23070"></a> style. The display and inline forms
+ id="dx1-24070"></a> style. The display and inline forms
are as for <a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23071"></a> and the <span
+ id="dx1-24071"></a> and the <span
class="cmss-10">name</span><a
- id="dx1-23072"></a> key is as <a
+ id="dx1-24072"></a> key is as <a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-23073"></a>. The <span
+ id="dx1-24073"></a>. The <span
class="cmss-10">description</span><a
- id="dx1-23074"></a>
+ id="dx1-24074"></a>
key must be supplied in the optional argument of <span
class="cmtt-10">\newabbreviation </span>(or
<span
class="cmtt-10">\newacronym</span>). The <span
class="cmss-10">sort</span><a
- id="dx1-23075"></a> key is set to ⟨<span
+ id="dx1-24075"></a> key is set to ⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩) as per the <a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-23076"></a>
+ id="dx1-24076"></a>
style.
</dd><dt class="description">
<a
id="abbrstyle.short-nolong-noreg"></a><span
class="cmssbx-10">short-nolong-noreg</span><a
- id="dx1-23077"></a> </dt><dd
+ id="dx1-24077"></a> </dt><dd
class="description">This is like <a
href="#abbrstyle.short-nolong"><span
class="cmss-10">short-nolong</span></a><a
- id="dx1-23078"></a> but doesn’t set the <a
+ id="dx1-24078"></a> but doesn’t set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23079"></a> attribute.
+ id="dx1-24079"></a> attribute.
</dd><dt class="description">
<a
+ id="abbrstyle.nolong-short-noreg"></a><span
+class="cmssbx-10">nolong-short-noreg</span><a
+ id="dx1-24080"></a> </dt><dd
+class="description">This is like <a
+href="#abbrstyle.nolong-short"><span
+class="cmss-10">nolong-short</span></a><a
+ id="dx1-24081"></a> but doesn’t set the <a
+href="#catattr.regular"><span
+class="cmss-10">regular</span></a><a
+ id="dx1-24082"></a> attribute.
+ </dd><dt class="description">
+<a
id="abbrstyle.short-long"></a><span
class="cmssbx-10">short-long</span><a
- id="dx1-23080"></a> </dt><dd
+ id="dx1-24083"></a> </dt><dd
class="description">On <a
- id="dx1-23081"></a><a
+ id="dx1-24084"></a><a
href="#glo:firstuse">first use</a>, this style uses the format ⟨<span
class="cmti-10">short</span>⟩ (⟨<span
class="cmti-10">long</span>⟩). The inline and
display full forms are the same. The <span
class="cmss-10">name</span><a
- id="dx1-23082"></a> and <span
+ id="dx1-24085"></a> and <span
class="cmss-10">sort</span><a
- id="dx1-23083"></a> keys are set to the
+ id="dx1-24086"></a> keys are set to the
short form. The <span
class="cmss-10">description</span><a
- id="dx1-23084"></a> is set to the long form. The short and long
+ id="dx1-24087"></a> is set to the long form. The short and long
+
+
+
forms are separated by <span
class="cmtt-10">\glsxtrfullsep</span>. If you want to insert material
within the parentheses (such as a translation), try the <a
href="#abbrstyle.short-long-user"><span
class="cmss-10">short-long-user</span></a><a
- id="dx1-23085"></a>
+ id="dx1-24088"></a>
style.
-
-
-
</dd><dt class="description">
<a
id="abbrstyle.short-sc-long"></a><span
class="cmssbx-10">short-sc-long</span><a
- id="dx1-23086"></a> </dt><dd
+ id="dx1-24089"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-23087"></a> but redefines <span
+ id="dx1-24090"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use <span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-23088"></a>.
+ id="dx1-24091"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-sm-long"></a><span
class="cmssbx-10">short-sm-long</span><a
- id="dx1-23089"></a> </dt><dd
+ id="dx1-24092"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-23090"></a> but redefines <span
+ id="dx1-24093"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use <span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-23091"></a>.
+ id="dx1-24094"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em-long"></a><span
class="cmssbx-10">short-em-long</span><a
- id="dx1-23092"></a> </dt><dd
+ id="dx1-24095"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-23093"></a> but redefines <span
+ id="dx1-24096"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use <span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-23094"></a>.
+ id="dx1-24097"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em-long-em"></a><span
class="cmssbx-10">short-em-long-em</span><a
- id="dx1-23095"></a> </dt><dd
+ id="dx1-24098"></a> </dt><dd
class="description">New to version 1.04, this style is like <a
href="#abbrstyle.short-em-long"><span
class="cmss-10">short-em-long</span></a><a
- id="dx1-23096"></a> but redefines
+ id="dx1-24099"></a> but redefines
<span
class="cmtt-10">\glsfirstlongfont </span>to use <span
class="cmtt-10">\glsfirstlongemfont</span><a
- id="dx1-23097"></a>.
+ id="dx1-24100"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-long-user"></a><span
class="cmssbx-10">short-long-user</span><a
- id="dx1-23098"></a> </dt><dd
+ id="dx1-24101"></a> </dt><dd
class="description">New to version 1.04. This style is like the <a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23099"></a>
+ id="dx1-24102"></a>
style but with the long and short forms switched. The parenthetical
material is governed by the same command <span
class="cmtt-10">\glsxtruserparen</span><a
- id="dx1-23100"></a>, but
+ id="dx1-24103"></a>, but
the first argument supplied to it is the long form instead of the short
form.
</dd><dt class="description">
@@ -7739,30 +9052,30 @@
<a
id="abbrstyle.short-nolong-desc-noreg"></a><span
class="cmssbx-10">short-nolong-desc-noreg</span><a
- id="dx1-23101"></a> </dt><dd
+ id="dx1-24104"></a> </dt><dd
class="description">This style is like <a
href="#abbrstyle.short-nolong-desc"><span
class="cmss-10">short-nolong-desc</span></a><a
- id="dx1-23102"></a> but it doesn’t set the
+ id="dx1-24105"></a> but it doesn’t set the
<a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-23103"></a> attribute.
+ id="dx1-24106"></a> attribute.
</dd><dt class="description">
<a
id="abbrstyle.short-long-desc"></a><span
class="cmssbx-10">short-long-desc</span><a
- id="dx1-23104"></a> </dt><dd
+ id="dx1-24107"></a> </dt><dd
class="description">On <a
- id="dx1-23105"></a><a
+ id="dx1-24108"></a><a
href="#glo:firstuse">first use</a>, this style uses the format ⟨<span
class="cmti-10">short</span>⟩ (⟨<span
class="cmti-10">long</span>⟩). The inline and
display full forms are the same. The <span
class="cmss-10">name</span><a
- id="dx1-23106"></a> is set to the full form. The <span
+ id="dx1-24109"></a> is set to the full form. The <span
class="cmss-10">description</span><a
- id="dx1-23107"></a>
+ id="dx1-24110"></a>
must be supplied by the user. The short and long forms are separated by
<span
class="cmtt-10">\glsxtrfullsep</span>.
@@ -7770,81 +9083,81 @@
<a
id="abbrstyle.short-sc-long-desc"></a><span
class="cmssbx-10">short-sc-long-desc</span><a
- id="dx1-23108"></a> </dt><dd
+ id="dx1-24111"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
- id="dx1-23109"></a> but redefines <span
+ id="dx1-24112"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-23110"></a>.
+ id="dx1-24113"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-sm-long-desc"></a><span
class="cmssbx-10">short-sm-long-desc</span><a
- id="dx1-23111"></a> </dt><dd
+ id="dx1-24114"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
- id="dx1-23112"></a> but redefines <span
+ id="dx1-24115"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-23113"></a>.
+ id="dx1-24116"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em-long-desc"></a><span
class="cmssbx-10">short-em-long-desc</span><a
- id="dx1-23114"></a> </dt><dd
+ id="dx1-24117"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
- id="dx1-23115"></a> but redefines <span
+ id="dx1-24118"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-23116"></a>.
+ id="dx1-24119"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-em-long-em-desc"></a><span
class="cmssbx-10">short-em-long-em-desc</span><a
- id="dx1-23117"></a> </dt><dd
+ id="dx1-24120"></a> </dt><dd
class="description">New to version 1.04, this style is like <a
href="#abbrstyle.short-em-long-desc"><span
class="cmss-10">short-em-long-desc</span></a><a
- id="dx1-23118"></a> but
+ id="dx1-24121"></a> but
redefines <span
class="cmtt-10">\glsfirstlongfont </span>to use <span
class="cmtt-10">\glsfirstlongemfont</span><a
- id="dx1-23119"></a>.
+ id="dx1-24122"></a>.
+
+
+
</dd><dt class="description">
<a
id="abbrstyle.short-long-user-desc"></a><span
class="cmssbx-10">short-long-user-desc</span><a
- id="dx1-23120"></a> </dt><dd
+ id="dx1-24123"></a> </dt><dd
class="description">New to version 1.04, this style is like a cross between the
<a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
- id="dx1-23121"></a> style and the <a
+ id="dx1-24124"></a> style and the <a
href="#abbrstyle.short-long-user"><span
class="cmss-10">short-long-user</span></a><a
- id="dx1-23122"></a> style. The display and inline forms
+ id="dx1-24125"></a> style. The display and inline forms
are as for <a
href="#abbrstyle.short-long-user"><span
class="cmss-10">short-long-user</span></a><a
- id="dx1-23123"></a> and the <span
+ id="dx1-24126"></a> and the <span
class="cmss-10">name</span><a
- id="dx1-23124"></a> key is as <a
+ id="dx1-24127"></a> key is as <a
href="#abbrstyle.short-long-desc"><span
class="cmss-10">short-long-desc</span></a><a
- id="dx1-23125"></a>. The <span
+ id="dx1-24128"></a>. The <span
class="cmss-10">description</span><a
- id="dx1-23126"></a>
-
-
-
+ id="dx1-24129"></a>
key must be supplied in the optional argument of <span
class="cmtt-10">\newabbreviation </span>(or
<span
@@ -7853,63 +9166,63 @@
<a
id="abbrstyle.short-footnote"></a><span
class="cmssbx-10">short-footnote</span><a
- id="dx1-23127"></a> </dt><dd
+ id="dx1-24130"></a> </dt><dd
class="description">On <a
- id="dx1-23128"></a><a
+ id="dx1-24131"></a><a
href="#glo:firstuse">first use</a>, this style displays the short form with the long form as
a footnote. This style automatically sets the <a
href="#catattr.nohyperfirst"><span
class="cmss-10">nohyperfirst</span></a><a
- id="dx1-23129"></a> attribute to “true” for
+ id="dx1-24132"></a> attribute to “true” for
the supplied category, so the <a
- id="dx1-23130"></a>first use won’t be hyperlinked (but the footnote
+ id="dx1-24133"></a>first use won’t be hyperlinked (but the footnote
marker may be, if the <span
class="cmss-10">hyperref</span><a
- id="dx1-23131"></a> package is used).
- <!--l. 3771--><p class="noindent" >The inline full form uses the ⟨<span
+ id="dx1-24134"></a> package is used).
+ <!--l. 4342--><p class="noindent" >The inline full form uses the ⟨<span
class="cmti-10">short</span>⟩ (⟨<span
class="cmti-10">long</span>⟩) style. The <span
class="cmss-10">name</span><a
- id="dx1-23132"></a> is set to the short
+ id="dx1-24135"></a> is set to the short
form. The <span
class="cmss-10">description</span><a
- id="dx1-23133"></a> is set to the long form.
- </p><!--l. 3775--><p class="noindent" >As from version 1.05, all the footnote styles use:
- </p><!--l. 3776--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-24136"></a> is set to the long form.
+ </p><!--l. 4346--><p class="noindent" >As from version 1.05, all the footnote styles use:
+ </p><!--l. 4347--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlongfootnotefont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23134"></a> <span
+ id="dx1-24137"></a> <span
class="cmtt-10">\glsfirstlongfootnotefont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
- </p><!--l. 3778--><p class="noindent" >
+ </p><!--l. 4349--><p class="noindent" >
to format the long form on <a
- id="dx1-23135"></a>first use or for the full form and
- </p><!--l. 3780--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-24138"></a>first use or for the full form and
+ </p><!--l. 4351--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongfootnotefont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23136"></a> <span
+ id="dx1-24139"></a> <span
class="cmtt-10">\glslongfootnotefont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 3782--><p class="noindent" >
+ </p><!--l. 4353--><p class="noindent" >
to format the long form elsewhere (for example, when used with <span
class="cmtt-10">\glsxtrlong</span>).
- </p><!--l. 3786--><p class="noindent" >As from version 1.07, all the footnote styles use:
- </p><!--l. 3787--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ </p><!--l. 4357--><p class="noindent" >As from version 1.07, all the footnote styles use:
+ </p><!--l. 4358--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrabbrvfootnote</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23137"></a> <span
+ id="dx1-24140"></a> <span
class="cmtt-10">\glsxtrabbrvfootnote{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">long</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 3789--><p class="noindent" >
+ </p><!--l. 4360--><p class="noindent" >
By default, this just does <span
class="cmtt-10">\footnote</span><a
- id="dx1-23138"></a><span
+ id="dx1-24141"></a><span
class="cmtt-10">{</span>⟨<span
class="cmti-10">long</span>⟩<span
class="cmtt-10">} </span>(the first argument is ignored). For
@@ -7919,22 +9232,22 @@
</p>
- <div class="verbatim" id="verbatim-92">
+ <div class="verbatim" id="verbatim-114">
\renewcommand{\glsxtrabbrvfootnote}[2]{%
 <br />  \footnote{\glshyperlink[#2]{#1}}%
 <br />}
</div>
- <!--l. 3797--><p class="nopar" > or to include the short form with a hyperlink:
+ <!--l. 4368--><p class="nopar" > or to include the short form with a hyperlink:
</p>
- <div class="verbatim" id="verbatim-93">
+ <div class="verbatim" id="verbatim-115">
\renewcommand{\glsxtrabbrvfootnote}[2]{%
 <br />  \footnote{\glshyperlink[\glsfmtshort{#1}]{#1}: #2}%
 <br />}
</div>
- <!--l. 3803--><p class="nopar" > Note that I haven’t used commands like <span
+ <!--l. 4374--><p class="nopar" > Note that I haven’t used commands like <span
class="cmtt-10">\glsxtrshort </span>to avoid interference
(see <a
href="#sec:entryfmtmods"><span
@@ -7947,26 +9260,26 @@
<a
id="abbrstyle.footnote"></a><span
class="cmssbx-10">footnote</span><a
- id="dx1-23139"></a> </dt><dd
+ id="dx1-24142"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-23140"></a>.
+ id="dx1-24143"></a>.
</dd><dt class="description">
<a
id="abbrstyle.short-sc-footnote"></a><span
class="cmssbx-10">short-sc-footnote</span><a
- id="dx1-23141"></a> </dt><dd
+ id="dx1-24144"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-23142"></a> but redefines <span
+ id="dx1-24145"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-23143"></a>. (This style was originally called <span
+ id="dx1-24146"></a>. (This style was originally called <span
class="cmss-10">footnote-sc</span><a
- id="dx1-23144"></a>. Renamed in
+ id="dx1-24147"></a>. Renamed in
version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -7973,17 +9286,17 @@
<a
id="abbrstyle.short-sc-footnote"></a><span
class="cmssbx-10">short-sc-footnote</span><a
- id="dx1-23145"></a> </dt><dd
+ id="dx1-24148"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-23146"></a> but redefines <span
+ id="dx1-24149"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-23147"></a>. (This style was originally called <span
+ id="dx1-24150"></a>. (This style was originally called <span
class="cmss-10">footnote-sm</span><a
- id="dx1-23148"></a>. Renamed in
+ id="dx1-24151"></a>. Renamed in
version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -7990,17 +9303,17 @@
<a
id="abbrstyle.short-em-footnote"></a><span
class="cmssbx-10">short-em-footnote</span><a
- id="dx1-23149"></a> </dt><dd
+ id="dx1-24152"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-23150"></a> but redefines <span
+ id="dx1-24153"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-23151"></a>. (This style was originally called <span
+ id="dx1-24154"></a>. (This style was originally called <span
class="cmss-10">footnote-em</span><a
- id="dx1-23152"></a>. Renamed in
+ id="dx1-24155"></a>. Renamed in
version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -8007,45 +9320,45 @@
<a
id="abbrstyle.short-postfootnote"></a><span
class="cmssbx-10">short-postfootnote</span><a
- id="dx1-23153"></a> </dt><dd
+ id="dx1-24156"></a> </dt><dd
class="description">This is similar to the <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-23154"></a> style but doesn’t modify the
+ id="dx1-24157"></a> style but doesn’t modify the
category attribute. Instead it changes <span
class="cmtt-10">\glsxtrpostlink</span>⟨<span
class="cmti-10">category</span>⟩<a
- id="dx1-23155"></a> to insert the
+ id="dx1-24158"></a> to insert the
footnote after the <a
- id="dx1-23156"></a><a
+ id="dx1-24159"></a><a
href="#glo:linktext">link-text</a> on <a
- id="dx1-23157"></a><a
+ id="dx1-24160"></a><a
href="#glo:firstuse">first use</a>. This will also defer the footnote
until after any following punctuation character that’s recognised by
<span
class="cmtt-10">\glsxtrifnextpunc</span><a
- id="dx1-23158"></a>.
- <!--l. 3840--><p class="noindent" >The inline full form uses the ⟨<span
+ id="dx1-24161"></a>.
+ <!--l. 4411--><p class="noindent" >The inline full form uses the ⟨<span
class="cmti-10">short</span>⟩ (⟨<span
class="cmti-10">long</span>⟩) style. The <span
class="cmss-10">name</span><a
- id="dx1-23159"></a> is set to the short
+ id="dx1-24162"></a> is set to the short
form. The <span
class="cmss-10">description</span><a
- id="dx1-23160"></a> is set to the long form. Note that this style will change
+ id="dx1-24163"></a> is set to the long form. Note that this style will change
<span
class="cmtt-10">\glsxtrfull </span>(and it’s variants) so that it fakes non-<a
- id="dx1-23161"></a>first use. (Otherwise the
+ id="dx1-24164"></a>first use. (Otherwise the
footnote would appear after the inline form.)
</p></dd><dt class="description">
<a
id="abbrstyle.postfootnote"></a><span
class="cmssbx-10">postfootnote</span><a
- id="dx1-23162"></a> </dt><dd
+ id="dx1-24165"></a> </dt><dd
class="description">A synonym for <a
href="#abbrstyle.short-postfootnote"><span
class="cmss-10">short-postfootnote</span></a><a
- id="dx1-23163"></a>.
+ id="dx1-24166"></a>.
@@ -8053,17 +9366,17 @@
<a
id="abbrstyle.short-sc-postfootnote"></a><span
class="cmssbx-10">short-sc-postfootnote</span><a
- id="dx1-23164"></a> </dt><dd
+ id="dx1-24167"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-postfootnote"><span
class="cmss-10">short-postfootnote</span></a><a
- id="dx1-23165"></a> but redefines <span
+ id="dx1-24168"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvscfont</span><a
- id="dx1-23166"></a>. (This style was originally called <span
+ id="dx1-24169"></a>. (This style was originally called <span
class="cmss-10">postfootnote-sc</span><a
- id="dx1-23167"></a>. Renamed in
+ id="dx1-24170"></a>. Renamed in
version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -8070,17 +9383,17 @@
<a
id="abbrstyle.short-sm-postfootnote"></a><span
class="cmssbx-10">short-sm-postfootnote</span><a
- id="dx1-23168"></a> </dt><dd
+ id="dx1-24171"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-postfootnote"><span
class="cmss-10">short-postfootnote</span></a><a
- id="dx1-23169"></a> but redefines <span
+ id="dx1-24172"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvsmfont</span><a
- id="dx1-23170"></a>. (This style was originally called <span
+ id="dx1-24173"></a>. (This style was originally called <span
class="cmss-10">postfootnote-sm</span><a
- id="dx1-23171"></a>. Renamed
+ id="dx1-24174"></a>. Renamed
in version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -8087,17 +9400,17 @@
<a
id="abbrstyle.short-em-postfootnote"></a><span
class="cmssbx-10">short-em-postfootnote</span><a
- id="dx1-23172"></a> </dt><dd
+ id="dx1-24175"></a> </dt><dd
class="description">Like <a
href="#abbrstyle.short-postfootnote"><span
class="cmss-10">short-postfootnote</span></a><a
- id="dx1-23173"></a> but redefines <span
+ id="dx1-24176"></a> but redefines <span
class="cmtt-10">\glsabbrvfont </span>to use
<span
class="cmtt-10">\glsabbrvemfont</span><a
- id="dx1-23174"></a>. (This style was originally called <span
+ id="dx1-24177"></a>. (This style was originally called <span
class="cmss-10">postfootnote-em</span><a
- id="dx1-23175"></a>. Renamed
+ id="dx1-24178"></a>. Renamed
in version 1.04, but original name retained as a deprecated synonym for
backward-compatibility.)
</dd><dt class="description">
@@ -8104,12 +9417,12 @@
<a
id="abbrstyle.short-postlong-user"></a><span
class="cmssbx-10">short-postlong-user</span><a
- id="dx1-23176"></a> </dt><dd
+ id="dx1-24179"></a> </dt><dd
class="description">This style was introduced in version 1.12. It’s like the
<a
href="#abbrstyle.short-long-user"><span
class="cmss-10">short-long-user</span></a><a
- id="dx1-23177"></a> style but defers the parenthetical material to after the
+ id="dx1-24180"></a> style but defers the parenthetical material to after the
link-text. This means that you don’t have such a long hyperlink (which
can cause problems for the DVI <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> format) and it also means
@@ -8119,58 +9432,58 @@
<a
id="abbrstyle.short-postlong-user-desc"></a><span
class="cmssbx-10">short-postlong-user-desc</span><a
- id="dx1-23178"></a> </dt><dd
+ id="dx1-24181"></a> </dt><dd
class="description">This style was introduced in version 1.12. It’s
like the above <a
href="#abbrstyle.short-postlong-user"><span
class="cmss-10">short-postlong-user</span></a><a
- id="dx1-23179"></a> style but the <span
+ id="dx1-24182"></a> style but the <span
class="cmss-10">description</span><a
- id="dx1-23180"></a> must be
+ id="dx1-24183"></a> must be
specified.
</dd><dt class="description">
<a
id="abbrstyle.long-postshort-user"></a><span
class="cmssbx-10">long-postshort-user</span><a
- id="dx1-23181"></a> </dt><dd
+ id="dx1-24184"></a> </dt><dd
class="description">This style was introduced in version 1.12. It’s like the
above <a
href="#abbrstyle.short-postlong-user"><span
class="cmss-10">short-postlong-user</span></a><a
- id="dx1-23182"></a> style but the long form is shown first and
+ id="dx1-24185"></a> style but the long form is shown first and
the short form is in the parenthetical material (as for <a
href="#abbrstyle.long-short-user"><span
class="cmss-10">long-short-user</span></a><a
- id="dx1-23183"></a>)
+ id="dx1-24186"></a>)
style.
</dd><dt class="description">
<a
id="abbrstyle.long-postshort-user-desc"></a><span
class="cmssbx-10">long-postshort-user-desc</span><a
- id="dx1-23184"></a> </dt><dd
+ id="dx1-24187"></a> </dt><dd
class="description">This style was introduced in version 1.12. It’s
like the above <a
href="#abbrstyle.long-postshort-user"><span
class="cmss-10">long-postshort-user</span></a><a
- id="dx1-23185"></a> style but the <span
+ id="dx1-24188"></a> style but the <span
class="cmss-10">description</span><a
- id="dx1-23186"></a> must be
+ id="dx1-24189"></a> must be
specified.
</dd><dt class="description">
<a
id="abbrstyle.long-hyphen-short-hyphen"></a><span
class="cmssbx-10">long-hyphen-short-hyphen</span><a
- id="dx1-23187"></a> </dt><dd
+ id="dx1-24190"></a> </dt><dd
class="description">This style (new to v1.17) is designed to work
with the <a
href="#catattr.markwords"><span
class="cmss-10">markwords</span></a><a
- id="dx1-23188"></a> category attribute. The full form is formatted
+ id="dx1-24191"></a> category attribute. The full form is formatted
using
- <!--l. 3898--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 4469--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrlonghyphenshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23189"></a> <span
+ id="dx1-24192"></a> <span
class="cmtt-10">\glsxtrlonghyphenshort{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -8185,7 +9498,7 @@
- </p><!--l. 3900--><p class="noindent" >
+ </p><!--l. 4471--><p class="noindent" >
where ⟨<span
class="cmti-10">insert</span>⟩ is the inserted material provided in the final optional argument of
commands like <span
@@ -8193,23 +9506,23 @@
class="cmti-10">insert</span>⟩ start with a hyphen, then this locally
redefines <span
class="cmtt-10">\glsxtrwordsep</span><a
- id="dx1-23190"></a> to a hyphen, which means that if the <a
+ id="dx1-24193"></a> to a hyphen, which means that if the <a
href="#catattr.markwords"><span
class="cmss-10">markwords</span></a><a
- id="dx1-23191"></a>
+ id="dx1-24194"></a>
attribute is set then the long form will become hyphenated. (If this
attribute isn’t set, there’s no alteration to the way the long form is
displayed.)
- </p><!--l. 3909--><p class="noindent" >Unlike the other ⟨<span
+ </p><!--l. 4480--><p class="noindent" >Unlike the other ⟨<span
class="cmti-10">long</span>⟩ (⟨<span
class="cmti-10">short</span>⟩) type of styles, such as <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-23192"></a>, this style also
+ id="dx1-24195"></a>, this style also
repeats the insertion in the parenthetical part, so that the first use form
is:
</p><div class="quote">
- <!--l. 3914--><p class="noindent" ><span
+ <!--l. 4485--><p class="noindent" ><span
class="cmtt-10">\glsfirstlonghyphenfont{</span>⟨<span
class="cmti-10">long</span>⟩<span
class="cmtt-10">}</span>⟨<span
@@ -8219,7 +9532,7 @@
class="cmti-10">short</span>⟩<span
class="cmtt-10">}</span>⟨<span
class="cmti-10">insert</span>⟩)</p></div>
- <!--l. 3917--><p class="noindent" >The space before the parenthetical material is actually given by
+ <!--l. 4488--><p class="noindent" >The space before the parenthetical material is actually given by
<span
class="cmtt-10">\glsxtrfullsep{</span>⟨<span
class="cmti-10">label</span>⟩<span
@@ -8228,41 +9541,41 @@
moved into the formatting commands according to the conditional
<span
class="cmtt-10">\ifglsxtrinsertinside</span>.
- </p><!--l. 3922--><p class="noindent" >For example, if <span
+ </p><!--l. 4493--><p class="noindent" >For example, if <span
class="cmtt-10">ip </span>is defined using:
</p>
- <div class="verbatim" id="verbatim-94">
+ <div class="verbatim" id="verbatim-116">
\glssetcategoryattribute{english}{markwords}{true}
 <br />\setabbreviationstyle[english]{long-hyphen-short-hyphen}
 <br />\newabbreviation[category=english]{ip}{IP}{Internet Protocol}
</div>
- <!--l. 3927--><p class="nopar" > then
+ <!--l. 4498--><p class="nopar" > then
</p>
- <div class="verbatim" id="verbatim-95">
+ <div class="verbatim" id="verbatim-117">
\gls{ip}[-Adressen]
</div>
- <!--l. 3931--><p class="nopar" > will do
+ <!--l. 4502--><p class="nopar" > will do
</p><div class="quote">
- <!--l. 3934--><p class="noindent" >Internet-Protocol-Adressen (IP-Adressen)</p></div>
- <!--l. 3936--><p class="noindent" >on first use, whereas
+ <!--l. 4505--><p class="noindent" >Internet-Protocol-Adressen (IP-Adressen)</p></div>
+ <!--l. 4507--><p class="noindent" >on first use, whereas
</p>
- <div class="verbatim" id="verbatim-96">
+ <div class="verbatim" id="verbatim-118">
\gls{ip}[ Address]
</div>
- <!--l. 3939--><p class="nopar" > will do
+ <!--l. 4510--><p class="nopar" > will do
</p><div class="quote">
- <!--l. 3942--><p class="noindent" >Internet Protocol Address (IP Address)</p></div>
- <!--l. 3944--><p class="noindent" >on first use.
- </p><!--l. 3946--><p class="noindent" ><div class="important" title="Important Note"> Note that the hyphenation isn’t applied when using commands like
+ <!--l. 4513--><p class="noindent" >Internet Protocol Address (IP Address)</p></div>
+ <!--l. 4515--><p class="noindent" >on first use.
+ </p><!--l. 4517--><p class="noindent" ><div class="important" title="Important Note"> Note that the hyphenation isn’t applied when using commands like
<span
class="cmtt-10">\glsxtrlong</span>. This means that
@@ -8269,39 +9582,39 @@
</p>
- <div class="verbatim" id="verbatim-97">
+ <div class="verbatim" id="verbatim-119">
\glsxtrlong{ip}[-Adressen]
</div>
- <!--l. 3951--><p class="nopar" > will do
+ <!--l. 4522--><p class="nopar" > will do
</p><div class="quote">
- <!--l. 3954--><p class="noindent" >Internet Protocol-Adressen</p></div>
+ <!--l. 4525--><p class="noindent" >Internet Protocol-Adressen</p></div>
</div>
- <!--l. 3956--><p class="noindent" >
- </p><!--l. 3958--><p class="noindent" >If the <a
+ <!--l. 4527--><p class="noindent" >
+ </p><!--l. 4529--><p class="noindent" >If the <a
href="#catattr.markwords"><span
class="cmss-10">markwords</span></a><a
- id="dx1-23193"></a> attribute hadn’t been set, then the first use of
+ id="dx1-24196"></a> attribute hadn’t been set, then the first use of
</p>
- <div class="verbatim" id="verbatim-98">
+ <div class="verbatim" id="verbatim-120">
\gls{ip}[-Adressen]
</div>
- <!--l. 3962--><p class="nopar" > would do
+ <!--l. 4533--><p class="nopar" > would do
</p><div class="quote">
- <!--l. 3965--><p class="noindent" >Internet Protocol-Adressen (IP-Adressen)</p></div>
- <!--l. 3967--><p class="noindent" >instead.
- </p><!--l. 3969--><p class="noindent" ><div class="important" title="Important Note"> If the inserted material ⟨<span
+ <!--l. 4536--><p class="noindent" >Internet Protocol-Adressen (IP-Adressen)</p></div>
+ <!--l. 4538--><p class="noindent" >instead.
+ </p><!--l. 4540--><p class="noindent" ><div class="important" title="Important Note"> If the inserted material ⟨<span
class="cmti-10">insert</span>⟩ is likely to contain commands like <span
class="cmtt-10">\gls</span>,
then use <a
href="#abbrstyle.long-hyphen-postshort-hyphen"><span
class="cmss-10">long-hyphen-postshort-hyphen</span></a><a
- id="dx1-23194"></a> instead to avoid nested links.
+ id="dx1-24197"></a> instead to avoid nested links.
</div>
- </p><!--l. 3973--><p class="noindent" >
- </p><!--l. 3975--><p class="noindent" >If you want the short version in small-caps, you can just redefine
+ </p><!--l. 4544--><p class="noindent" >
+ </p><!--l. 4546--><p class="noindent" >If you want the short version in small-caps, you can just redefine
<span
class="cmtt-10">\glsabbrvhyphenfont </span>and <span
class="cmtt-10">\glsxtrhyphensuffix </span>to use the small-caps
@@ -8310,21 +9623,21 @@
</p>
- <div class="verbatim" id="verbatim-99">
+ <div class="verbatim" id="verbatim-121">
\renewcommand{\glsabbrvhyphenfont}{\glsabbrvscfont}
 <br />\renewcommand{\glsxtrhyphensuffix}{\glsxtrscsuffix}
</div>
- <!--l. 3981--><p class="nopar" > Similarly for other font-changing variations.
+ <!--l. 4552--><p class="nopar" > Similarly for other font-changing variations.
</p></dd><dt class="description">
<a
id="abbrstyle.long-hyphen-noshort-desc-noreg"></a><span
class="cmssbx-10">long-hyphen-noshort-desc-noreg</span><a
- id="dx1-23195"></a> </dt><dd
+ id="dx1-24198"></a> </dt><dd
class="description">New to version 1.17, this style is like
<a
href="#abbrstyle.long-hyphen-short-hyphen-desc"><span
class="cmss-10">long-hyphen-short-hyphen-desc</span></a><a
- id="dx1-23196"></a> except that the parenthetical part is omitted and
+ id="dx1-24199"></a> except that the parenthetical part is omitted and
the long form is displayed on subsequent use. The short form can be accessed
with <span
class="cmtt-10">\glsxtrshort </span>but just uses the default abbreviation font. There’s no
@@ -8334,34 +9647,34 @@
<a
id="abbrstyle.long-hyphen-noshort-noreg"></a><span
class="cmssbx-10">long-hyphen-noshort-noreg</span><a
- id="dx1-23197"></a> </dt><dd
+ id="dx1-24200"></a> </dt><dd
class="description">New to version 1.17, this style is like
<a
href="#abbrstyle.long-hyphen-noshort-desc-noreg"><span
class="cmss-10">long-hyphen-noshort-desc-noreg</span></a><a
- id="dx1-23198"></a> but the name is set to the short form and the
+ id="dx1-24201"></a> but the name is set to the short form and the
description is set to the long form.
</dd><dt class="description">
<a
id="abbrstyle.long-hyphen-short-hyphen-desc"></a><span
class="cmssbx-10">long-hyphen-short-hyphen-desc</span><a
- id="dx1-23199"></a> </dt><dd
+ id="dx1-24202"></a> </dt><dd
class="description">
- <!--l. 4001--><p class="noindent" >New to version 1.17. This is similar to <a
+ <!--l. 4572--><p class="noindent" >New to version 1.17. This is similar to <a
href="#abbrstyle.long-hyphen-short-hyphen"><span
class="cmss-10">long-hyphen-short-hyphen</span></a><a
- id="dx1-23200"></a> but the user
+ id="dx1-24203"></a> but the user
supplies the description.
</p></dd><dt class="description">
<a
id="abbrstyle.long-hyphen-postshort-hyphen"></a><span
class="cmssbx-10">long-hyphen-postshort-hyphen</span><a
- id="dx1-23201"></a> </dt><dd
+ id="dx1-24204"></a> </dt><dd
class="description">
- <!--l. 4007--><p class="noindent" >New to version 1.17. This is similar to <a
+ <!--l. 4578--><p class="noindent" >New to version 1.17. This is similar to <a
href="#abbrstyle.long-hyphen-short-hyphen"><span
class="cmss-10">long-hyphen-short-hyphen</span></a><a
- id="dx1-23202"></a> but the
+ id="dx1-24205"></a> but the
inserted and parenthetical material are moved to the post-link hook. On first
use, <span
class="cmtt-10">\gls{</span>⟨<span
@@ -8384,16 +9697,16 @@
class="cmti-10">insert</span>⟩
<br /><spacer type=vertical size=10></span>
where
- </p><!--l. 4015--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ </p><!--l. 4586--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrposthyphenshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23203"></a> <span
+ id="dx1-24206"></a> <span
class="cmtt-10">\glsxtrposthyphenshort{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}</span>⟨<span
class="cmitt-10">insert</span>⟩
</div><hr>
- </p><!--l. 4017--><p class="noindent" >
+ </p><!--l. 4588--><p class="noindent" >
is in the post-link hook. This uses the format: <spacer type=vertical size=10><span class="obeylines-h">
<br />⟨<span
class="cmti-10">insert</span>⟩ (<span
@@ -8405,18 +9718,18 @@
- </p><!--l. 4023--><p class="noindent" ><div class="important" title="Important Note"> The singular short form is always used here, even with <span
+ </p><!--l. 4594--><p class="noindent" ><div class="important" title="Important Note"> The singular short form is always used here, even with <span
class="cmtt-10">\glspl</span>. (Unlike
<a
href="#abbrstyle.long-hyphen-long-hyphen"><span
class="cmss-10">long-hyphen-long-hyphen</span></a><a
- id="dx1-23204"></a>.) </div>
- </p><!--l. 4026--><p class="noindent" >
- </p><!--l. 4028--><p class="noindent" >The part in the link-text on first use:
- </p><!--l. 4029--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-24207"></a>.) </div>
+ </p><!--l. 4597--><p class="noindent" >
+ </p><!--l. 4599--><p class="noindent" >The part in the link-text on first use:
+ </p><!--l. 4600--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrlonghyphen</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23205"></a> <span
+ id="dx1-24208"></a> <span
class="cmtt-10">\glsxtrlonghyphen{</span>⟨<span
class="cmitt-10">long</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -8425,7 +9738,7 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
- </p><!--l. 4031--><p class="noindent" >
+ </p><!--l. 4602--><p class="noindent" >
checks if ⟨<span
class="cmti-10">insert</span>⟩ starts with a hyphen. If it does, then <span
class="cmtt-10">\glsxtrwordsep </span>is locally
@@ -8438,7 +9751,7 @@
this style without causing nested hyperlinks, but only for commands like
<span
class="cmtt-10">\gls</span>.
- </p><!--l. 4040--><p class="noindent" ><div class="important" title="Important Note"> Don’t use <span
+ </p><!--l. 4611--><p class="noindent" ><div class="important" title="Important Note"> Don’t use <span
class="cmtt-10">\gls </span>in the ⟨<span
class="cmti-10">insert</span>⟩ part for commands like <span
class="cmtt-10">\glsxtrfull</span>,
@@ -8445,8 +9758,8 @@
<span
class="cmtt-10">\glsxtrshort </span>or <span
class="cmtt-10">\glsxtrlong</span>. </div>
- </p><!--l. 4043--><p class="noindent" >
- </p><!--l. 4045--><p class="noindent" >The inline full display format used by commands like <span
+ </p><!--l. 4614--><p class="noindent" >
+ </p><!--l. 4616--><p class="noindent" >The inline full display format used by commands like <span
class="cmtt-10">\glsxtrfull</span>
behaves differently to the first use of <span
class="cmtt-10">\gls </span>with this style. It’s better
@@ -8461,28 +9774,28 @@
<a
id="abbrstyle.long-hyphen-postshort-hyphen-desc"></a><span
class="cmssbx-10">long-hyphen-postshort-hyphen-desc</span><a
- id="dx1-23206"></a> </dt><dd
+ id="dx1-24209"></a> </dt><dd
class="description">
- <!--l. 4052--><p class="noindent" >New to version 1.17. This is similar to <a
+ <!--l. 4623--><p class="noindent" >New to version 1.17. This is similar to <a
href="#abbrstyle.long-hyphen-postshort-hyphen"><span
class="cmss-10">long-hyphen-postshort-hyphen</span></a><a
- id="dx1-23207"></a> but the
+ id="dx1-24210"></a> but the
user supplies the description.
</p></dd><dt class="description">
<a
id="abbrstyle.short-hyphen-long-hyphen"></a><span
class="cmssbx-10">short-hyphen-long-hyphen</span><a
- id="dx1-23208"></a> </dt><dd
+ id="dx1-24211"></a> </dt><dd
class="description">This style (new to v1.17) is like <a
href="#abbrstyle.long-hyphen-short-hyphen"><span
class="cmss-10">long-hyphen-short-hyphen</span></a><a
- id="dx1-23209"></a>,
+ id="dx1-24212"></a>,
except that the short form is displayed first followed by the long form in
parentheses. The full form is formatted using
- <!--l. 4061--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 4632--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrshorthyphenlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23210"></a> <span
+ id="dx1-24213"></a> <span
class="cmtt-10">\glsxtrshorthyphenlong{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -8494,7 +9807,7 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 4063--><p class="noindent" >
+ </p><!--l. 4634--><p class="noindent" >
which behaves in an analogous way to <span
class="cmtt-10">\glsxtrlonghyphenshort</span>.
</p></dd><dt class="description">
@@ -8501,12 +9814,12 @@
<a
id="abbrstyle.short-hyphen-long-hyphen-desc"></a><span
class="cmssbx-10">short-hyphen-long-hyphen-desc</span><a
- id="dx1-23211"></a> </dt><dd
+ id="dx1-24214"></a> </dt><dd
class="description">
- <!--l. 4068--><p class="noindent" >New to version 1.17. This is similar to <a
+ <!--l. 4639--><p class="noindent" >New to version 1.17. This is similar to <a
href="#abbrstyle.short-hyphen-long-hyphen"><span
class="cmss-10">short-hyphen-long-hyphen</span></a><a
- id="dx1-23212"></a> but the user
+ id="dx1-24215"></a> but the user
supplies the description.
@@ -8515,12 +9828,12 @@
<a
id="abbrstyle.short-hyphen-postlong-hyphen"></a><span
class="cmssbx-10">short-hyphen-postlong-hyphen</span><a
- id="dx1-23213"></a> </dt><dd
+ id="dx1-24216"></a> </dt><dd
class="description">This style (new to v1.17) is like
<a
href="#abbrstyle.long-hyphen-postshort-hyphen"><span
class="cmss-10">long-hyphen-postshort-hyphen</span></a><a
- id="dx1-23214"></a>, but the short form is displayed first followed by
+ id="dx1-24217"></a>, but the short form is displayed first followed by
the long form in parentheses. On first use, <span
class="cmtt-10">\gls{</span>⟨<span
class="cmti-10">label</span>⟩<span
@@ -8543,22 +9856,22 @@
class="cmti-10">insert</span>⟩
<br /><spacer type=vertical size=10></span>
where
- <!--l. 4082--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 4653--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrposthyphenlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-23215"></a> <span
+ id="dx1-24218"></a> <span
class="cmtt-10">\glsxtrposthyphenlong{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}</span>⟨<span
class="cmitt-10">insert</span>⟩
</div><hr>
- </p><!--l. 4084--><p class="noindent" >
+ </p><!--l. 4655--><p class="noindent" >
is in the post-link hook. These commands behave in an analogous manner to
those used with <a
href="#abbrstyle.long-hyphen-postshort-hyphen"><span
class="cmss-10">long-hyphen-postshort-hyphen</span></a><a
- id="dx1-23216"></a>.
- </p><!--l. 4088--><p class="noindent" ><div class="important" title="Important Note"> Don’t use <span
+ id="dx1-24219"></a>.
+ </p><!--l. 4659--><p class="noindent" ><div class="important" title="Important Note"> Don’t use <span
class="cmtt-10">\gls </span>in the ⟨<span
class="cmti-10">insert</span>⟩ part for commands like <span
class="cmtt-10">\glsxtrfull</span>,
@@ -8565,8 +9878,8 @@
<span
class="cmtt-10">\glsxtrshort </span>or <span
class="cmtt-10">\glsxtrlong</span>. </div>
- </p><!--l. 4091--><p class="noindent" >
- </p><!--l. 4093--><p class="noindent" >The inline full display format used by commands like <span
+ </p><!--l. 4662--><p class="noindent" >
+ </p><!--l. 4664--><p class="noindent" >The inline full display format used by commands like <span
class="cmtt-10">\glsxtrfull</span>
behaves differently to the first use of <span
class="cmtt-10">\gls </span>with this style. It’s better
@@ -8581,25 +9894,25 @@
<a
id="abbrstyle.short-hyphen-postlong-hyphen-desc"></a><span
class="cmssbx-10">short-hyphen-postlong-hyphen-desc</span><a
- id="dx1-23217"></a> </dt><dd
+ id="dx1-24220"></a> </dt><dd
class="description">
- <!--l. 4100--><p class="noindent" >New to version 1.17. This is similar to <a
+ <!--l. 4671--><p class="noindent" >New to version 1.17. This is similar to <a
href="#abbrstyle.short-hyphen-postlong-hyphen"><span
class="cmss-10">short-hyphen-postlong-hyphen</span></a><a
- id="dx1-23218"></a> but the
+ id="dx1-24221"></a> but the
user supplies the description.
</p>
</dd></dl>
-<!--l. 4106--><p class="noindent" >
+<!--l. 4677--><p class="noindent" >
</p>
-<!--l. 4106--><p class="noindent" ><a
+<!--l. 4677--><p class="noindent" ><a
href="#top">Top</a><h3 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">3.5 </span> <a
id="sec:newabbrvstyle"></a>Defining New Abbreviation Styles</h3>
-<!--l. 4109--><p class="noindent" >New abbreviation styles may be defined using:
-</p><!--l. 4110--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+<!--l. 4680--><p class="noindent" >New abbreviation styles may be defined using:
+</p><!--l. 4681--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\newabbreviationstyle</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24001"></a> <span
+ id="dx1-25001"></a> <span
class="cmtt-10">\newabbreviationstyle{</span>⟨<span
class="cmitt-10">name</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -8608,76 +9921,76 @@
class="cmitt-10">fmts</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4112--><p class="noindent" >
-</p><!--l. 4113--><p class="noindent" >where ⟨<span
+</p><!--l. 4683--><p class="noindent" >
+</p><!--l. 4684--><p class="noindent" >where ⟨<span
class="cmti-10">name</span>⟩ is the name of the new style (as used in the mandatory argument of
<span
class="cmtt-10">\setabbreviationstyle</span><a
- id="dx1-24002"></a>). This is similar but not identical to the <span
+ id="dx1-25002"></a>). This is similar but not identical to the <span
class="cmss-10">glossaries </span>package’s
<span
class="cmtt-10">\newacronymstyle</span><a
- id="dx1-24003"></a> command.
+ id="dx1-25003"></a> command.
-</p><!--l. 4120--><p class="indent" > <div class="important" title="Important Note"> You can’t use styles defined by <span
+</p><!--l. 4691--><p class="indent" > <div class="important" title="Important Note"> You can’t use styles defined by <span
class="cmtt-10">\newacronymstyle </span>with <span
class="cmss-10">glossaries-extra</span>
unless you have reverted <span
class="cmtt-10">\newacronym</span><a
- id="dx1-24004"></a> back to its generic definition from
+ id="dx1-25004"></a> back to its generic definition from
<span
class="cmss-10">glossaries </span>(using <span
class="cmtt-10">\RestoreAcronyms</span><a
- id="dx1-24005"></a>). The acronym styles from the <span
+ id="dx1-25005"></a>). The acronym styles from the <span
class="cmss-10">glossaries</span>
package can’t be used with abbreviations defined with <span
class="cmtt-10">\newabbreviation</span>.
</div>
-</p><!--l. 4127--><p class="noindent" >
-</p><!--l. 4129--><p class="indent" > The ⟨<span
+</p><!--l. 4698--><p class="noindent" >
+</p><!--l. 4700--><p class="indent" > The ⟨<span
class="cmti-10">setup</span>⟩ argument deals with the way the entry is defined and may
set attributes for the given abbreviation category. This argument should
redefine
-</p><!--l. 4132--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4703--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\CustomAbbreviationFields</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24006"></a> <span
+ id="dx1-25006"></a> <span
class="cmtt-10">\CustomAbbreviationFields </span></div><hr>
-</p><!--l. 4134--><p class="noindent" >
+</p><!--l. 4705--><p class="noindent" >
to set the entry fields including the <span
class="cmss-10">name</span><a
- id="dx1-24007"></a> (defaults to the short form if omitted),
+ id="dx1-25007"></a> (defaults to the short form if omitted),
<span
class="cmss-10">sort</span><a
- id="dx1-24008"></a>, <span
+ id="dx1-25008"></a>, <span
class="cmss-10">first</span><a
- id="dx1-24009"></a>, <span
+ id="dx1-25009"></a>, <span
class="cmss-10">firstplural</span><a
- id="dx1-24010"></a>. Other fields may also be set, such as <span
+ id="dx1-25010"></a>. Other fields may also be set, such as <span
class="cmss-10">text</span><a
- id="dx1-24011"></a>, <span
+ id="dx1-25011"></a>, <span
class="cmss-10">plural</span><a
- id="dx1-24012"></a> and
+ id="dx1-25012"></a> and
<span
class="cmss-10">description</span><a
- id="dx1-24013"></a>.
-</p><!--l. 4141--><p class="indent" > <div class="important" title="Important Note"> <span
+ id="dx1-25013"></a>.
+</p><!--l. 4712--><p class="indent" > <div class="important" title="Important Note"> <span
class="cmtt-10">\CustomAbbreviationFields </span>is expanded by <span
class="cmtt-10">\newabbreviation </span>so take care to
protect commands that shouldn’t be expanded. </div>
-</p><!--l. 4144--><p class="noindent" >
-</p><!--l. 4146--><p class="indent" > For example, the <a
+</p><!--l. 4715--><p class="noindent" >
+</p><!--l. 4717--><p class="indent" > For example, the <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-24014"></a> style has the following in ⟨<span
+ id="dx1-25014"></a> style has the following in ⟨<span
class="cmti-10">setup</span>⟩:
</p>
- <div class="verbatim" id="verbatim-100">
+ <div class="verbatim" id="verbatim-122">
  \renewcommand*{\CustomAbbreviationFields}{%
 <br />    name={\protect\glsabbrvfont{\the\glsshorttok}},
 <br />    sort={\the\glsshorttok},
@@ -8690,17 +10003,17 @@
 <br />    plural={\protect\glsabbrvfont{\the\glsshortpltok}},%
 <br />    description={\the\glslongtok}}%
</div>
-<!--l. 4160--><p class="nopar" > Note that the <span
+<!--l. 4731--><p class="nopar" > Note that the <span
class="cmss-10">first</span><a
- id="dx1-24015"></a> and <span
+ id="dx1-25015"></a> and <span
class="cmss-10">firstplural</span><a
- id="dx1-24016"></a> are set even though they’re not used by
+ id="dx1-25016"></a> are set even though they’re not used by
<span
class="cmtt-10">\gls</span>.
-</p><!--l. 4164--><p class="indent" > The basic styles, such as <a
+</p><!--l. 4735--><p class="indent" > The basic styles, such as <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-24017"></a>, use commands like <span
+ id="dx1-25017"></a>, use commands like <span
class="cmtt-10">\glsabbrvfont </span>(which are
redefined whenever the style formatting is set) within <span
class="cmtt-10">\CustomAbbreviationFields</span>.
@@ -8707,7 +10020,7 @@
Other styles, such as <a
href="#abbrstyle.long-em-short-em"><span
class="cmss-10">long-em-short-em</span></a><a
- id="dx1-24018"></a> directly use their own custom commands, such
+ id="dx1-25018"></a> directly use their own custom commands, such
as <span
class="cmtt-10">\glsabbrvemfont</span>. With these styles, commands like <span
class="cmtt-10">\glsabbrvfont </span>still need to
@@ -8715,26 +10028,26 @@
class="cmti-10">fmts</span>⟩ argument even if they’re not used within
<span
class="cmtt-10">\CustomAbbreviationFields</span>.
-</p><!--l. 4173--><p class="indent" > The ⟨<span
+</p><!--l. 4744--><p class="indent" > The ⟨<span
class="cmti-10">setup</span>⟩ argument may also redefine
-</p><!--l. 4174--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4745--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrPostNewAbbreviation</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24019"></a> <span
+ id="dx1-25019"></a> <span
class="cmtt-10">\GlsXtrPostNewAbbreviation </span></div><hr>
-</p><!--l. 4176--><p class="noindent" >
+</p><!--l. 4747--><p class="noindent" >
which can be used to assign attributes. (This will automatically be initialised to do
nothing.)
-</p><!--l. 4180--><p class="indent" > For example, the <a
+</p><!--l. 4751--><p class="indent" > For example, the <a
href="#abbrstyle.short-footnote"><span
class="cmss-10">short-footnote</span></a><a
- id="dx1-24020"></a> includes the following in ⟨<span
+ id="dx1-25020"></a> includes the following in ⟨<span
class="cmti-10">setup</span>⟩:
</p>
- <div class="verbatim" id="verbatim-101">
+ <div class="verbatim" id="verbatim-123">
  \renewcommand*{\GlsXtrPostNewAbbreviation}{%
 <br />    \glssetattribute{\the\glslabeltok}{nohyperfirst}{true}%
 <br />    \glshasattribute{\the\glslabeltok}{regular}%
@@ -8744,252 +10057,252 @@
 <br />    {}%
 <br />  }%
</div>
-<!--l. 4191--><p class="nopar" > This sets the <a
+<!--l. 4762--><p class="nopar" > This sets the <a
href="#catattr.nohyperfirst"><span
class="cmss-10">nohyperfirst</span></a><a
- id="dx1-24021"></a> attribute to “true”. It also unsets the <a
+ id="dx1-25021"></a> attribute to “true”. It also unsets the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-24022"></a> attribute if it
+ id="dx1-25022"></a> attribute if it
has previously been set. Note that the <a
href="#catattr.nohyperfirst"><span
class="cmss-10">nohyperfirst</span></a><a
- id="dx1-24023"></a> attribute doesn’t get unset by
+ id="dx1-25023"></a> attribute doesn’t get unset by
other styles, so take care not to switch styles for the same category.
-</p><!--l. 4198--><p class="indent" > You can access the short, long, short plural and long plural values through the
+</p><!--l. 4769--><p class="indent" > You can access the short, long, short plural and long plural values through the
following token registers.
-</p><!--l. 4201--><p class="indent" > Short value (defined by <span
+</p><!--l. 4772--><p class="indent" > Short value (defined by <span
class="cmss-10">glossaries</span>):
-</p><!--l. 4202--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4773--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsshorttok</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24024"></a> <span
+ id="dx1-25024"></a> <span
class="cmtt-10">\glsshorttok </span></div><hr>
-</p><!--l. 4204--><p class="noindent" >
-</p><!--l. 4206--><p class="indent" > Short plural value (defined by <span
+</p><!--l. 4775--><p class="noindent" >
+</p><!--l. 4777--><p class="indent" > Short plural value (defined by <span
class="cmss-10">glossaries-extra</span>):
-</p><!--l. 4207--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4778--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsshortpltok</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24025"></a> <span
+ id="dx1-25025"></a> <span
class="cmtt-10">\glsshortpltok </span></div><hr>
-</p><!--l. 4209--><p class="noindent" >
+</p><!--l. 4780--><p class="noindent" >
(This may be the default value or, if provided, the value provided by the user
through the <span
class="cmss-10">shortplural</span><a
- id="dx1-24026"></a> key in the optional argument of <span
+ id="dx1-25026"></a> key in the optional argument of <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-24027"></a>.)
-</p><!--l. 4214--><p class="indent" > Long value (defined by <span
+ id="dx1-25027"></a>.)
+</p><!--l. 4785--><p class="indent" > Long value (defined by <span
class="cmss-10">glossaries</span>):
-</p><!--l. 4215--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4786--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongtok</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24028"></a> <span
+ id="dx1-25028"></a> <span
class="cmtt-10">\glslongtok </span></div><hr>
-</p><!--l. 4217--><p class="noindent" >
-</p><!--l. 4219--><p class="indent" > Long plural value (defined by <span
+</p><!--l. 4788--><p class="noindent" >
+</p><!--l. 4790--><p class="indent" > Long plural value (defined by <span
class="cmss-10">glossaries-extra</span>):
-</p><!--l. 4220--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4791--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongpltok</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24029"></a> <span
+ id="dx1-25029"></a> <span
class="cmtt-10">\glslongpltok </span></div><hr>
-</p><!--l. 4222--><p class="noindent" >
+</p><!--l. 4793--><p class="noindent" >
(This may be the default value or, if provided, the value provided by the user
through the <span
class="cmss-10">longplural</span><a
- id="dx1-24030"></a> key in the optional argument of <span
+ id="dx1-25030"></a> key in the optional argument of <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-24031"></a>.)
-</p><!--l. 4227--><p class="indent" > The short or long values may be modified by attributes (such as <a
+ id="dx1-25031"></a>.)
+</p><!--l. 4798--><p class="indent" > The short or long values may be modified by attributes (such as <a
href="#catattr.markwords"><span
class="cmss-10">markwords</span></a><a
- id="dx1-24032"></a>). The
+ id="dx1-25032"></a>). The
above registers reflect the modification. If you want to access the original
(unmodified) short or long form (as provided in the final two arguments of
<span
class="cmtt-10">\newabbreviation</span>), then use the commands:
-</p><!--l. 4232--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4803--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrorgshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24033"></a> <span
+ id="dx1-25033"></a> <span
class="cmtt-10">\glsxtrorgshort </span></div><hr>
-</p><!--l. 4234--><p class="noindent" >
+</p><!--l. 4805--><p class="noindent" >
for the short form and
-</p><!--l. 4236--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4807--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrorglong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24034"></a> <span
+ id="dx1-25034"></a> <span
class="cmtt-10">\glsxtrorglong </span></div><hr>
-</p><!--l. 4238--><p class="noindent" >
+</p><!--l. 4809--><p class="noindent" >
for the long form. (These may be useful for the <span
class="cmss-10">sort</span><a
- id="dx1-24035"></a> key to avoid any formatting that
+ id="dx1-25035"></a> key to avoid any formatting that
may be added by the attribute setting.)
-</p><!--l. 4242--><p class="indent" > There are two other registers available that are defined by <span
+</p><!--l. 4813--><p class="indent" > There are two other registers available that are defined by <span
class="cmss-10">glossaries</span>:
-</p><!--l. 4245--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4816--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslabeltok</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24036"></a> <span
+ id="dx1-25036"></a> <span
class="cmtt-10">\glslabeltok </span></div><hr>
-</p><!--l. 4247--><p class="noindent" >
+</p><!--l. 4818--><p class="noindent" >
which contains the entry’s label and
-</p><!--l. 4249--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4820--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glskeylisttok</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24037"></a> <span
+ id="dx1-25037"></a> <span
class="cmtt-10">\glskeylisttok </span></div><hr>
-</p><!--l. 4251--><p class="noindent" >
+</p><!--l. 4822--><p class="noindent" >
which contains the values provided in the optional argument of <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-24038"></a>.
-</p><!--l. 4255--><p class="indent" > Remember put <span
+ id="dx1-25038"></a>.
+</p><!--l. 4826--><p class="indent" > Remember put <span
class="cmtt-10">\the </span>in front of the register command as in the examples above.
The category label can be access through the command (not a register):
-</p><!--l. 4258--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4829--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glscategorylabel</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24039"></a> <span
+ id="dx1-25039"></a> <span
class="cmtt-10">\glscategorylabel </span></div><hr>
-</p><!--l. 4260--><p class="noindent" >
+</p><!--l. 4831--><p class="noindent" >
This may be used inside the definition of <span
class="cmtt-10">\GlsXtrPostNewAbbreviation</span>.
-</p><!--l. 4264--><p class="indent" > If you want to base a style on an existing style, you can use
-</p><!--l. 4265--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4835--><p class="indent" > If you want to base a style on an existing style, you can use
+</p><!--l. 4836--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrUseAbbrStyleSetup</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24040"></a> <span
+ id="dx1-25040"></a> <span
class="cmtt-10">\GlsXtrUseAbbrStyleSetup{</span>⟨<span
class="cmitt-10">name</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4267--><p class="noindent" >
+</p><!--l. 4838--><p class="noindent" >
where ⟨<span
class="cmti-10">name</span>⟩ is the name of the existing style. For example, the <a
href="#abbrstyle.long-noshort-sc-desc"><span
class="cmss-10">long-noshort-sc-desc</span></a><a
- id="dx1-24041"></a>
+ id="dx1-25041"></a>
style simply does
</p>
- <div class="verbatim" id="verbatim-102">
+ <div class="verbatim" id="verbatim-124">
\GlsXtrUseAbbrStyleSetup{long-noshort-desc}
</div>
-<!--l. 4272--><p class="nopar" > within ⟨<span
+<!--l. 4843--><p class="nopar" > within ⟨<span
class="cmti-10">setup</span>⟩.
-</p><!--l. 4275--><p class="indent" > The ⟨<span
+</p><!--l. 4846--><p class="indent" > The ⟨<span
class="cmti-10">fmts</span>⟩ argument deals with the way the entry is displayed in the document.
This argument should redefine the following commands.
-</p><!--l. 4279--><p class="indent" > The default suffix for the plural short form (if not overridden by the <span
+</p><!--l. 4850--><p class="indent" > The default suffix for the plural short form (if not overridden by the <span
class="cmss-10">shortplural</span><a
- id="dx1-24042"></a>
+ id="dx1-25042"></a>
key):
-</p><!--l. 4281--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4852--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\abbrvpluralsuffix</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24043"></a> <span
+ id="dx1-25043"></a> <span
class="cmtt-10">\abbrvpluralsuffix </span></div><hr>
-</p><!--l. 4283--><p class="noindent" >
+</p><!--l. 4854--><p class="noindent" >
(Note that this isn’t used for the plural long form, which just uses the regular
<span
class="cmtt-10">\glspluralsuffix</span>.)
-</p><!--l. 4287--><p class="indent" > The font used for the short form on <a
- id="dx1-24044"></a><a
+</p><!--l. 4858--><p class="indent" > The font used for the short form on <a
+ id="dx1-25044"></a><a
href="#glo:firstuse">first use</a> or in the full forms:
-</p><!--l. 4288--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4859--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstabbrvfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24045"></a> <span
+ id="dx1-25045"></a> <span
class="cmtt-10">\glsfirstabbrvfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4290--><p class="noindent" >
-</p><!--l. 4292--><p class="indent" > The font used for the short form on subsequent use or through commands like
+</p><!--l. 4861--><p class="noindent" >
+</p><!--l. 4863--><p class="indent" > The font used for the short form on subsequent use or through commands like
<span
class="cmtt-10">\glsxtrshort</span><a
- id="dx1-24046"></a>:
-</p><!--l. 4294--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25046"></a>:
+</p><!--l. 4865--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsabbrvfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24047"></a> <span
+ id="dx1-25047"></a> <span
class="cmtt-10">\glsabbrvfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4296--><p class="noindent" >
-</p><!--l. 4298--><p class="indent" > The font used for the long form on <a
- id="dx1-24048"></a>first use or in the full forms:
-</p><!--l. 4299--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4867--><p class="noindent" >
+</p><!--l. 4869--><p class="indent" > The font used for the long form on <a
+ id="dx1-25048"></a>first use or in the full forms:
+</p><!--l. 4870--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfirstlongfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24049"></a> <span
+ id="dx1-25049"></a> <span
class="cmtt-10">\glsfirstlongfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4301--><p class="noindent" >
-</p><!--l. 4303--><p class="indent" > The font used for the long form in commands like <span
+</p><!--l. 4872--><p class="noindent" >
+</p><!--l. 4874--><p class="indent" > The font used for the long form in commands like <span
class="cmtt-10">\glsxtrlong </span>use:
-</p><!--l. 4305--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4876--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslongfont</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24050"></a> <span
+ id="dx1-25050"></a> <span
class="cmtt-10">\glslongfont{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4307--><p class="noindent" >
-</p><!--l. 4309--><p class="indent" > Display full form singular no case-change (used by <span
+</p><!--l. 4878--><p class="noindent" >
+</p><!--l. 4880--><p class="indent" > Display full form singular no case-change (used by <span
class="cmtt-10">\gls</span><a
- id="dx1-24051"></a> on <a
- id="dx1-24052"></a>first use for
+ id="dx1-25051"></a> on <a
+ id="dx1-25052"></a>first use for
abbreviations without the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-24053"></a> attribute set):
-</p><!--l. 4312--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25053"></a> attribute set):
+</p><!--l. 4883--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrfullformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24054"></a> <span
+ id="dx1-25054"></a> <span
class="cmtt-10">\glsxtrfullformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4314--><p class="noindent" >
-</p><!--l. 4316--><p class="indent" > Display full form singular first letter converted to upper case (used by <span
+</p><!--l. 4885--><p class="noindent" >
+</p><!--l. 4887--><p class="indent" > Display full form singular first letter converted to upper case (used by <span
class="cmtt-10">\Gls</span><a
- id="dx1-24055"></a> on
+ id="dx1-25055"></a> on
<a
- id="dx1-24056"></a>first use for abbreviations without the <a
+ id="dx1-25056"></a>first use for abbreviations without the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-24057"></a> attribute set):
-</p><!--l. 4319--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25057"></a> attribute set):
+</p><!--l. 4890--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrfullformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24058"></a> <span
+ id="dx1-25058"></a> <span
class="cmtt-10">\Glsxtrfullformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4321--><p class="noindent" >
-</p><!--l. 4323--><p class="indent" > Display full form plural no case-change (used by <span
+</p><!--l. 4892--><p class="noindent" >
+</p><!--l. 4894--><p class="indent" > Display full form plural no case-change (used by <span
class="cmtt-10">\glspl</span><a
- id="dx1-24059"></a> on <a
- id="dx1-24060"></a>first use for
+ id="dx1-25059"></a> on <a
+ id="dx1-25060"></a>first use for
abbreviations without the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-24061"></a> attribute set):
-</p><!--l. 4326--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25061"></a> attribute set):
+</p><!--l. 4897--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrfullplformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24062"></a> <span
+ id="dx1-25062"></a> <span
class="cmtt-10">\glsxtrfullplformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -8998,42 +10311,42 @@
-</p><!--l. 4328--><p class="noindent" >
-</p><!--l. 4330--><p class="indent" > Display full form plural first letter converted to upper case (used by <span
+</p><!--l. 4899--><p class="noindent" >
+</p><!--l. 4901--><p class="indent" > Display full form plural first letter converted to upper case (used by <span
class="cmtt-10">\Glspl</span><a
- id="dx1-24063"></a> on
+ id="dx1-25063"></a> on
<a
- id="dx1-24064"></a><a
+ id="dx1-25064"></a><a
href="#glo:firstuse">first use</a> for abbreviations without the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-24065"></a> attribute set):
-</p><!--l. 4333--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25065"></a> attribute set):
+</p><!--l. 4904--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrfullplformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24066"></a> <span
+ id="dx1-25066"></a> <span
class="cmtt-10">\Glsxtrfullplformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4335--><p class="noindent" >
-</p><!--l. 4337--><p class="indent" > In addition ⟨<span
+</p><!--l. 4906--><p class="noindent" >
+</p><!--l. 4908--><p class="indent" > In addition ⟨<span
class="cmti-10">fmts</span>⟩ may also redefine the following commands that govern the inline
full formats. If the style doesn’t redefine them, they will default to the same as the
display full forms.
-</p><!--l. 4341--><p class="indent" > Inline singular no case-change (used by <span
+</p><!--l. 4912--><p class="indent" > Inline singular no case-change (used by <span
class="cmtt-10">\glsentryfull</span><a
- id="dx1-24067"></a>, <span
+ id="dx1-25067"></a>, <span
class="cmtt-10">\glsxtrfull</span><a
- id="dx1-24068"></a> and
+ id="dx1-25068"></a> and
<span
class="cmtt-10">\GLSxtrfull</span><a
- id="dx1-24069"></a>):
-</p><!--l. 4343--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25069"></a>):
+</p><!--l. 4914--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrinlinefullformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24070"></a> <span
+ id="dx1-25070"></a> <span
class="cmtt-10">\glsxtrinlinefullformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9040,17 +10353,17 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4345--><p class="noindent" >
-</p><!--l. 4347--><p class="indent" > Inline singular first letter converted to upper case (used by <span
+</p><!--l. 4916--><p class="noindent" >
+</p><!--l. 4918--><p class="indent" > Inline singular first letter converted to upper case (used by <span
class="cmtt-10">\Glsentryfull</span><a
- id="dx1-24071"></a> and
+ id="dx1-25071"></a> and
<span
class="cmtt-10">\Glsxtrfull</span><a
- id="dx1-24072"></a>):
-</p><!--l. 4349--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25072"></a>):
+</p><!--l. 4920--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrinlinefullformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24073"></a> <span
+ id="dx1-25073"></a> <span
class="cmtt-10">\Glsxtrinlinefullformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9057,19 +10370,19 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4351--><p class="noindent" >
-</p><!--l. 4353--><p class="indent" > Inline plural no case-change (used by <span
+</p><!--l. 4922--><p class="noindent" >
+</p><!--l. 4924--><p class="indent" > Inline plural no case-change (used by <span
class="cmtt-10">\glsentryfullpl</span><a
- id="dx1-24074"></a>, <span
+ id="dx1-25074"></a>, <span
class="cmtt-10">\glsxtrfullpl</span><a
- id="dx1-24075"></a> and
+ id="dx1-25075"></a> and
<span
class="cmtt-10">\GLSxtrfullpl</span><a
- id="dx1-24076"></a>):
-</p><!--l. 4355--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25076"></a>):
+</p><!--l. 4926--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrinlinefullplformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24077"></a> <span
+ id="dx1-25077"></a> <span
class="cmtt-10">\glsxtrinlinefullplformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9076,17 +10389,17 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4357--><p class="noindent" >
-</p><!--l. 4359--><p class="indent" > Inline plural first letter converted to upper case (used by <span
+</p><!--l. 4928--><p class="noindent" >
+</p><!--l. 4930--><p class="indent" > Inline plural first letter converted to upper case (used by <span
class="cmtt-10">\Glsentryfullpl</span><a
- id="dx1-24078"></a> and
+ id="dx1-25078"></a> and
<span
class="cmtt-10">\Glsxtrfullpl</span><a
- id="dx1-24079"></a>):
-</p><!--l. 4361--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-25079"></a>):
+</p><!--l. 4932--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrinlinefullplformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24080"></a> <span
+ id="dx1-25080"></a> <span
class="cmtt-10">\Glsxtrinlinefullplformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9093,44 +10406,44 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4363--><p class="noindent" >
-</p><!--l. 4365--><p class="indent" > (New to version 1.17.) You can also modify the way the subsequent use is
+</p><!--l. 4934--><p class="noindent" >
+</p><!--l. 4936--><p class="indent" > (New to version 1.17.) You can also modify the way the subsequent use is
formatted by redefining the following four commands, but these won’t be used for
abbreviations with the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-24081"></a> attribute set. If the style doesn’t redefine these
+ id="dx1-25081"></a> attribute set. If the style doesn’t redefine these
commands, the default values are used.
-</p><!--l. 4371--><p class="indent" > Singular with no case-change:
-</p><!--l. 4372--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4942--><p class="indent" > Singular with no case-change:
+</p><!--l. 4943--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsubsequentfmt</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24082"></a> <span
+ id="dx1-25082"></a> <span
class="cmtt-10">\glsxtrsubsequentfmt{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4374--><p class="noindent" >
-</p><!--l. 4376--><p class="indent" > Singular with first letter upper case:
-</p><!--l. 4377--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4945--><p class="noindent" >
+</p><!--l. 4947--><p class="indent" > Singular with first letter upper case:
+</p><!--l. 4948--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrsubsequentfmt</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24083"></a> <span
+ id="dx1-25083"></a> <span
class="cmtt-10">\Glsxtrsubsequentfmt{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4379--><p class="noindent" >
+</p><!--l. 4950--><p class="noindent" >
-</p><!--l. 4381--><p class="indent" > Plural with no case-change:
-</p><!--l. 4382--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4952--><p class="indent" > Plural with no case-change:
+</p><!--l. 4953--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsubsequentplfmt</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24084"></a> <span
+ id="dx1-25084"></a> <span
class="cmtt-10">\glsxtrsubsequentplfmt{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9137,12 +10450,12 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4384--><p class="noindent" >
-</p><!--l. 4386--><p class="indent" > Plural with first letter upper case:
-</p><!--l. 4387--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 4955--><p class="noindent" >
+</p><!--l. 4957--><p class="indent" > Plural with first letter upper case:
+</p><!--l. 4958--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrsubsequentplfmt</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24085"></a> <span
+ id="dx1-25085"></a> <span
class="cmtt-10">\Glsxtrsubsequentplfmt{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9149,10 +10462,10 @@
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 4389--><p class="noindent" >
-</p><!--l. 4391--><p class="indent" > If you want to provide support for <span
+</p><!--l. 4960--><p class="noindent" >
+</p><!--l. 4962--><p class="indent" > If you want to provide support for <span
class="cmss-10">glossaries-accsupp</span><a
- id="dx1-24086"></a> use the following
+ id="dx1-25086"></a> use the following
<span
class="cmtt-10">\glsaccess</span>⟨<span
class="cmitt-10">xxx</span>⟩ commands (<a
@@ -9165,20 +10478,20 @@
class="cmti-10">xxx</span>⟩ commands. (If you
don’t use <span
class="cmss-10">glossaries-accsupp</span><a
- id="dx1-24087"></a>, they will just do the corresponding <span
+ id="dx1-25087"></a>, they will just do the corresponding <span
class="cmtt-10">\glsentry</span>⟨<span
class="cmti-10">xxx</span>⟩
command.)
-</p><!--l. 4399--><p class="indent" > For example, the <a
+</p><!--l. 4970--><p class="indent" > For example, the <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-24088"></a> style has the following in ⟨<span
+ id="dx1-25088"></a> style has the following in ⟨<span
class="cmti-10">fmts</span>⟩:
</p>
- <div class="verbatim" id="verbatim-103">
+ <div class="verbatim" id="verbatim-125">
  \renewcommand*{\abbrvpluralsuffix}{\glsxtrabbrvpluralsuffix}%
 <br />  \renewcommand*{\glsabbrvfont}[1]{\glsabbrvdefaultfont{##1}}%
 <br />  \renewcommand*{\glsfirstabbrvfont}[1]{\glsfirstabbrvdefaultfont{##1}}%
@@ -9207,17 +10520,17 @@
 <br />    \glsxtrparen{\glsfirstlongfont{\glsaccesslongpl{##1}}}%
 <br />  }%
</div>
-<!--l. 4429--><p class="nopar" > Since the inline full commands aren’t redefined, they default to the same as the
+<!--l. 5000--><p class="nopar" > Since the inline full commands aren’t redefined, they default to the same as the
display versions.
-</p><!--l. 4433--><p class="indent" > If you want to base a style on an existing style, you can use
-</p><!--l. 4434--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5004--><p class="indent" > If you want to base a style on an existing style, you can use
+</p><!--l. 5005--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrUseAbbrStyleFmts</span><span
class="cmtt-9"> </span></span><a
- id="dx1-24089"></a> <span
+ id="dx1-25089"></a> <span
class="cmtt-10">\GlsXtrUseAbbrStyleFmts{</span>⟨<span
class="cmitt-10">name</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4436--><p class="noindent" >
+</p><!--l. 5007--><p class="noindent" >
within ⟨<span
class="cmti-10">fmts</span>⟩, where ⟨<span
class="cmti-10">name</span>⟩ is the name of the existing style. For example, the
@@ -9224,20 +10537,20 @@
<a
href="#abbrstyle.long-short-desc"><span
class="cmss-10">long-short-desc</span></a><a
- id="dx1-24090"></a> style has the following in ⟨<span
+ id="dx1-25090"></a> style has the following in ⟨<span
class="cmti-10">fmts</span>⟩:
</p>
- <div class="verbatim" id="verbatim-104">
+ <div class="verbatim" id="verbatim-126">
  \GlsXtrUseAbbrStyleFmts{long-short}%
</div>
-<!--l. 4442--><p class="nopar" >
-</p><!--l. 4444--><p class="indent" > Here’s an example of an abbreviation style that’s based on <a
+<!--l. 5013--><p class="nopar" >
+</p><!--l. 5015--><p class="indent" > Here’s an example of an abbreviation style that’s based on <a
href="#abbrstyle.long-short"><span
class="cmss-10">long-short</span></a><a
- id="dx1-24091"></a> that displays
+ id="dx1-25091"></a> that displays
the short form within <span
class="cmtt-10">\textsf</span>:
@@ -9244,7 +10557,7 @@
</p>
- <div class="verbatim" id="verbatim-105">
+ <div class="verbatim" id="verbatim-127">
\newabbreviationstyle
 <br />{custom-sf}% label
 <br />{% setup
@@ -9255,20 +10568,20 @@
 <br />  \renewcommand*{\glsabbrvfont}[1]{\textsf{##1}}%
 <br />}
</div>
-<!--l. 4457--><p class="nopar" > Note that this wouldn’t work if it was instead based on one of the modified versions
+<!--l. 5028--><p class="nopar" > Note that this wouldn’t work if it was instead based on one of the modified versions
such as <a
href="#abbrstyle.short-sc-long"><span
class="cmss-10">short-sc-long</span></a><a
- id="dx1-24092"></a> as they explicitly use their own formatting commands, such as
+ id="dx1-25092"></a> as they explicitly use their own formatting commands, such as
<span
class="cmtt-10">\glsabbrvemfont</span>. The base styles, such as <a
href="#abbrstyle.short-long"><span
class="cmss-10">short-long</span></a><a
- id="dx1-24093"></a>, use the more generic
+ id="dx1-25093"></a>, use the more generic
<span
class="cmtt-10">\glsabbrvfont </span>etc which makes them easier to adapt than the modified
styles.
-</p><!--l. 4465--><p class="indent" > For further details, see the “Abbreviations” section in the documented code
+</p><!--l. 5036--><p class="indent" > For further details, see the “Abbreviations” section in the documented code
(<span
class="cmtt-10">glossaries-extra-code.pdf</span>).
@@ -9275,17 +10588,17 @@
</p>
-<!--l. 4468--><p class="indent" > </div>
-</p><!--l. 4468--><p class="noindent" ><a
+<!--l. 5039--><p class="indent" > </div>
+</p><!--l. 5039--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">4. <a
id="sec:headtitle"></a>Entries in Sectioning Titles, Headers, Captions and Contents</h2>
-</p><!--l. 4471--><p class="indent" > The <span
+</p><!--l. 5042--><p class="indent" > The <span
class="cmss-10">glossaries </span>user manual cautions against using commands like <span
class="cmtt-10">\gls </span>in chapter
or section titles. The principle problems are: </p>
<ul class="itemize1">
<li class="itemize">if you have a table of contents, the <a
- id="dx1-25001"></a><a
+ id="dx1-26001"></a><a
href="#glo:firstuseflag">first use flag</a> will be unset in the contents
rather than later in the document;
</li>
@@ -9302,27 +10615,27 @@
</li>
<li class="itemize">if you use <span
class="cmss-10">hyperref</span><a
- id="dx1-25002"></a>, commands like <span
+ id="dx1-26002"></a>, commands like <span
class="cmtt-10">\gls </span>can’t be expanded to a simple
string and only the label will appear in the PDF bookmark (with a warning
from <span
class="cmss-10">hyperref</span><a
- id="dx1-25003"></a>);
+ id="dx1-26003"></a>);
</li>
<li class="itemize">if you use <span
class="cmss-10">hyperref</span><a
- id="dx1-25004"></a>, you will end up with nested hyperlinks in the table of
+ id="dx1-26004"></a>, you will end up with nested hyperlinks in the table of
contents.</li></ul>
-<!--l. 4492--><p class="noindent" >Similar problems can also occur with captions (except for the page header and bookmark
+<!--l. 5063--><p class="noindent" >Similar problems can also occur with captions (except for the page header and bookmark
issues).
-</p><!--l. 4495--><p class="indent" > To get around all these problems, the <span
+</p><!--l. 5066--><p class="indent" > To get around all these problems, the <span
class="cmss-10">glossaries </span>user manual recommends
using the expandable non-hyperlink commands, such as <span
class="cmtt-10">\glsentrytext</span><a
- id="dx1-25005"></a>
+ id="dx1-26005"></a>
(for regular entries) or <span
class="cmtt-10">\glsentryshort</span><a
- id="dx1-25006"></a> (for abbreviations). This is the
+ id="dx1-26006"></a> (for abbreviations). This is the
simplest solution, but doesn’t allow for special formatting that’s applied to
the entry through commands like <span
class="cmtt-10">\glstext </span>or <span
@@ -9330,7 +10643,7 @@
that if, for example, you are using one of the abbreviation styles that uses
<span
class="cmtt-10">\textsc</span><a
- id="dx1-25007"></a> then the short form displayed with <span
+ id="dx1-26007"></a> then the short form displayed with <span
class="cmtt-10">\glsentryshort </span>won’t use
small caps. If you only have one abbreviation style in use, you can explicitly
enclose <span
@@ -9343,22 +10656,22 @@
</p>
- <div class="verbatim" id="verbatim-106">
+ <div class="verbatim" id="verbatim-128">
\chapter{A Chapter about \glsabbrvfont{\glsentryshort{html}}}
</div>
-<!--l. 4508--><p class="nopar" > Or, if you are using <span
+<!--l. 5079--><p class="nopar" > Or, if you are using <span
class="cmss-10">hyperref</span><a
- id="dx1-25008"></a>:
+ id="dx1-26008"></a>:
</p>
- <div class="verbatim" id="verbatim-107">
+ <div class="verbatim" id="verbatim-129">
\chapter{A Chapter about
 <br />\texorpdfstring{\glsabbrvfont{\glsentryshort{html}}}{\glsentryshort{html}}}
</div>
-<!--l. 4513--><p class="nopar" >
-</p><!--l. 4515--><p class="indent" > Since this is a bit cumbersome, you might want to define a new command to do
+<!--l. 5084--><p class="nopar" >
+</p><!--l. 5086--><p class="indent" > Since this is a bit cumbersome, you might want to define a new command to do
this for you. However, if you have mixed styles this won’t work as commands like
<span
class="cmtt-10">\gls </span>and <span
@@ -9371,21 +10684,22 @@
used by the standard page styles that display the chapter or section title in the page
header using <span
class="cmtt-10">\MakeUppercase</span><a
- id="dx1-25009"></a>.
-</p><!--l. 4526--><p class="indent" > The <span
+ id="dx1-26009"></a>.
+</p><!--l. 5097--><p class="indent" > The <span
class="cmss-10">glossaries-extra </span>package tries to resolve this by modifying <span
class="cmtt-10">\markright</span><a
- id="dx1-25010"></a> and
+ id="dx1-26010"></a> and
<span
class="cmtt-10">\markboth</span><a
- id="dx1-25011"></a>. If you don’t like this change, you can restore their former definitions
-using
-</p><!--l. 4529--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-26011"></a> and <span
+class="cmtt-10">\@starttoc</span>. If you don’t like this change, you can restore their
+former definitions using
+</p><!--l. 5100--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrRevertMarks</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25012"></a> <span
+ id="dx1-26012"></a> <span
class="cmtt-10">\glsxtrRevertMarks </span></div><hr>
-</p><!--l. 4531--><p class="noindent" >
+</p><!--l. 5102--><p class="noindent" >
In this case, you’ll have to use the <span
class="cmss-10">glossaries </span>manual’s recommendations of either
simply using <span
@@ -9396,40 +10710,46 @@
</p>
- <div class="verbatim" id="verbatim-108">
+ <div class="verbatim" id="verbatim-130">
\chapter[A Chapter about \glsentryshort{html}]{A Chapter about \gls{html}}
</div>
-<!--l. 4538--><p class="nopar" >
-</p><!--l. 4540--><p class="indent" > If you don’t revert the mark commands back with <span
+<!--l. 5109--><p class="nopar" > Alternatively, you need to find a way to insert <span
+class="cmtt-10">\glsxtrmarkhook </span>and <span
+class="cmtt-10">\@glsxtrinmark</span>
+at the start of the header or table of contents either scoped or afterwards cancelled
+with <span
+class="cmtt-10">\@glsxtrnotinmark </span>and <span
+class="cmtt-10">\glsxtrrestoremarkhook</span>.
+</p><!--l. 5115--><p class="indent" > If you don’t revert the mark commands back with <span
class="cmtt-10">\glsxtrRevertMarks</span>, you can
use the commands described below in the argument of sectioning commands. You can
still use them even if the mark commands have been reverted, but only where they
don’t conflict with the page style.
-</p><!--l. 4546--><p class="indent" > The commands listed below all use <span
+</p><!--l. 5121--><p class="indent" > The commands listed below all use <span
class="cmtt-10">\texorpdfstring</span><a
- id="dx1-25013"></a> if <span
+ id="dx1-26013"></a> if <span
class="cmss-10">hyperref</span><a
- id="dx1-25014"></a> has been
+ id="dx1-26014"></a> has been
loaded so that the expandable non-formatted version is added to the PDF
bookmarks. Note that since the commands that convert the first letter to
upper case aren’t expandable, the non-case-changing version is used for the
bookmarks.
-</p><!--l. 4552--><p class="indent" > These commands essentially behave as though you have used <span
+</p><!--l. 5127--><p class="indent" > These commands essentially behave as though you have used <span
class="cmtt-10">\glsxtrshort </span>(or
equivalent) with the options <span
class="cmss-10">noindex</span><a
- id="dx1-25015"></a> and <span
+ id="dx1-26015"></a> and <span
class="cmss-10">hyper=false</span><a
- id="dx1-25016"></a>. The text produced won’t be
+ id="dx1-26016"></a>. The text produced won’t be
converted to upper case in the page headings by default. If you want the text
converted to upper case you need to set the <a
href="#catattr.headuc"><span
class="cmss-10">headuc</span></a><a
- id="dx1-25017"></a> attribute to “true” for the
+ id="dx1-26017"></a> attribute to “true” for the
appropriate category.
-</p><!--l. 4560--><p class="indent" > <div class="important" title="Important Note"> If you use one of the <span
+</p><!--l. 5135--><p class="indent" > <div class="important" title="Important Note"> If you use one of the <span
class="cmtt-10">\textsc</span><a
- id="dx1-25018"></a> styles, be aware that the default fonts don’t
+ id="dx1-26018"></a> styles, be aware that the default fonts don’t
provide bold small-caps or italic small-caps. This means that if the chapter
or section title style uses bold, this may override the small-caps setting,
in which case the abbreviation will just appear as lower case bold. If the
@@ -9438,300 +10758,322 @@
class="cmti-10">even if you have set the </span><a
href="#catattr.headuc"><span
class="cmssi-10">headuc</span></a><a
- id="dx1-25019"></a> <span
+ id="dx1-26019"></a> <span
class="cmti-10">attribute </span>since the all-capitals form still uses
<span
class="cmtt-10">\glsabbrvfont</span>. You may want to consider using the <span
class="cmss-10">slantsc</span><a
- id="dx1-25020"></a> package in this case.
+ id="dx1-26020"></a> package in this case.
</div>
-</p><!--l. 4571--><p class="noindent" >
-</p><!--l. 4573--><p class="indent" > Display the short form:
-</p><!--l. 4574--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5146--><p class="noindent" >
+</p><!--l. 5148--><p class="indent" > Display the short form:
+</p><!--l. 5149--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25021"></a> <span
+ id="dx1-26021"></a> <span
class="cmtt-10">\glsfmtshort{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4576--><p class="noindent" >
-</p><!--l. 4578--><p class="indent" > Display the plural short form:
-</p><!--l. 4579--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5151--><p class="noindent" >
+</p><!--l. 5153--><p class="indent" > Display the plural short form:
+</p><!--l. 5154--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtshortpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25022"></a> <span
+ id="dx1-26022"></a> <span
class="cmtt-10">\glsfmtshortpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4581--><p class="noindent" >
-</p><!--l. 4583--><p class="indent" > First letter upper case singular short form:
-</p><!--l. 4584--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5156--><p class="noindent" >
+</p><!--l. 5158--><p class="indent" > First letter upper case singular short form:
+</p><!--l. 5159--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtshort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25023"></a> <span
+ id="dx1-26023"></a> <span
class="cmtt-10">\Glsfmtshort{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4586--><p class="noindent" >
+</p><!--l. 5161--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4589--><p class="indent" > First letter upper case plural short form:
-</p><!--l. 4590--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5164--><p class="indent" > First letter upper case plural short form:
+
+
+
+</p><!--l. 5165--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtshortpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25024"></a> <span
+ id="dx1-26024"></a> <span
class="cmtt-10">\Glsfmtshortpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-
-
-
-</p><!--l. 4592--><p class="noindent" >
+</p><!--l. 5167--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4595--><p class="indent" > Display the long form:
-</p><!--l. 4596--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5170--><p class="indent" > Display the long form:
+</p><!--l. 5171--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25025"></a> <span
+ id="dx1-26025"></a> <span
class="cmtt-10">\glsfmtlong{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4598--><p class="noindent" >
-</p><!--l. 4600--><p class="indent" > Display the plural long form:
-</p><!--l. 4601--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5173--><p class="noindent" >
+</p><!--l. 5175--><p class="indent" > Display the plural long form:
+</p><!--l. 5176--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtlongpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25026"></a> <span
+ id="dx1-26026"></a> <span
class="cmtt-10">\glsfmtlongpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4603--><p class="noindent" >
-</p><!--l. 4605--><p class="indent" > First letter upper case singular long form:
-</p><!--l. 4606--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5178--><p class="noindent" >
+</p><!--l. 5180--><p class="indent" > First letter upper case singular long form:
+</p><!--l. 5181--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtlong</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25027"></a> <span
+ id="dx1-26027"></a> <span
class="cmtt-10">\Glsfmtlong{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4608--><p class="noindent" >
+</p><!--l. 5183--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4611--><p class="indent" > First letter upper case plural long form:
-</p><!--l. 4612--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5186--><p class="indent" > First letter upper case plural long form:
+</p><!--l. 5187--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtlongpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25028"></a> <span
+ id="dx1-26028"></a> <span
class="cmtt-10">\Glsfmtlongpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4614--><p class="noindent" >
+</p><!--l. 5189--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4617--><p class="indent" > There are similar commands for the full form, but note that these use the <span
+</p><!--l. 5192--><p class="indent" > There are similar commands for the full form, but note that these use the <span
class="cmti-10">inline</span>
full form, which may be different from the full form used by <span
class="cmtt-10">\gls</span>.
-</p><!--l. 4621--><p class="indent" > Display the full form:
-</p><!--l. 4622--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5196--><p class="indent" > Display the full form:
+</p><!--l. 5197--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtfull</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25029"></a> <span
+ id="dx1-26029"></a> <span
class="cmtt-10">\glsfmtfull{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4624--><p class="noindent" >
-</p><!--l. 4626--><p class="indent" > Display the plural full form:
-</p><!--l. 4627--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5199--><p class="noindent" >
+</p><!--l. 5201--><p class="indent" > Display the plural full form:
+</p><!--l. 5202--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtfullpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25030"></a> <span
+ id="dx1-26030"></a> <span
class="cmtt-10">\glsfmtfullpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4629--><p class="noindent" >
-</p><!--l. 4631--><p class="indent" > First letter upper case singular full form:
-</p><!--l. 4632--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5204--><p class="noindent" >
+</p><!--l. 5206--><p class="indent" > First letter upper case singular full form:
+</p><!--l. 5207--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtfull</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25031"></a> <span
+ id="dx1-26031"></a> <span
class="cmtt-10">\Glsfmtfull{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4634--><p class="noindent" >
+</p><!--l. 5209--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4637--><p class="indent" > First letter upper case plural full form:
-</p><!--l. 4638--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5212--><p class="indent" > First letter upper case plural full form:
+</p><!--l. 5213--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtfullpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25032"></a> <span
+ id="dx1-26032"></a> <span
class="cmtt-10">\Glsfmtfullpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4640--><p class="noindent" >
+</p><!--l. 5215--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4643--><p class="indent" > There are also equivalent commands for the value of the <span
+</p><!--l. 5218--><p class="indent" > There are also equivalent commands for the value of the <span
class="cmss-10">text</span><a
- id="dx1-25033"></a> field:
-</p><!--l. 4645--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-26033"></a> field:
+</p><!--l. 5220--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmttext</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25034"></a> <span
+ id="dx1-26034"></a> <span
class="cmtt-10">\glsfmttext{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4647--><p class="noindent" >
-</p><!--l. 4649--><p class="indent" > First letter converted to upper case:
-</p><!--l. 4650--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5222--><p class="noindent" >
+</p><!--l. 5224--><p class="indent" > First letter converted to upper case:
+</p><!--l. 5225--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmttext</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25035"></a> <span
+ id="dx1-26035"></a> <span
class="cmtt-10">\Glsfmttext{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4652--><p class="noindent" >
+</p><!--l. 5227--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4655--><p class="indent" > The plural equivalents:
-</p><!--l. 4656--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5230--><p class="indent" > The plural equivalents:
+
+
+
+</p><!--l. 5231--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtplural</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25036"></a> <span
+ id="dx1-26036"></a> <span
class="cmtt-10">\glsfmtplural{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-
-
-
-</p><!--l. 4658--><p class="noindent" >
+</p><!--l. 5233--><p class="noindent" >
and
-</p><!--l. 4660--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5235--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtplural</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25037"></a> <span
+ id="dx1-26037"></a> <span
class="cmtt-10">\Glsfmtplural{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4662--><p class="noindent" >
-</p><!--l. 4664--><p class="indent" > Similarly for the value of the <span
+</p><!--l. 5237--><p class="noindent" >
+</p><!--l. 5239--><p class="indent" > Likewise for the value of the <span
+class="cmss-10">name</span><a
+ id="dx1-26038"></a> field:
+</p><!--l. 5241--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsfmtname</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-26039"></a> <span
+class="cmtt-10">\glsfmtname{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 5243--><p class="noindent" >
+</p><!--l. 5245--><p class="indent" > First letter converted to upper case:
+</p><!--l. 5246--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\Glsfmtname</span><span
+class="cmtt-9"> </span></span><a
+ id="dx1-26040"></a> <span
+class="cmtt-10">\Glsfmtname{</span>⟨<span
+class="cmitt-10">label</span>⟩<span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 5248--><p class="noindent" >
+(No case-change applied to PDF bookmarks.)
+</p><!--l. 5251--><p class="indent" > Similarly for the value of the <span
class="cmss-10">first</span><a
- id="dx1-25038"></a> field:
-</p><!--l. 4666--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-26041"></a> field:
+</p><!--l. 5253--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtfirst</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25039"></a> <span
+ id="dx1-26042"></a> <span
class="cmtt-10">\glsfmtfirst{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4668--><p class="noindent" >
-</p><!--l. 4670--><p class="indent" > First letter converted to upper case:
-</p><!--l. 4671--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5255--><p class="noindent" >
+</p><!--l. 5257--><p class="indent" > First letter converted to upper case:
+</p><!--l. 5258--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtfirst</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25040"></a> <span
+ id="dx1-26043"></a> <span
class="cmtt-10">\Glsfmtfirst{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4673--><p class="noindent" >
+</p><!--l. 5260--><p class="noindent" >
(No case-change applied to PDF bookmarks.)
-</p><!--l. 4676--><p class="indent" > The plural equivalents:
-</p><!--l. 4677--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5263--><p class="indent" > The plural equivalents:
+</p><!--l. 5264--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsfmtfirstpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25041"></a> <span
+ id="dx1-26044"></a> <span
class="cmtt-10">\glsfmtfirstpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4679--><p class="noindent" >
+</p><!--l. 5266--><p class="noindent" >
and
-</p><!--l. 4681--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5268--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsfmtfirstpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-25042"></a> <span
+ id="dx1-26045"></a> <span
class="cmtt-10">\Glsfmtfirstpl{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4683--><p class="noindent" >
+</p><!--l. 5270--><p class="noindent" >
</p>
-<!--l. 4685--><p class="indent" > </div>
-</p><!--l. 4685--><p class="noindent" ><a
+<!--l. 5272--><p class="indent" > </div>
+</p><!--l. 5272--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">5. <a
id="sec:categories"></a>Categories</h2>
-</p><!--l. 4688--><p class="indent" > Each entry defined by <span
+</p><!--l. 5275--><p class="indent" > Each entry defined by <span
class="cmtt-10">\newglossaryentry</span><a
- id="dx1-26001"></a> (or commands that internally use it
+ id="dx1-27001"></a> (or commands that internally use it
such as <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-26002"></a>) is assigned a category through the <span
+ id="dx1-27002"></a>) is assigned a category through the <span
class="cmss-10">category</span><a
- id="dx1-26003"></a> key. You may
+ id="dx1-27003"></a> key. You may
add any category that you like, but since the category is a label used in the creation
of some control sequences, avoid problematic characters within the category label.
(So take care if you have <span
class="cmss-10">babel</span><a
- id="dx1-26004"></a> shorthands on that make some characters
+ id="dx1-27004"></a> shorthands on that make some characters
active.)
-</p><!--l. 4697--><p class="indent" > The use of categories can give you more control over the way entries are displayed
+</p><!--l. 5284--><p class="indent" > The use of categories can give you more control over the way entries are displayed
in the text or glossary. Note that an entry’s category is independent of the glossary
type. Be careful not to confuse <span
class="cmss-10">category</span><a
- id="dx1-26005"></a> with <span
+ id="dx1-27005"></a> with <span
class="cmss-10">type</span><a
- id="dx1-26006"></a>.
-</p><!--l. 4702--><p class="indent" > The default category assumed by <span
+ id="dx1-27006"></a>.
+</p><!--l. 5289--><p class="indent" > The default category assumed by <span
class="cmtt-10">\newglossaryentry </span>is labelled <span
class="cmss-10">general</span><a
- id="dx1-26007"></a>.
+ id="dx1-27007"></a>.
Abbreviations defined with <span
class="cmtt-10">\newabbreviation </span>have the category set to <span
class="cmss-10">abbreviation</span><a
- id="dx1-26008"></a>
+ id="dx1-27008"></a>
by default. Abbreviations defined with <span
class="cmtt-10">\newacronym </span>have the category set to
<span
class="cmss-10">acronym</span><a
- id="dx1-26009"></a> by default.
-</p><!--l. 4709--><p class="indent" > Additionally, if you have enabled <span
+ id="dx1-27009"></a> by default.
+</p><!--l. 5296--><p class="indent" > Additionally, if you have enabled <span
class="cmtt-10">\newterm</span><a
- id="dx1-26010"></a> with the <span
-class="cmss-10">index</span><a
- id="dx1-26011"></a> package option
+ id="dx1-27010"></a> with the <a
+href="#styopt.index"><span
+class="cmss-10">index</span></a><a
+ id="dx1-27011"></a> package option
that command will set the category to <span
class="cmss-10">index</span><a
- id="dx1-26012"></a> by default. If you have enabled
+ id="dx1-27012"></a> by default. If you have enabled
<span
class="cmtt-10">\glsxtrnewsymbol</span><a
- id="dx1-26013"></a> with the <a
+ id="dx1-27013"></a> with the <a
href="#styopt.symbols"><span
class="cmss-10">symbols</span></a><a
- id="dx1-26014"></a> package option, that command will set the
+ id="dx1-27014"></a> package option, that command will set the
category to <span
class="cmss-10">symbol</span><a
- id="dx1-26015"></a>. If you have enabled <span
+ id="dx1-27015"></a>. If you have enabled <span
class="cmtt-10">\glsxtrnewnumber</span><a
- id="dx1-26016"></a> with the <a
+ id="dx1-27016"></a> with the <a
href="#styopt.numbers"><span
class="cmss-10">numbers</span></a><a
- id="dx1-26017"></a> package
+ id="dx1-27017"></a> package
option, that command will set the category to <span
class="cmss-10">number</span><a
- id="dx1-26018"></a>.
-</p><!--l. 4717--><p class="indent" > You can obtain the category label for a given entry using
-</p><!--l. 4718--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-27018"></a>.
+</p><!--l. 5304--><p class="indent" > You can obtain the category label for a given entry using
+</p><!--l. 5305--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glscategory</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26019"></a> <span
+ id="dx1-27019"></a> <span
class="cmtt-10">\glscategory{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4720--><p class="noindent" >
+</p><!--l. 5307--><p class="noindent" >
This is equivalent to commands like <span
class="cmtt-10">\glsentryname </span>and so may be used in an
expandable context. No error is generated if the entry doesn’t exist.
-</p><!--l. 4725--><p class="indent" > You can test the category for a given entry using
-</p><!--l. 4726--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5312--><p class="indent" > You can test the category for a given entry using
+</p><!--l. 5313--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifcategory</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26020"></a> <span
+ id="dx1-27020"></a> <span
class="cmtt-10">\glsifcategory{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -9743,12 +11085,12 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false part</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 4729--><p class="noindent" >
+</p><!--l. 5316--><p class="noindent" >
This is equivalent to </p><div class="alltt">
<div class="obeylines-v">
<span
class="cmtt-10">\ifglsfieldeq</span><a
- id="dx1-26021"></a><span
+ id="dx1-27021"></a><span
class="cmtt-10">{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}</span><span
@@ -9769,15 +11111,15 @@
</div> so any restrictions that apply to <span
class="cmtt-10">\ifglsfieldeq </span>also apply to <span
class="cmtt-10">\glsifcategory</span>.
-<!--l. 4738--><p class="indent" > Each category may have a set of attributes. For example, the <span
+<!--l. 5325--><p class="indent" > Each category may have a set of attributes. For example, the <span
class="cmss-10">general</span><a
- id="dx1-26022"></a> and <span
+ id="dx1-27022"></a> and <span
class="cmss-10">acronym</span><a
- id="dx1-26023"></a>
+ id="dx1-27023"></a>
categories have the attribute <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-26024"></a> set to “true” to indicate that all entries with
+ id="dx1-27024"></a> set to “true” to indicate that all entries with
either of those categories are regular entries (as opposed to abbreviations).
This attribute is accessed by <span
class="cmtt-10">\glsentryfmt </span>to determine whether to use
@@ -9784,25 +11126,25 @@
<span
class="cmtt-10">\glsgenentryfmt </span>or <span
class="cmtt-10">\glsxtrgenabbrvfmt</span>.
-</p><!--l. 4746--><p class="indent" > Other attributes recognised by <span
+</p><!--l. 5333--><p class="indent" > Other attributes recognised by <span
class="cmss-10">glossaries-extra </span>are:
</p><dl class="description"><dt class="description">
<a
id="catattr.nohyperfirst"></a><span
class="cmssbx-10">nohyperfirst</span><a
- id="dx1-26025"></a> </dt><dd
+ id="dx1-27025"></a> </dt><dd
class="description">When using commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-26026"></a> this will automatically suppress the
+ id="dx1-27026"></a> this will automatically suppress the
hyperlink on <a
- id="dx1-26027"></a><a
+ id="dx1-27027"></a><a
href="#glo:firstuse">first use</a> for entries with a category that has this attribute set to
“true”. (This settings can be overridden by explicitly setting the <span
class="cmss-10">hyper</span><a
- id="dx1-26028"></a> key on
+ id="dx1-27028"></a> key on
or off in the optional argument of commands like <span
class="cmtt-10">\gls</span>.) As from version 1.07,
<span
@@ -9810,42 +11152,44 @@
class="cmtt-10">\Glsfirst</span>, <span
class="cmtt-10">\GLSfirst </span>and their plural versions (which should
ideally behave in a similar way to the <a
- id="dx1-26029"></a>first use of <span
+ id="dx1-27029"></a>first use of <span
class="cmtt-10">\gls </span>or <span
class="cmtt-10">\glspl</span>) now honour
- this attribute (but not the package-wide <span
-class="cmss-10">hyperfirst=false</span><a
- id="dx1-26030"></a> option, which
+ this attribute (but not the package-wide <a
+href="#styopt.hyperfirst"><span
+class="cmss-10">hyperfirst</span></a><span
+class="cmss-10">=false</span><a
+ id="dx1-27030"></a> option, which
matches the behaviour of <span
class="cmss-10">glossaries</span><a
- id="dx1-26031"></a>). If you want commands these
+ id="dx1-27031"></a>). If you want commands these
<span
class="cmtt-10">\glsfirst </span>etc commands to ignore the <a
href="#catattr.nohyperfirst"><span
class="cmss-10">nohyperfirst</span></a><a
- id="dx1-26032"></a> attribute then just
+ id="dx1-27032"></a> attribute then just
redefine
- <!--l. 4763--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 5350--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrchecknohyperfirst</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26033"></a> <span
+ id="dx1-27033"></a> <span
class="cmtt-10">\glsxtrchecknohyperfirst{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 4765--><p class="noindent" >
+ </p><!--l. 5352--><p class="noindent" >
to do nothing.
</p></dd><dt class="description">
<a
id="catattr.nohyper"></a><span
class="cmssbx-10">nohyper</span><a
- id="dx1-26034"></a> </dt><dd
+ id="dx1-27034"></a> </dt><dd
class="description">When using commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-26035"></a> this will automatically suppress the
+ id="dx1-27035"></a> this will automatically suppress the
hyperlink for entries with a category that has this attribute set to “true”. (This
settings can be overridden by explicitly setting the <span
class="cmss-10">hyper</span><a
- id="dx1-26036"></a> key on or off in the
+ id="dx1-27036"></a> key on or off in the
optional argument of commands like <span
class="cmtt-10">\gls</span>.)
</dd><dt class="description">
@@ -9852,30 +11196,31 @@
<a
id="catattr.indexonlyfirst"></a><span
class="cmssbx-10">indexonlyfirst</span><a
- id="dx1-26037"></a> </dt><dd
-class="description">This is similar to the <span
-class="cmss-10">indexonlyfirst</span><a
- id="dx1-26038"></a> package option but only for entries
+ id="dx1-27037"></a> </dt><dd
+class="description">This is similar to the <a
+href="#styopt.indexonlyfirst"><span
+class="cmss-10">indexonlyfirst</span></a><a
+ id="dx1-27038"></a> package option but only for entries
that have a category with this attribute set to “true”.
</dd><dt class="description">
<a
id="catattr.wrgloss"></a><span
class="cmssbx-10">wrgloss</span><a
- id="dx1-26039"></a> </dt><dd
+ id="dx1-27039"></a> </dt><dd
class="description">When using commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-26040"></a>, if this attribute is set to “after”, it will
+ id="dx1-27040"></a>, if this attribute is set to “after”, it will
automatically implement <span
class="cmss-10">wrgloss</span><a
- id="dx1-26041"></a><span
+ id="dx1-27041"></a><span
class="cmss-10">=after</span>. (New to v1.14.)
</dd><dt class="description">
<a
id="catattr.discardperiod"></a><span
class="cmssbx-10">discardperiod</span><a
- id="dx1-26042"></a> </dt><dd
+ id="dx1-27042"></a> </dt><dd
class="description">If set to “true”, the post-<a
- id="dx1-26043"></a><a
+ id="dx1-27043"></a><a
href="#glo:linktext">link-text</a> hook will discard a full stop
(period) that follows <span
class="cmti-10">non-plural </span>commands like <span
@@ -9882,25 +11227,25 @@
class="cmtt-10">\gls </span>or <span
class="cmtt-10">\glstext</span>. (Provided
for entries such as abbreviations that end with a full stop.)
- <!--l. 4788--><p class="noindent" >Note that this can cause a problem if you access a field that doesn’t end with a
+ <!--l. 5375--><p class="noindent" >Note that this can cause a problem if you access a field that doesn’t end with a
full stop. For example:
</p>
- <div class="verbatim" id="verbatim-109">
+ <div class="verbatim" id="verbatim-131">
\newabbreviation
 <br /> [user1={German Speaking \TeX\ User Group}]
 <br /> {dante}{DANTE e.V.}{Deutschsprachige Anwendervereinigung \TeX\
 <br />e.V.}
</div>
- <!--l. 4795--><p class="nopar" > Here the <span
+ <!--l. 5382--><p class="nopar" > Here the <span
class="cmss-10">short</span><a
- id="dx1-26044"></a> and <span
+ id="dx1-27044"></a> and <span
class="cmss-10">long</span><a
- id="dx1-26045"></a> fields end with a full stop, but the <span
+ id="dx1-27045"></a> fields end with a full stop, but the <span
class="cmss-10">user1</span><a
- id="dx1-26046"></a> field doesn’t.
+ id="dx1-27046"></a> field doesn’t.
The simplest solution in this situation is to put the sentence terminator in the
final optional argument. For example:
@@ -9907,11 +11252,11 @@
</p>
- <div class="verbatim" id="verbatim-110">
+ <div class="verbatim" id="verbatim-132">
\glsuseri{dante}[.]
</div>
- <!--l. 4802--><p class="nopar" > This will bring the punctuation character inside the <a
- id="dx1-26047"></a><a
+ <!--l. 5389--><p class="nopar" > This will bring the punctuation character inside the <a
+ id="dx1-27047"></a><a
href="#glo:linktext">link-text</a> and it won’t be
discarded.
</p></dd><dt class="description">
@@ -9918,12 +11263,12 @@
<a
id="catattr.pluraldiscardperiod"></a><span
class="cmssbx-10">pluraldiscardperiod</span><a
- id="dx1-26048"></a> </dt><dd
+ id="dx1-27048"></a> </dt><dd
class="description">If this attribute is set to “true” <span
class="cmti-10">and </span>the <a
href="#catattr.discardperiod"><span
class="cmss-10">discardperiod</span></a><a
- id="dx1-26049"></a> attribute is
+ id="dx1-27049"></a> attribute is
set to “true”, this will behave as above for the plural commands like <span
class="cmtt-10">\glspl </span>or
<span
@@ -9932,17 +11277,17 @@
<a
id="catattr.retainfirstuseperiod"></a><span
class="cmssbx-10">retainfirstuseperiod</span><a
- id="dx1-26050"></a> </dt><dd
+ id="dx1-27050"></a> </dt><dd
class="description">If this attribute is set to “true” then the full stop won’t be
discarded for <a
- id="dx1-26051"></a><a
+ id="dx1-27051"></a><a
href="#glo:firstuse">first use</a> instances, even if <a
href="#catattr.discardperiod"><span
class="cmss-10">discardperiod</span></a><a
- id="dx1-26052"></a> or <a
+ id="dx1-27052"></a> or <a
href="#catattr.pluraldiscardperiod"><span
class="cmss-10">pluraldiscardperiod</span></a><a
- id="dx1-26053"></a> are
+ id="dx1-27053"></a> are
set. This is useful for ⟨<span
class="cmti-10">short</span>⟩ (⟨<span
class="cmti-10">long</span>⟩) abbreviation styles where only the short form
@@ -9951,52 +11296,52 @@
<a
id="catattr.markwords"></a><span
class="cmssbx-10">markwords</span><a
- id="dx1-26054"></a> </dt><dd
+ id="dx1-27054"></a> </dt><dd
class="description">If this attribute is set to “true” any entry defined using <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-26055"></a>
+ id="dx1-27055"></a>
will automatically have spaces in the long form replaced with
- <!--l. 4821--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 5408--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrwordsep</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26056"></a> <span
+ id="dx1-27056"></a> <span
class="cmtt-10">\glsxtrwordsep </span></div><hr>
- </p><!--l. 4823--><p class="noindent" >
+ </p><!--l. 5410--><p class="noindent" >
and each word is encapsulated with
- </p><!--l. 4825--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ </p><!--l. 5412--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrword</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26057"></a> <span
+ id="dx1-27057"></a> <span
class="cmtt-10">\glsxtrword{</span>⟨<span
class="cmitt-10">word</span>⟩<span
class="cmtt-10">} </span></div><hr>
- </p><!--l. 4827--><p class="noindent" >
+ </p><!--l. 5414--><p class="noindent" >
For example:
</p>
- <div class="verbatim" id="verbatim-111">
+ <div class="verbatim" id="verbatim-133">
\glssetcategoryattribute{abbreviation}{markwords}{true}
 <br />\newabbreviation{ip}{IP}{Internet Protocol}
</div>
- <!--l. 4832--><p class="nopar" > is essentially the same as
+ <!--l. 5419--><p class="nopar" > is essentially the same as
</p>
- <div class="verbatim" id="verbatim-112">
+ <div class="verbatim" id="verbatim-134">
\newabbreviation{ip}{IP}
 <br />{\glsxtrword{Internet}\glsxtrwordsep\glsxtrword{Protocol}}
</div>
- <!--l. 4837--><p class="nopar" > The “hyphen” styles, such as <a
+ <!--l. 5424--><p class="nopar" > The “hyphen” styles, such as <a
href="#abbrstyle.long-hyphen-short-hyphen"><span
class="cmss-10">long-hyphen-short-hyphen</span></a><a
- id="dx1-26058"></a>, take advantage of this
+ id="dx1-27058"></a>, take advantage of this
markup. If the inserted material (provided in the final argument of commands
like <span
class="cmtt-10">\gls</span><a
- id="dx1-26059"></a>) starts with a hyphen then <span
+ id="dx1-27059"></a>) starts with a hyphen then <span
class="cmtt-10">\glsxtrwordsep </span>is locally redefined to a
hyphen. (The default value is a space). Note that this only applies to
commands like <span
@@ -10007,51 +11352,51 @@
</p>
- <div class="verbatim" id="verbatim-113">
+ <div class="verbatim" id="verbatim-135">
\newcommand{\hyplong}[2][]{%
 <br /> {\def\glsxtrwordsep{-}\glsxtrlong[#1]{#2}}}
</div>
- <!--l. 4849--><p class="nopar" >
- </p><!--l. 4851--><p class="noindent" >This setting will also adjust the long plural.
- </p><!--l. 4853--><p class="noindent" ><div class="important" title="Important Note"> This setting may result in the <span
+ <!--l. 5436--><p class="nopar" >
+ </p><!--l. 5438--><p class="noindent" >This setting will also adjust the long plural.
+ </p><!--l. 5440--><p class="noindent" ><div class="important" title="Important Note"> This setting may result in the <span
class="cmtt-10">\glsxtrword </span>and <span
class="cmtt-10">\glsxtrwordsep </span>markup
ending up in the <span
class="cmss-10">sort</span><a
- id="dx1-26060"></a> field, depending on the style in use. </div>
- </p><!--l. 4857--><p class="noindent" >
+ id="dx1-27060"></a> field, depending on the style in use. </div>
+ </p><!--l. 5444--><p class="noindent" >
</p></dd><dt class="description">
<a
id="catattr.markshortwords"></a><span
class="cmssbx-10">markshortwords</span><a
- id="dx1-26061"></a> </dt><dd
+ id="dx1-27061"></a> </dt><dd
class="description">This is similar to <a
href="#catattr.markwords"><span
class="cmss-10">markwords</span></a><a
- id="dx1-26062"></a> but applies to the short form. (Only
+ id="dx1-27062"></a> but applies to the short form. (Only
useful for abbreviations that contain spaces.)
- <!--l. 4863--><p class="noindent" >This setting will only adjust the short plural if the <span
+ <!--l. 5450--><p class="noindent" >This setting will only adjust the short plural if the <span
class="cmss-10">shortplural</span><a
- id="dx1-26063"></a> key isn’t used.
+ id="dx1-27063"></a> key isn’t used.
This setting will take precedence over <a
href="#catattr.insertdots"><span
class="cmss-10">insertdots</span></a><a
- id="dx1-26064"></a>.
- </p><!--l. 4867--><p class="noindent" ><div class="important" title="Important Note"> This setting may result in the <span
+ id="dx1-27064"></a>.
+ </p><!--l. 5454--><p class="noindent" ><div class="important" title="Important Note"> This setting may result in the <span
class="cmtt-10">\glsxtrword </span>and <span
class="cmtt-10">\glsxtrwordsep </span>markup
ending up in the <span
class="cmss-10">sort</span><a
- id="dx1-26065"></a> field, depending on the style in use. </div>
- </p><!--l. 4871--><p class="noindent" >
+ id="dx1-27065"></a> field, depending on the style in use. </div>
+ </p><!--l. 5458--><p class="noindent" >
</p></dd><dt class="description">
<a
id="catattr.insertdots"></a><span
class="cmssbx-10">insertdots</span><a
- id="dx1-26066"></a> </dt><dd
+ id="dx1-27066"></a> </dt><dd
class="description">If this attribute is set to “true” any entry defined using <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-26067"></a>
+ id="dx1-27067"></a>
will automatically have full stops (periods) inserted after each letter. The entry
will be defined with those dots present as though they had been present in the
⟨<span
@@ -10065,27 +11410,27 @@
class="cmti-10">incompatible with </span><a
href="#catattr.markshortwords"><span
class="cmssi-10">markshortwords</span></a><a
- id="dx1-26068"></a><span
+ id="dx1-27068"></a><span
class="cmti-10">.</span>
- <!--l. 4883--><p class="noindent" ><div class="important" title="Important Note"> If you explicitly override the short plural using the <span
+ <!--l. 5470--><p class="noindent" ><div class="important" title="Important Note"> If you explicitly override the short plural using the <span
class="cmss-10">shortplural</span><a
- id="dx1-26069"></a> key, you must
+ id="dx1-27069"></a> key, you must
explicitly insert the dots yourself (since there’s no way for the code to
determine if the plural has a suffix that shouldn’t be followed by a dot).
</div>
- </p><!--l. 4889--><p class="noindent" >
- </p><!--l. 4891--><p class="noindent" >This attribute is best used with the <a
+ </p><!--l. 5476--><p class="noindent" >
+ </p><!--l. 5478--><p class="noindent" >This attribute is best used with the <a
href="#catattr.discardperiod"><span
class="cmss-10">discardperiod</span></a><a
- id="dx1-26070"></a> attribute set to “true”.
+ id="dx1-27070"></a> attribute set to “true”.
</p></dd><dt class="description">
<a
id="catattr.aposplural"></a><span
class="cmssbx-10">aposplural</span><a
- id="dx1-26071"></a> </dt><dd
+ id="dx1-27071"></a> </dt><dd
class="description">If this attribute is set to “true”, <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-26072"></a> will insert an
+ id="dx1-27072"></a> will insert an
apostrophe (’) before the plural suffix for the <span
class="cmti-10">short </span>plural form (unless
@@ -10093,24 +11438,24 @@
explicitly overridden with the <span
class="cmss-10">shortplural</span><a
- id="dx1-26073"></a> key). The long plural form is
+ id="dx1-27073"></a> key). The long plural form is
unaffected by this setting. This setting overrides <a
href="#catattr.noshortplural"><span
class="cmss-10">noshortplural</span></a><a
- id="dx1-26074"></a>.
+ id="dx1-27074"></a>.
</dd><dt class="description">
<a
id="catattr.noshortplural"></a><span
class="cmssbx-10">noshortplural</span><a
- id="dx1-26075"></a> </dt><dd
+ id="dx1-27075"></a> </dt><dd
class="description">If this attribute is set to “true”, <span
class="cmtt-10">\newabbreviation</span><a
- id="dx1-26076"></a> won’t append the
+ id="dx1-27076"></a> won’t append the
plural suffix for the short plural form. This means the <span
class="cmss-10">short</span><a
- id="dx1-26077"></a> and <span
+ id="dx1-27077"></a> and <span
class="cmss-10">shortplural</span><a
- id="dx1-26078"></a>
+ id="dx1-27078"></a>
values will be the same unless explicitly overridden. <span
class="cmti-10">This setting is incompatible</span>
<span
@@ -10117,28 +11462,28 @@
class="cmti-10">with </span><a
href="#catattr.aposplural"><span
class="cmssi-10">aposplural</span></a><a
- id="dx1-26079"></a><span
+ id="dx1-27079"></a><span
class="cmti-10">.</span>
</dd><dt class="description">
<a
id="catattr.headuc"></a><span
class="cmssbx-10">headuc</span><a
- id="dx1-26080"></a> </dt><dd
+ id="dx1-27080"></a> </dt><dd
class="description">If this attribute is set to “true”, commands like <span
class="cmtt-10">\glsfmtshort</span><a
- id="dx1-26081"></a> will use the
+ id="dx1-27081"></a> will use the
upper case version in the page headers.
</dd><dt class="description">
<a
id="catattr.tagging"></a><span
class="cmssbx-10">tagging</span><a
- id="dx1-26082"></a> </dt><dd
+ id="dx1-27082"></a> </dt><dd
class="description">If this attribute is set to “true”, the tagging command defined by
<span
class="cmtt-10">\GlsXtrEnableInitialTagging</span><a
- id="dx1-26083"></a> will be activated to use <span
+ id="dx1-27083"></a> will be activated to use <span
class="cmtt-10">\glsxtrtagfont</span><a
- id="dx1-26084"></a> in
+ id="dx1-27084"></a> in
the glossary (see <a
href="#sec:tagging"><span
class="cmsy-10">§</span>3.1 </a><a
@@ -10147,11 +11492,11 @@
<a
id="catattr.entrycount"></a><span
class="cmssbx-10">entrycount</span><a
- id="dx1-26085"></a> </dt><dd
+ id="dx1-27085"></a> </dt><dd
class="description">Unlike the above attributes, this attribute isn’t boolean but instead must
be an integer value and is used in combination with <span
class="cmtt-10">\glsenableentrycount</span><a
- id="dx1-26086"></a>
+ id="dx1-27086"></a>
(see <a
href="#sec:entrycountmods"><span
class="cmsy-10">§</span>2.4 </a><a
@@ -10159,11 +11504,11 @@
categories that shouldn’t have this facility enabled. The value of this attribute
is used by <span
class="cmtt-10">\glsxtrifcounttrigger</span><a
- id="dx1-26087"></a> to determine how commands such as <span
+ id="dx1-27087"></a> to determine how commands such as <span
class="cmtt-10">\cgls</span><a
- id="dx1-26088"></a>
+ id="dx1-27088"></a>
should behave.
- <!--l. 4924--><p class="noindent" >With <span
+ <!--l. 5511--><p class="noindent" >With <span
class="cmss-10">glossaries</span>, commands like <span
class="cmtt-10">\cgls </span>use <span
class="cmtt-10">\cglsformat </span>only if the previous
@@ -10172,7 +11517,7 @@
for entries that have the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-26089"></a> attribute set and where the previous
+ id="dx1-27089"></a> attribute set and where the previous
usage count for that entry is less than or equal to the value of that
attribute.
</p></dd><dt class="description">
@@ -10179,10 +11524,10 @@
<a
id="catattr.glossdesc"></a><span
class="cmssbx-10">glossdesc</span><a
- id="dx1-26090"></a> </dt><dd
+ id="dx1-27090"></a> </dt><dd
class="description">The <span
class="cmtt-10">\glossentrydesc</span><a
- id="dx1-26091"></a> command (used in the predefined glossary styles) is
+ id="dx1-27091"></a> command (used in the predefined glossary styles) is
modified by <span
class="cmss-10">glossaries-extra </span>to check for this attribute. The attribute may have
one of the following values:
@@ -10191,34 +11536,34 @@
class="cmtt-10">firstuc</span>: the first letter of the description will be converted to upper
case (using <span
class="cmtt-10">\Glsentrydesc</span><a
- id="dx1-26092"></a>).
+ id="dx1-27092"></a>).
</li>
<li class="itemize"><span
class="cmtt-10">title</span>: the description will be used in the argument of the title casing
command <span
class="cmtt-10">\capitalisewords</span><a
- id="dx1-26093"></a> (provided by <span
+ id="dx1-27093"></a> (provided by <span
class="cmss-10">mfirstuc</span><a
- id="dx1-26094"></a>). If you want to use a
+ id="dx1-27094"></a>). If you want to use a
different command you can redefine:
- <!--l. 4943--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
+ <!--l. 5530--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrfieldtitlecasecs</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26095"></a> <span
+ id="dx1-27095"></a> <span
class="cmtt-10">\glsxtrfieldtitlecasecs{</span>⟨<span
class="cmitt-10">phrase cs</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
- </p><!--l. 4945--><p class="noindent" >
+ </p><!--l. 5532--><p class="noindent" >
For example:
</p>
- <div class="verbatim" id="verbatim-114">
+ <div class="verbatim" id="verbatim-136">
\newcommand*{\glsxtrfieldtitlecasecs}[1]{\xcapitalisefmtwords*{#1}}
</div>
- <!--l. 4949--><p class="nopar" > (Note that the argument to <span
+ <!--l. 5536--><p class="nopar" > (Note that the argument to <span
class="cmtt-10">\glsxtrfieldtitlecasecs </span>will be a control
sequence whose replacement text is the entry’s description, which is why
<span
@@ -10226,20 +11571,20 @@
class="cmtt-10">\capitalisefmtwords</span>.)
</p>
</li></ul>
- <!--l. 4956--><p class="noindent" >Any other values of this attribute are ignored. Remember that there are design
+ <!--l. 5543--><p class="noindent" >Any other values of this attribute are ignored. Remember that there are design
limitations for both the first letter uppercasing and the title casing commands.
See the <span
class="cmss-10">mfirstuc</span><a
- id="dx1-26096"></a> user manual for further details.
+ id="dx1-27096"></a> user manual for further details.
</p></dd><dt class="description">
<a
id="catattr.glossdescfont"></a><span
class="cmssbx-10">glossdescfont</span><a
- id="dx1-26097"></a> </dt><dd
+ id="dx1-27097"></a> </dt><dd
class="description">(New to version 1.04) In addition to the above, the modified
<span
class="cmtt-10">\glossentrydesc</span><a
- id="dx1-26098"></a> command also checks this attribute. If set, it should be the
+ id="dx1-27098"></a> command also checks this attribute. If set, it should be the
name of a control sequence (without the leading backslash) that takes one
argument. This control sequence will be applied to the description text. For
example:
@@ -10246,34 +11591,34 @@
- <div class="verbatim" id="verbatim-115">
+ <div class="verbatim" id="verbatim-137">
\glssetcategoryattribute{general}{glossdescfont}{emph}
</div>
- <!--l. 4969--><p class="nopar" >
+ <!--l. 5556--><p class="nopar" >
</p></dd><dt class="description">
<a
id="catattr.glossname"></a><span
class="cmssbx-10">glossname</span><a
- id="dx1-26099"></a> </dt><dd
+ id="dx1-27099"></a> </dt><dd
class="description">As <a
href="#catattr.glossdesc"><span
class="cmss-10">glossdesc</span></a><a
- id="dx1-26100"></a> but applies to <span
+ id="dx1-27100"></a> but applies to <span
class="cmtt-10">\glossentryname</span><a
- id="dx1-26101"></a>. Additionally, if this
+ id="dx1-27101"></a>. Additionally, if this
attribute is set to “uc” the name is converted to all capitals.
</dd><dt class="description">
<a
id="catattr.indexname"></a><span
class="cmssbx-10">indexname</span><a
- id="dx1-26102"></a> </dt><dd
+ id="dx1-27102"></a> </dt><dd
class="description">If set, the <span
class="cmtt-10">\glsxtrpostnamehook </span>hook used at the end of <span
-class="cmtt-10">\glossentyname</span><a
- id="dx1-26103"></a>
+class="cmtt-10">\glossentryname</span><a
+ id="dx1-27103"></a>
will index the entry using <span
class="cmtt-10">\index</span><a
- id="dx1-26104"></a>. See <a
+ id="dx1-27104"></a>. See <a
href="#sec:autoindex"><span
class="cmsy-10">§</span>7 </a><a
href="#sec:autoindex">Auto-Indexing<!--tex4ht:ref: sec:autoindex --></a> for further
@@ -10282,11 +11627,11 @@
<a
id="catattr.glossnamefont"></a><span
class="cmssbx-10">glossnamefont</span><a
- id="dx1-26105"></a> </dt><dd
+ id="dx1-27105"></a> </dt><dd
class="description">(New to version 1.04) In addition to the above, the modified
<span
class="cmtt-10">\glossentryname</span><a
- id="dx1-26106"></a> command also checks this attribute. If set, it should be the
+ id="dx1-27106"></a> command also checks this attribute. If set, it should be the
name of a control sequence (without the leading backslash) that takes one
argument. This control sequence will be applied to the name text. For
example:
@@ -10293,30 +11638,61 @@
- <div class="verbatim" id="verbatim-116">
+ <div class="verbatim" id="verbatim-138">
\glssetcategoryattribute{general}{glossnamefont}{emph}
</div>
- <!--l. 4989--><p class="nopar" > Note that this overrides <span
+ <!--l. 5576--><p class="nopar" > Note that this overrides <span
class="cmtt-10">\glsnamefont </span>which will only be used if this attribute
hasn’t been set.
- </p><!--l. 4993--><p class="noindent" >Remember that glossary styles may additionally apply a font change,
+ </p><!--l. 5580--><p class="noindent" >Remember that glossary styles may additionally apply a font change,
such as the list styles which put the name in the optional argument of
<span
class="cmtt-10">\item</span>.
</p></dd><dt class="description">
<a
+ id="catattr.textformat"></a><span
+class="cmssbx-10">textformat</span><a
+ id="dx1-27107"></a> </dt><dd
+class="description">(New to version 1.21.) Commands like <span
+class="cmtt-10">\gls </span>and <span
+class="cmtt-10">\glstext </span>have the link
+ text encapsulated in the argument of <span
+class="cmtt-10">\glstextformat </span>by default. If this
+ attribute is set, the control sequence given by the attribute value will be used
+ instead. As with the above, the attribute value should be the name (without
+ the leading backslash) of a command that takes a single argument (the link
+ text). Remember that the abbreviation styles may apply an additional font
+ change.
+ </dd><dt class="description">
+<a
+ id="catattr.hyperoutside"></a><span
+class="cmssbx-10">hyperoutside</span><a
+ id="dx1-27108"></a> </dt><dd
+class="description">(New to v1.21.) The attribute value may be <span
+class="cmtt-10">false</span>, <span
+class="cmtt-10">true </span>or unset. If
+ unset, <span
+class="cmtt-10">true </span>is assumed. This indicates the default setting of the <span
+class="cmss-10">hyperoutside</span><a
+ id="dx1-27109"></a>
+ key, described in <a
+href="#sec:wrglossary"><span
+class="cmsy-10">§</span>2.1 </a><a
+href="#sec:wrglossary">Entry Indexing<!--tex4ht:ref: sec:wrglossary --></a>.
+ </dd><dt class="description">
+<a
id="catattr.dualindex"></a><span
class="cmssbx-10">dualindex</span><a
- id="dx1-26107"></a> </dt><dd
+ id="dx1-27110"></a> </dt><dd
class="description">If set, whenever a glossary entry has information written to the external
glossary file through commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-26108"></a> and <span
+ id="dx1-27111"></a> and <span
class="cmtt-10">\glsadd</span><a
- id="dx1-26109"></a>, a corresponding line
+ id="dx1-27112"></a>, a corresponding line
will be written to the indexing file using <span
class="cmtt-10">\index</span><a
- id="dx1-26110"></a>. See <a
+ id="dx1-27113"></a>. See <a
href="#sec:autoindex"><span
class="cmsy-10">§</span>7 </a><a
href="#sec:autoindex">Auto-Indexing<!--tex4ht:ref: sec:autoindex --></a> for
@@ -10325,7 +11701,7 @@
<a
id="catattr.targeturl"></a><span
class="cmssbx-10">targeturl</span><a
- id="dx1-26111"></a> </dt><dd
+ id="dx1-27114"></a> </dt><dd
class="description">If set, the hyperlink generated by commands like <span
class="cmtt-10">\gls </span>will be set to the
URL provided by this attributes value. For example:
@@ -10332,10 +11708,10 @@
- <div class="verbatim" id="verbatim-117">
+ <div class="verbatim" id="verbatim-139">
\glssetcategoryattribute{general}{targeturl}{master-doc.pdf}
</div>
- <!--l. 5008--><p class="nopar" > (See also the accompanying sample file <span
+ <!--l. 5610--><p class="nopar" > (See also the accompanying sample file <span
class="cmtt-10">sample-external.tex</span>.) If the URL
contains awkward characters (such as <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">%</span></span></span> or <span class="obeylines-h"><span class="verb"><span
@@ -10343,16 +11719,16 @@
class="cmss-10">glossaries</span>
package provides commands like <span
class="cmtt-10">\glspercentchar</span><a
- id="dx1-26112"></a> and <span
+ id="dx1-27115"></a> and <span
class="cmtt-10">\glstildechar </span>that
expand to literal characters.
- </p><!--l. 5016--><p class="noindent" >If you want to a named anchor within the target URL (notionally adding
+ </p><!--l. 5618--><p class="noindent" >If you want to a named anchor within the target URL (notionally adding
<span
class="cmtt-10">#</span>⟨<span
class="cmti-10">name</span>⟩ to the URL), then you also need to set <a
href="#catattr.targetname"><span
class="cmss-10">targetname</span></a><a
- id="dx1-26113"></a> to the anchor ⟨<span
+ id="dx1-27116"></a> to the anchor ⟨<span
class="cmti-10">name</span>⟩.
You may use <span
class="cmtt-10">\glslabel </span>within ⟨<span
@@ -10359,7 +11735,7 @@
class="cmti-10">name</span>⟩ which is set by commands like <span
class="cmtt-10">\gls </span>to
the entry’s label.
- </p><!--l. 5022--><p class="noindent" >All the predefined glossary styles start each entry listing with <span
+ </p><!--l. 5624--><p class="noindent" >All the predefined glossary styles start each entry listing with <span
class="cmtt-10">\glstarget</span>
which sets the anchor to <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\glolinkprefix\glslabel</span></span></span>, so if you want
@@ -10366,56 +11742,56 @@
entries to link to glossaries in the URL given by <a
href="#catattr.targeturl"><span
class="cmss-10">targeturl</span></a><a
- id="dx1-26114"></a>, you can just
+ id="dx1-27117"></a>, you can just
do:
</p>
- <div class="verbatim" id="verbatim-118">
+ <div class="verbatim" id="verbatim-140">
\glssetcategoryattribute{general}{targetname}{\glolinkprefix\glslabel}
</div>
- <!--l. 5029--><p class="nopar" > (If the target document changed <span
+ <!--l. 5631--><p class="nopar" > (If the target document changed <span
class="cmtt-10">\glolinkprefix </span>then you will need to adjust
the above as appropriate.)
- </p><!--l. 5033--><p class="noindent" >If the anchor is in the form ⟨<span
+ </p><!--l. 5635--><p class="noindent" >If the anchor is in the form ⟨<span
class="cmti-10">name1</span>⟩<span
class="cmtt-10">.</span>⟨<span
class="cmti-10">name2</span>⟩ then use <a
href="#catattr.targetname"><span
class="cmss-10">targetname</span></a><a
- id="dx1-26115"></a> for the ⟨<span
+ id="dx1-27118"></a> for the ⟨<span
class="cmti-10">name2</span>⟩
part and <a
href="#catattr.targetcategory"><span
class="cmss-10">targetcategory</span></a><a
- id="dx1-26116"></a> for the ⟨<span
+ id="dx1-27119"></a> for the ⟨<span
class="cmti-10">name1</span>⟩ part.
- </p><!--l. 5037--><p class="noindent" >For example:
+ </p><!--l. 5639--><p class="noindent" >For example:
</p>
- <div class="verbatim" id="verbatim-119">
+ <div class="verbatim" id="verbatim-141">
\glssetcategoryattribute{general}{targeturl}{master-doc.pdf}
 <br />\glssetcategoryattribute{general}{targetcategory}{page}
 <br />\glssetcategoryattribute{general}{targetname}{7}
</div>
- <!--l. 5042--><p class="nopar" > will cause all link text for <span
+ <!--l. 5644--><p class="nopar" > will cause all link text for <span
class="cmtt-10">general </span>entries to link to <span
class="cmtt-10">master-doc.pdf#page.7</span>
(page 7 of that PDF).
- </p><!--l. 5046--><p class="noindent" >If you want a mixture in your document of entries that link to an internal
+ </p><!--l. 5648--><p class="noindent" >If you want a mixture in your document of entries that link to an internal
glossary and entries that link to an external URL then you can use
the starred form of <span
class="cmtt-10">\newignoredglossary</span><a
- id="dx1-26117"></a> for the external list. For
+ id="dx1-27120"></a> for the external list. For
example:
</p>
- <div class="verbatim" id="verbatim-120">
+ <div class="verbatim" id="verbatim-142">
\newignoredglossary*{external}
 <br />\glssetcategoryattribute{external}{targeturl}{master-doc.pdf}
 <br />\glssetcategoryattribute{general}{targetname}{\glolinkprefix\glslabel}
@@ -10425,14 +11801,14 @@
 <br />  category=external,
 <br />  description={external example}}
</div>
- <!--l. 5062--><p class="nopar" >
+ <!--l. 5664--><p class="nopar" >
</p>
</dd></dl>
-<!--l. 5067--><p class="indent" > An attribute can be set using:
-</p><!--l. 5068--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+<!--l. 5669--><p class="indent" > An attribute can be set using:
+</p><!--l. 5670--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glssetcategoryattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26118"></a> <span
+ id="dx1-27121"></a> <span
class="cmtt-10">\glssetcategoryattribute{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
@@ -10442,31 +11818,31 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">value</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5070--><p class="noindent" >
+</p><!--l. 5672--><p class="noindent" >
where ⟨<span
class="cmti-10">category-label</span>⟩ is the category label, ⟨<span
class="cmti-10">attribute-label</span>⟩ is the attribute label and
⟨<span
class="cmti-10">value</span>⟩ is the new value for the attribute.
-</p><!--l. 5075--><p class="indent" > There is a shortcut version to set the <a
+</p><!--l. 5677--><p class="indent" > There is a shortcut version to set the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-26119"></a> attribute to “true”:
-</p><!--l. 5077--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-27122"></a> attribute to “true”:
+</p><!--l. 5679--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glssetregularcategory</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26120"></a> <span
+ id="dx1-27123"></a> <span
class="cmtt-10">\glssetregularcategory{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5079--><p class="noindent" >
-</p><!--l. 5081--><p class="indent" > If you need to lookup the category label for a particular entry, you can use the
+</p><!--l. 5681--><p class="noindent" >
+</p><!--l. 5683--><p class="indent" > If you need to lookup the category label for a particular entry, you can use the
shortcut command:
-</p><!--l. 5083--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5685--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glssetattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26121"></a> <span
+ id="dx1-27124"></a> <span
class="cmtt-10">\glssetattribute{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10476,16 +11852,16 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">value</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5085--><p class="noindent" >
+</p><!--l. 5687--><p class="noindent" >
This uses <span
class="cmtt-10">\glssetcategoryattribute </span>with <span
class="cmtt-10">\glscategory </span>to set the attribute. Note
that this will affect all other entries that share this entry’s category.
-</p><!--l. 5090--><p class="indent" > You can fetch the value of an attribute for a particular category using:
-</p><!--l. 5092--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5692--><p class="indent" > You can fetch the value of an attribute for a particular category using:
+</p><!--l. 5694--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsgetcategoryattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26122"></a> <span
+ id="dx1-27125"></a> <span
class="cmtt-10">\glsgetcategoryattribute{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
@@ -10493,13 +11869,13 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">attribute-label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5094--><p class="noindent" >
+</p><!--l. 5696--><p class="noindent" >
Again there is a shortcut if you need to lookup the category label for a given
entry:
-</p><!--l. 5097--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5699--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsgetattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26123"></a> <span
+ id="dx1-27126"></a> <span
class="cmtt-10">\glsgetattribute{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10509,12 +11885,12 @@
-</p><!--l. 5099--><p class="noindent" >
-</p><!--l. 5101--><p class="indent" > You can test if an attribute has been assigned to a given category using:
-</p><!--l. 5103--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5701--><p class="noindent" >
+</p><!--l. 5703--><p class="indent" > You can test if an attribute has been assigned to a given category using:
+</p><!--l. 5705--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glshascategoryattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26124"></a> <span
+ id="dx1-27127"></a> <span
class="cmtt-10">\glshascategoryattribute{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
@@ -10526,19 +11902,19 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false code</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5106--><p class="noindent" >
+</p><!--l. 5708--><p class="noindent" >
This uses <span
class="cmss-10">etoolbox</span><a
- id="dx1-26125"></a>’s <span
+ id="dx1-27128"></a>’s <span
class="cmtt-10">\ifcsvoid </span>and does ⟨<span
class="cmti-10">true code</span>⟩ if the attribute has been set and
isn’t blank and isn’t <span
class="cmtt-10">\relax</span>. The shortcut if you need to lookup the category label
from an entry is:
-</p><!--l. 5111--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5713--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glshasattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26126"></a> <span
+ id="dx1-27129"></a> <span
class="cmtt-10">\glshasattribute{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10550,12 +11926,12 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false code</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5114--><p class="noindent" >
-</p><!--l. 5116--><p class="indent" > You can test the value of an attribute for a particular category using:
-</p><!--l. 5118--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5716--><p class="noindent" >
+</p><!--l. 5718--><p class="indent" > You can test the value of an attribute for a particular category using:
+</p><!--l. 5720--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifcategoryattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26127"></a> <span
+ id="dx1-27130"></a> <span
class="cmtt-10">\glsifcategoryattribute{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
@@ -10569,7 +11945,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false-part</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5120--><p class="noindent" >
+</p><!--l. 5722--><p class="noindent" >
This tests if the attribute (given by ⟨<span
class="cmti-10">attribute-label</span>⟩) for the category (given by
⟨<span
@@ -10579,35 +11955,35 @@
isn’t set or is set but isn’t equal to ⟨<span
class="cmti-10">value</span>⟩, ⟨<span
class="cmti-10">false part</span>⟩ is done.
-</p><!--l. 5127--><p class="indent" > For example:
+</p><!--l. 5729--><p class="indent" > For example:
</p>
- <div class="verbatim" id="verbatim-121">
+ <div class="verbatim" id="verbatim-143">
\glsifcategoryattribute{general}{nohyper}{true}{NO HYPER}{HYPER}
</div>
-<!--l. 5130--><p class="nopar" > This does “NO HYPER” if the <span
+<!--l. 5732--><p class="nopar" > This does “NO HYPER” if the <span
class="cmss-10">general</span><a
- id="dx1-26128"></a> category has the <a
+ id="dx1-27131"></a> category has the <a
href="#catattr.nohyper"><span
class="cmss-10">nohyper</span></a><a
- id="dx1-26129"></a> attribute set to
+ id="dx1-27132"></a> attribute set to
<span
class="cmtt-10">true </span>otherwise if does “HYPER”.
-</p><!--l. 5135--><p class="indent" > With boolean-style attributes like <a
+</p><!--l. 5737--><p class="indent" > With boolean-style attributes like <a
href="#catattr.nohyper"><span
class="cmss-10">nohyper</span></a><a
- id="dx1-26130"></a>, make sure you always test for <span
+ id="dx1-27133"></a>, make sure you always test for <span
class="cmtt-10">true</span>
not <span
class="cmtt-10">false </span>in case the attribute hasn’t been set.
-</p><!--l. 5138--><p class="indent" > Again there’s a shortcut if you need to lookup the category label from a particular
+</p><!--l. 5740--><p class="indent" > Again there’s a shortcut if you need to lookup the category label from a particular
entry:
-</p><!--l. 5140--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5742--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26131"></a> <span
+ id="dx1-27134"></a> <span
class="cmtt-10">\glsifattribute{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10621,16 +11997,16 @@
class="cmtt-10">} {</span>⟨<span
class="cmitt-10">false-part</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5142--><p class="noindent" >
-</p><!--l. 5144--><p class="indent" > There’s also a shortcut to determine if a particular category has the <a
+</p><!--l. 5744--><p class="noindent" >
+</p><!--l. 5746--><p class="indent" > There’s also a shortcut to determine if a particular category has the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-26132"></a>
+ id="dx1-27135"></a>
attribute set to “true”:
-</p><!--l. 5146--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5748--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifregularcategory</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26133"></a> <span
+ id="dx1-27136"></a> <span
class="cmtt-10">\glsifregularcategory{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
@@ -10640,12 +12016,12 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false-part</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5148--><p class="noindent" >
+</p><!--l. 5750--><p class="noindent" >
Alternatively, if you need to lookup the category for a particular entry:
-</p><!--l. 5151--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5753--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifregular</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26134"></a> <span
+ id="dx1-27137"></a> <span
class="cmtt-10">\glsifregular{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10654,21 +12030,21 @@
class="cmitt-10">false-part</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5153--><p class="noindent" >
+</p><!--l. 5755--><p class="noindent" >
Note that if the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-26135"></a> attribute hasn’t be set, the above do ⟨<span
+ id="dx1-27138"></a> attribute hasn’t be set, the above do ⟨<span
class="cmti-10">false-part</span>⟩. There
are also reverse commands that test if the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-26136"></a> attribute has been set to
+ id="dx1-27139"></a> attribute has been set to
“false”:
-</p><!--l. 5157--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5759--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifnotregularcategory</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26137"></a> <span
+ id="dx1-27140"></a> <span
class="cmtt-10">\glsifnotregularcategory{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
@@ -10678,12 +12054,12 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">false-part</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5159--><p class="noindent" >
+</p><!--l. 5761--><p class="noindent" >
or for a particular entry:
-</p><!--l. 5161--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5763--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsifnotregular</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26138"></a> <span
+ id="dx1-27141"></a> <span
class="cmtt-10">\glsifnotregular{</span>⟨<span
class="cmitt-10">entry-label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10692,15 +12068,15 @@
class="cmitt-10">false-part</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5163--><p class="noindent" >
+</p><!--l. 5765--><p class="noindent" >
Again, if the <a
href="#catattr.regular"><span
class="cmss-10">regular</span></a><a
- id="dx1-26139"></a> attribute hasn’t been set, the above do ⟨<span
+ id="dx1-27142"></a> attribute hasn’t been set, the above do ⟨<span
class="cmti-10">false-part</span>⟩, so these
reverse commands aren’t logically opposite in the strict sense.
-</p><!--l. 5168--><p class="indent" > You can iterate through all entries with a given category using:
-</p><!--l. 5170--><p class="indent" > <hr><div title="Definition"><span
+</p><!--l. 5770--><p class="indent" > You can iterate through all entries with a given category using:
+</p><!--l. 5772--><p class="indent" > <hr><div title="Definition"><span
class="cmtt-10">\glsforeachincategory[</span>⟨<span
class="cmitt-10">glossary-labels</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -10714,7 +12090,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">body</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5171--><p class="noindent" >
+</p><!--l. 5773--><p class="noindent" >
This iterates through all entries in the glossaries identified by the comma-separated
list ⟨<span
class="cmti-10">glossary-labels</span>⟩ that have the category given by ⟨<span
@@ -10730,12 +12106,12 @@
-</p><!--l. 5181--><p class="indent" > Similarly, you can iterate through all entries that have a category with a given
+</p><!--l. 5783--><p class="indent" > Similarly, you can iterate through all entries that have a category with a given
attribute using:
-</p><!--l. 5183--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5785--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsforeachwithattribute</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26140"></a> <span
+ id="dx1-27143"></a> <span
class="cmtt-10">\glsforeachwithattribute[</span>⟨<span
class="cmitt-10">glossary-labels</span>⟩<span
class="cmtt-10">]</span>
@@ -10752,21 +12128,21 @@
class="cmitt-10">body</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5185--><p class="noindent" >
+</p><!--l. 5787--><p class="noindent" >
This will do ⟨<span
class="cmti-10">body</span>⟩ for each entry that has a category with the attribute ⟨<span
class="cmti-10">attribute-label</span>⟩
set to ⟨<span
class="cmti-10">attribute-value</span>⟩. The remaining arguments are as the previous command.
-</p><!--l. 5190--><p class="indent" > You can change the category for a particular entry using the standard glossary
+</p><!--l. 5792--><p class="indent" > You can change the category for a particular entry using the standard glossary
field changing commands, such as <span
class="cmtt-10">\glsfielddef</span><a
- id="dx1-26141"></a>. Alternatively, you can
+ id="dx1-27144"></a>. Alternatively, you can
use
-</p><!--l. 5193--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5795--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsetcategory</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26142"></a> <span
+ id="dx1-27145"></a> <span
class="cmtt-10">\glsxtrsetcategory{</span>⟨<span
class="cmitt-10">entry-labels</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10773,21 +12149,21 @@
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5195--><p class="noindent" >
+</p><!--l. 5797--><p class="noindent" >
This will change the category to ⟨<span
class="cmti-10">category-label</span>⟩ for each entry listed in the
comma-separated list ⟨<span
class="cmti-10">entry-labels</span>⟩. This command uses <span
class="cmtt-10">\glsfieldxdef</span><a
- id="dx1-26143"></a> so it will
+ id="dx1-27146"></a> so it will
expand ⟨<span
class="cmti-10">category-label</span>⟩ and make the change global.
-</p><!--l. 5201--><p class="indent" > You can also change the category for all entries with a glossary or glossaries
+</p><!--l. 5803--><p class="indent" > You can also change the category for all entries with a glossary or glossaries
using:
-</p><!--l. 5203--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5805--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrsetcategoryforall</span><span
class="cmtt-9"> </span></span><a
- id="dx1-26144"></a> <span
+ id="dx1-27147"></a> <span
class="cmtt-10">\glsxtrsetcategoryforall{</span>⟨<span
class="cmitt-10">glossary-labels</span>⟩<span
class="cmtt-10">}</span>
@@ -10795,7 +12171,7 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">category-label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5205--><p class="noindent" >
+</p><!--l. 5807--><p class="noindent" >
where ⟨<span
class="cmti-10">glossary-labels</span>⟩ is a comma-separated list of glossary labels.
@@ -10802,11 +12178,11 @@
</p>
-<!--l. 5209--><p class="indent" > </div>
-</p><!--l. 5209--><p class="noindent" ><a
+<!--l. 5811--><p class="indent" > </div>
+</p><!--l. 5811--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">6. <a
id="sec:entrycount"></a>Entry Counting</h2>
-</p><!--l. 5212--><p class="indent" > As mentioned in <a
+</p><!--l. 5814--><p class="indent" > As mentioned in <a
href="#sec:entrycountmods"><span
class="cmsy-10">§</span>2.4 </a><a
href="#sec:entrycountmods">Entry Counting Modifications<!--tex4ht:ref: sec:entrycountmods --></a>, <span
@@ -10813,45 +12189,45 @@
class="cmss-10">glossaries-extra </span>modifies the
<span
class="cmtt-10">\glsenableentrycount</span><a
- id="dx1-27001"></a> command to allow for the <a
+ id="dx1-28001"></a> command to allow for the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27002"></a> attribute. This means
+ id="dx1-28002"></a> attribute. This means
that you not only need to enable entry counting with <span
class="cmtt-10">\glsenableentrycount</span><a
- id="dx1-27003"></a>, but
+ id="dx1-28003"></a>, but
you also need to set the appropriate attribute (see <a
href="#sec:categories"><span
class="cmsy-10">§</span>5 </a><a
href="#sec:categories">Categories<!--tex4ht:ref: sec:categories --></a>).
-</p><!--l. 5219--><p class="indent" > <div class="important" title="Important Note"> Remember that entry counting only counts the number of times an entry is used
+</p><!--l. 5821--><p class="indent" > <div class="important" title="Important Note"> Remember that entry counting only counts the number of times an entry is used
by commands that change the <a
- id="dx1-27004"></a><a
+ id="dx1-28004"></a><a
href="#glo:firstuseflag">first use flag</a>. (That is, all those commands
that mark the entry as having been used.) There are many commands that
don’t modify this flag and they won’t contribute to the entry use count.
</div>
-</p><!--l. 5225--><p class="noindent" >
-</p><!--l. 5227--><p class="indent" > With <span
+</p><!--l. 5827--><p class="noindent" >
+</p><!--l. 5829--><p class="indent" > With <span
class="cmss-10">glossaries-extra</span>, you may use <span
class="cmtt-10">\cgls</span><a
- id="dx1-27005"></a> instead of <span
+ id="dx1-28005"></a> instead of <span
class="cmtt-10">\gls</span><a
- id="dx1-27006"></a> even if you haven’t enabled
+ id="dx1-28006"></a> even if you haven’t enabled
entry counting. You will only get a warning if you use <span
class="cmtt-10">\glsenableentrycount</span>
without setting the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27007"></a> attribute. (With <span
+ id="dx1-28007"></a> attribute. (With <span
class="cmss-10">glossaries</span>, commands like <span
class="cmtt-10">\cgls</span><a
- id="dx1-27008"></a>
+ id="dx1-28008"></a>
will generate a warning if <span
class="cmtt-10">\glsenableentrycount </span>hasn’t been used.) The
abbreviation shortcut <span
class="cmtt-10">\ab</span><a
- id="dx1-27009"></a> uses <span
+ id="dx1-28009"></a> uses <span
class="cmtt-10">\cgls </span>(see <a
href="#sec:abbrshortcuts"><span
class="cmsy-10">§</span>3.3 </a><a
@@ -10858,19 +12234,19 @@
href="#sec:abbrshortcuts">Shortcut Commands<!--tex4ht:ref: sec:abbrshortcuts --></a>) unlike the
acronym shortcut <span
class="cmtt-10">\ac</span><a
- id="dx1-27010"></a> which uses <span
+ id="dx1-28010"></a> which uses <span
class="cmtt-10">\gls </span>(except when it’s defined through
<a
href="#styopt.shortcuts"><span
class="cmss-10">shortcuts</span></a><span
class="cmss-10">=ac</span><a
- id="dx1-27011"></a>).
-</p><!--l. 5238--><p class="indent" > All upper case versions (not provided by <span
+ id="dx1-28011"></a>).
+</p><!--l. 5840--><p class="indent" > All upper case versions (not provided by <span
class="cmss-10">glossaries</span>) are also available:
-</p><!--l. 5240--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5842--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\cGLS</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27012"></a> <span
+ id="dx1-28012"></a> <span
class="cmtt-10">\cGLS[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -10878,12 +12254,12 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 5242--><p class="noindent" >
+</p><!--l. 5844--><p class="noindent" >
and
-</p><!--l. 5244--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5846--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\cGLSpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27013"></a> <span
+ id="dx1-28013"></a> <span
class="cmtt-10">\cGLSpl[</span>⟨<span
class="cmitt-10">options</span>⟩<span
class="cmtt-10">]{</span>⟨<span
@@ -10891,42 +12267,42 @@
class="cmtt-10">}[</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">] </span></div><hr>
-</p><!--l. 5246--><p class="noindent" >
+</p><!--l. 5848--><p class="noindent" >
These are analogous to <span
class="cmtt-10">\cgls </span>and <span
class="cmtt-10">\cglspl </span>but they use
-</p><!--l. 5249--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5851--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\cGLSformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27014"></a> <span
+ id="dx1-28014"></a> <span
class="cmtt-10">\cGLSformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5251--><p class="noindent" >
+</p><!--l. 5853--><p class="noindent" >
and
-</p><!--l. 5253--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5855--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\cGLSplformat</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27015"></a> <span
+ id="dx1-28015"></a> <span
class="cmtt-10">\cGLSplformat{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">insert</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5255--><p class="noindent" >
+</p><!--l. 5857--><p class="noindent" >
which convert the analogous <span
class="cmtt-10">\cglsformat </span>and <span
class="cmtt-10">\cglsplformat </span>to upper
case.
-</p><!--l. 5259--><p class="indent" > Just using <span
+</p><!--l. 5861--><p class="indent" > Just using <span
class="cmss-10">glossaries</span>:
</p>
- <div class="verbatim" id="verbatim-122">
+ <div class="verbatim" id="verbatim-144">
\documentclass{article}
 <br />\usepackage{glossaries}
 <br />\makeglossaries
@@ -10939,17 +12315,17 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 5281--><p class="nopar" >
-</p><!--l. 5283--><p class="indent" > If you switch to <span
+<!--l. 5883--><p class="nopar" >
+</p><!--l. 5885--><p class="indent" > If you switch to <span
class="cmss-10">glossaries-extra </span>you must set the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27016"></a> attribute:
+ id="dx1-28016"></a> attribute:
</p>
- <div class="verbatim" id="verbatim-123">
+ <div class="verbatim" id="verbatim-145">
\documentclass{article}
 <br />\usepackage{glossaries-extra}
 <br />\makeglossaries
@@ -10963,16 +12339,16 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 5308--><p class="nopar" >
-</p><!--l. 5310--><p class="indent" > When activated with <span
+<!--l. 5910--><p class="nopar" >
+</p><!--l. 5912--><p class="indent" > When activated with <span
class="cmtt-10">\glsenableentrycount</span>, commands such as <span
class="cmtt-10">\cgls</span><a
- id="dx1-27017"></a> now
+ id="dx1-28017"></a> now
use
-</p><!--l. 5312--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 5914--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrifcounttrigger</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27018"></a> <span
+ id="dx1-28018"></a> <span
class="cmtt-10">\glsxtrifcounttrigger{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -10982,12 +12358,12 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">normal code</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5315--><p class="noindent" >
+</p><!--l. 5917--><p class="noindent" >
to determine if the entry trips the entry count trigger. The ⟨<span
class="cmti-10">trigger code</span>⟩ uses
commands like <span
class="cmtt-10">\cglsformat </span>and unsets the <a
- id="dx1-27019"></a><a
+ id="dx1-28019"></a><a
href="#glo:firstuseflag">first use flag</a>. The ⟨<span
class="cmti-10">normal code</span>⟩ is the
code that would ordinarily be performed by whatever the equivalent command is (for
@@ -10998,12 +12374,12 @@
class="cmtt-10">\gls </span>behaviour in
⟨<span
class="cmti-10">normal code</span>⟩).
-</p><!--l. 5324--><p class="indent" > The default definition is:
+</p><!--l. 5926--><p class="indent" > The default definition is:
</p>
- <div class="verbatim" id="verbatim-124">
+ <div class="verbatim" id="verbatim-146">
\newcommand*{\glsxtrifcounttrigger}[3]{%
 <br /> \glshasattribute{#1}{entrycount}%
 <br /> {%
@@ -11016,37 +12392,37 @@
 <br /> {#3}%
 <br />}
</div>
-<!--l. 5337--><p class="nopar" > This means that if an entry is assigned to a category that has the <a
+<!--l. 5939--><p class="nopar" > This means that if an entry is assigned to a category that has the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27020"></a>
+ id="dx1-28020"></a>
attribute then the ⟨<span
class="cmti-10">trigger code</span>⟩ will be used if the previous count value (the number of
times the entry was used on the last run) is greater than the value of the
attribute.
-</p><!--l. 5344--><p class="indent" > For example, to trigger normal use if the previous count value is greater than
+</p><!--l. 5946--><p class="indent" > For example, to trigger normal use if the previous count value is greater than
four:
</p>
- <div class="verbatim" id="verbatim-125">
+ <div class="verbatim" id="verbatim-147">
\glssetcategoryattribute{abbreviation}{entrycount}{4}
</div>
-<!--l. 5348--><p class="nopar" >
-</p><!--l. 5350--><p class="indent" > There is a convenient command provided to enable entry counting, set the
+<!--l. 5950--><p class="nopar" >
+</p><!--l. 5952--><p class="indent" > There is a convenient command provided to enable entry counting, set the
<a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27021"></a> attribute and redefine <span
+ id="dx1-28021"></a> attribute and redefine <span
class="cmtt-10">\gls</span><a
- id="dx1-27022"></a>, etc to use <span
+ id="dx1-28022"></a>, etc to use <span
class="cmtt-10">\cgls</span><a
- id="dx1-27023"></a> etc:
-</p><!--l. 5353--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-28023"></a> etc:
+</p><!--l. 5955--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrEnableEntryCounting</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27024"></a> <span
+ id="dx1-28024"></a> <span
class="cmtt-10">\GlsXtrEnableEntryCounting{</span>⟨<span
class="cmitt-10">categories</span>⟩<span
class="cmtt-10">}</span>
@@ -11054,19 +12430,19 @@
class="cmtt-10">{</span>⟨<span
class="cmitt-10">value</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5355--><p class="noindent" >
+</p><!--l. 5957--><p class="noindent" >
The first argument ⟨<span
class="cmti-10">categories</span>⟩ is a comma-separated list of categories. For each
category, the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27025"></a> attribute is set to ⟨<span
+ id="dx1-28025"></a> attribute is set to ⟨<span
class="cmti-10">value</span>⟩. In addition, this does:
</p>
- <div class="verbatim" id="verbatim-126">
+ <div class="verbatim" id="verbatim-148">
\renewcommand*{\gls}{\cgls}%
 <br />\renewcommand*{\Gls}{\cGls}%
 <br />\renewcommand*{\glspl}{\cglspl}%
@@ -11074,19 +12450,19 @@
 <br />\renewcommand*{\GLS}{\cGLS}%
 <br />\renewcommand*{\GLSpl}{\cGLSpl}%
</div>
-<!--l. 5366--><p class="nopar" > This makes it easier to enable entry-counting on existing documents.
-</p><!--l. 5370--><p class="indent" > If you use <span
+<!--l. 5968--><p class="nopar" > This makes it easier to enable entry-counting on existing documents.
+</p><!--l. 5972--><p class="indent" > If you use <span
class="cmtt-10">\GlsXtrEnableEntryCounting </span>more than once, subsequent uses will
just set the <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27026"></a> attribute for each listed category.
-</p><!--l. 5374--><p class="indent" > The above example document can then become:
+ id="dx1-28026"></a> attribute for each listed category.
+</p><!--l. 5976--><p class="indent" > The above example document can then become:
</p>
- <div class="verbatim" id="verbatim-127">
+ <div class="verbatim" id="verbatim-149">
\documentclass{article}
 <br />\usepackage{glossaries-extra}
 <br />\makeglossaries
@@ -11099,15 +12475,15 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 5396--><p class="nopar" >
-</p><!--l. 5398--><p class="indent" > The standard entry-counting function describe above counts the number of times
+<!--l. 5998--><p class="nopar" >
+</p><!--l. 6000--><p class="indent" > The standard entry-counting function describe above counts the number of times
an entry has been marked as used throughout the document. (The reset commands
will reset the total back to zero.) If you prefer to count per sectional-unit, you can
use
-</p><!--l. 5403--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6005--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrEnableEntryUnitCounting</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27027"></a> <span
+ id="dx1-28027"></a> <span
class="cmtt-10">\GlsXtrEnableEntryUnitCounting</span>
<span
class="cmtt-10">{</span>⟨<span
@@ -11117,7 +12493,7 @@
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">counter-name</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5405--><p class="noindent" >
+</p><!--l. 6007--><p class="noindent" >
where ⟨<span
class="cmti-10">categories</span>⟩ is a comma-separated list of categories to which this feature should
be applied, ⟨<span
@@ -11124,20 +12500,20 @@
class="cmti-10">value</span>⟩ is the trigger value and ⟨<span
class="cmti-10">counter-name</span>⟩ is the name of the counter
used by the sectional unit.
-</p><!--l. 5411--><p class="indent" > <div class="important" title="Important Note"> Due to the asynchronous nature of <span class="TEX">T<span
+</p><!--l. 6013--><p class="indent" > <div class="important" title="Important Note"> Due to the asynchronous nature of <span class="TEX">T<span
class="E">E</span>X</span>’s output routine, discrepancies will
occur in page spanning paragraphs if you use the <span
class="cmss-10">page</span><a
- id="dx1-27028"></a> counter. </div>
-</p><!--l. 5415--><p class="noindent" >
-</p><!--l. 5417--><p class="indent" > Note that you can’t use both the document-wide counting and the per-unit
+ id="dx1-28028"></a> counter. </div>
+</p><!--l. 6017--><p class="noindent" >
+</p><!--l. 6019--><p class="indent" > Note that you can’t use both the document-wide counting and the per-unit
counting in the same document.
-</p><!--l. 5420--><p class="indent" > The counter value is used as part of a label, which means that <span
+</p><!--l. 6022--><p class="indent" > The counter value is used as part of a label, which means that <span
class="cmtt-10">\the</span>⟨<span
class="cmti-10">counter-name</span>⟩
needs to be expandable. Since <span
class="cmss-10">hyperref</span><a
- id="dx1-27029"></a> also has a similar requirement and provides
+ id="dx1-28029"></a> also has a similar requirement and provides
<span
class="cmtt-10">\theH</span>⟨<span
class="cmti-10">counter-name</span>⟩ as an expandable alternative, <span
@@ -11147,69 +12523,69 @@
class="cmti-10">counter-name</span>⟩ if it exists otherwise it will use <span
class="cmtt-10">\the</span>⟨<span
class="cmti-10">counter-name</span>⟩.
-</p><!--l. 5427--><p class="indent" > The per-unit counting function uses two attributes: <a
+</p><!--l. 6029--><p class="indent" > The per-unit counting function uses two attributes: <a
href="#catattr.entrycount"><span
class="cmss-10">entrycount</span></a><a
- id="dx1-27030"></a> (as before) and
+ id="dx1-28030"></a> (as before) and
<a
href="#catattr.unitcount"><span
class="cmss-10">unitcount</span></a><a
- id="dx1-27031"></a> (the name of the counter).
+ id="dx1-28031"></a> (the name of the counter).
-</p><!--l. 5430--><p class="indent" > Both the original document-wide counting mechanism and the per-unit counting
+</p><!--l. 6032--><p class="indent" > Both the original document-wide counting mechanism and the per-unit counting
mechanism provide a command that can be used to access the current count value for
this run:
-</p><!--l. 5433--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6035--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsentrycurrcount</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27032"></a> <span
+ id="dx1-28032"></a> <span
class="cmtt-10">\glsentrycurrcount{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5435--><p class="noindent" >
+</p><!--l. 6037--><p class="noindent" >
and the final value from the previous run:
-</p><!--l. 5437--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6039--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsentryprevcount</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27033"></a> <span
+ id="dx1-28033"></a> <span
class="cmtt-10">\glsentryprevcount{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5439--><p class="noindent" >
+</p><!--l. 6041--><p class="noindent" >
In the case of the per-unit counting, this is the final value <span
class="cmti-10">for the current unit</span>. In
both commands ⟨<span
class="cmti-10">label</span>⟩ is the entry’s label.
-</p><!--l. 5444--><p class="indent" > The per-unit counting mechanism additionally provides:
-</p><!--l. 5445--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6046--><p class="indent" > The per-unit counting mechanism additionally provides:
+</p><!--l. 6047--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsentryprevtotalcount</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27034"></a> <span
+ id="dx1-28034"></a> <span
class="cmtt-10">\glsentryprevtotalcount{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5447--><p class="noindent" >
+</p><!--l. 6049--><p class="noindent" >
which gives the sum of all the per-unit totals from the previous run for the entry
given by ⟨<span
class="cmti-10">label</span>⟩, and
-</p><!--l. 5450--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6052--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsentryprevmaxcount</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27035"></a> <span
+ id="dx1-28035"></a> <span
class="cmtt-10">\glsentryprevmaxcount{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5452--><p class="noindent" >
+</p><!--l. 6054--><p class="noindent" >
which gives the maximum per-unit total from the previous run.
-</p><!--l. 5455--><p class="indent" > The above two commands are unavailable for the document-wide counting.
-</p><!--l. 5457--><p class="indent" > Example of per-unit counting, where the unit is the chapter:
+</p><!--l. 6057--><p class="indent" > The above two commands are unavailable for the document-wide counting.
+</p><!--l. 6059--><p class="indent" > Example of per-unit counting, where the unit is the chapter:
</p>
- <div class="verbatim" id="verbatim-128">
+ <div class="verbatim" id="verbatim-150">
\documentclass{report}
 <br />\usepackage{glossaries-extra}
 <br />\GlsXtrEnableEntryUnitCounting{abbreviation}{2}{chapter}
@@ -11228,11 +12604,11 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 5488--><p class="nopar" > In this document, the <span
+<!--l. 6090--><p class="nopar" > In this document, the <span
class="cmtt-10">css </span>entry is used three times in the first chapter. This is
more than the trigger value of 2, so <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{css}</span></span></span> is expanded on <a
- id="dx1-27036"></a><a
+ id="dx1-28036"></a><a
href="#glo:firstuse">first use</a>
with the short form used on subsequent use, and the <span
class="cmtt-10">css </span>entries in that
@@ -11242,19 +12618,19 @@
long form is used and <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{css}</span></span></span> doesn’t get a line added to the glossary
file.
-</p><!--l. 5499--><p class="indent" > The <span
+</p><!--l. 6101--><p class="indent" > The <span
class="cmtt-10">html </span>is used a total of three times, but the expansion and indexing
suppression trigger is tripped in both chapters because the per-unit total (1 for the
first chapter and 2 for the second chapter) is less than or equal to the trigger
value.
-</p><!--l. 5505--><p class="indent" > The <span
+</p><!--l. 6107--><p class="indent" > The <span
class="cmtt-10">sample </span>entry has only been used once, but it doesn’t trip the indexing
suppression because it’s in the <span
class="cmss-10">general</span><a
- id="dx1-27037"></a> category, which hasn’t been listed in
+ id="dx1-28037"></a> category, which hasn’t been listed in
<span
class="cmtt-10">\GlsXtrEnableEntryUnitCounting</span>.
-</p><!--l. 5510--><p class="indent" > The per-unit entry counting can be used for other purposes. In the following
+</p><!--l. 6112--><p class="indent" > The per-unit entry counting can be used for other purposes. In the following
@@ -11262,13 +12638,13 @@
won’t be triggered, but the unit entry count is used to automatically suppress the
hyperlink for commands like <span
class="cmtt-10">\gls</span><a
- id="dx1-27038"></a> by modifying the hook
-</p><!--l. 5516--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-28038"></a> by modifying the hook
+</p><!--l. 6118--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glslinkcheckfirsthyperhook</span><span
class="cmtt-9"> </span></span><a
- id="dx1-27039"></a> <span
+ id="dx1-28039"></a> <span
class="cmtt-10">\glslinkcheckfirsthyperhook </span></div><hr>
-</p><!--l. 5518--><p class="noindent" >
+</p><!--l. 6120--><p class="noindent" >
which is used at the end of the macro the determines whether or not to suppress the
hyperlink.
@@ -11275,7 +12651,7 @@
</p>
- <div class="verbatim" id="verbatim-129">
+ <div class="verbatim" id="verbatim-151">
\documentclass{article}
 <br />\usepackage[colorlinks]{hyperref}
 <br />\usepackage{glossaries-extra}
@@ -11296,12 +12672,12 @@
 <br />\printglossaries
 <br />\end{document}
</div>
-<!--l. 5553--><p class="nopar" > This only produces a hyperlink for the first instance of <span class="obeylines-h"><span class="verb"><span
+<!--l. 6155--><p class="nopar" > This only produces a hyperlink for the first instance of <span class="obeylines-h"><span class="verb"><span
class="cmtt-10">\gls{sample}</span></span></span> on each
page.
-</p><!--l. 5557--><p class="indent" > The earlier warning about using the <span
+</p><!--l. 6159--><p class="indent" > The earlier warning about using the <span
class="cmss-10">page</span><a
- id="dx1-27040"></a> counter still applies. If the
+ id="dx1-28040"></a> counter still applies. If the
first instance of <span
class="cmtt-10">\gls </span>occurs at the top of the page within a paragraph that
started on the previous page, then the count will continue from the previous
@@ -11310,49 +12686,49 @@
</p>
-<!--l. 5562--><p class="indent" > </div>
-</p><!--l. 5562--><p class="noindent" ><a
+<!--l. 6164--><p class="indent" > </div>
+</p><!--l. 6164--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">7. <a
id="sec:autoindex"></a>Auto-Indexing</h2>
-</p><!--l. 5565--><p class="indent" > It’s possible that you may also want a normal index as well as the glossary,
+</p><!--l. 6167--><p class="indent" > It’s possible that you may also want a normal index as well as the glossary,
and you may want entries to automatically be added to the index (as in
this document). There are two attributes that govern this: <a
href="#catattr.indexname"><span
class="cmss-10">indexname</span></a><a
- id="dx1-28001"></a> and
+ id="dx1-29001"></a> and
<a
href="#catattr.dualindex"><span
class="cmss-10">dualindex</span></a><a
- id="dx1-28002"></a>.
-</p><!--l. 5572--><p class="indent" > The <span
+ id="dx1-29002"></a>.
+</p><!--l. 6174--><p class="indent" > The <span
class="cmtt-10">\glsxtrpostnamehook</span><a
- id="dx1-28003"></a> macro, used at the end of <span
+ id="dx1-29003"></a> macro, used at the end of <span
class="cmtt-10">\glossentryname</span><a
- id="dx1-28004"></a> and
+ id="dx1-29004"></a> and
<span
class="cmtt-10">\Glossentryname</span><a
- id="dx1-28005"></a>, checks the <a
+ id="dx1-29005"></a>, checks the <a
href="#catattr.indexname"><span
class="cmss-10">indexname</span></a><a
- id="dx1-28006"></a> attribute for the category associated with
+ id="dx1-29006"></a> attribute for the category associated with
that entry. Since <span
class="cmtt-10">\glossentryname </span>is used in the default glossary styles, this
makes a convenient way of automatically indexing each entry name at its
location in the glossary without fiddling around with the value of the <span
class="cmss-10">name</span><a
- id="dx1-28007"></a>
+ id="dx1-29007"></a>
key.
-</p><!--l. 5582--><p class="indent" > The internal macro used by the <span
+</p><!--l. 6184--><p class="indent" > The internal macro used by the <span
class="cmss-10">glossaries </span>package to write the information to the
external glossary file is modified to check for the <a
href="#catattr.dualindex"><span
class="cmss-10">dualindex</span></a><a
- id="dx1-28008"></a> attribute.
-</p><!--l. 5586--><p class="indent" > In both cases, the indexing is done through
-</p><!--l. 5587--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+ id="dx1-29008"></a> attribute.
+</p><!--l. 6188--><p class="indent" > In both cases, the indexing is done through
+</p><!--l. 6189--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrdoautoindexname</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28009"></a> <span
+ id="dx1-29009"></a> <span
class="cmtt-10">\glsxtrdoautoindexname{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -11359,27 +12735,27 @@
class="cmitt-10">attribute-label</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5589--><p class="noindent" >
+</p><!--l. 6191--><p class="noindent" >
This uses the standard <span
class="cmtt-10">\index</span><a
- id="dx1-28010"></a> command with the sort value taken from the entry’s
+ id="dx1-29010"></a> command with the sort value taken from the entry’s
<span
class="cmss-10">sort</span><a
- id="dx1-28011"></a> key and the actual value set to <span
+ id="dx1-29011"></a> key and the actual value set to <span
class="cmtt-10">\glsentryname{</span>⟨<span
class="cmti-10">label</span>⟩<span
class="cmtt-10">}</span>. As from v1.16, there are
user-level commands available to change the sort and actual value used by the
automated index.
-</p><!--l. 5596--><p class="indent" > The actual value is given by
-</p><!--l. 5597--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6198--><p class="indent" > The actual value is given by
+</p><!--l. 6199--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrautoindexentry</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28012"></a> <span
+ id="dx1-29012"></a> <span
class="cmtt-10">\glsxtrautoindexentry{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5599--><p class="noindent" >
+</p><!--l. 6201--><p class="noindent" >
where ⟨<span
class="cmti-10">label</span>⟩ is the entry’s label. The default definition is:
@@ -11386,18 +12762,18 @@
</p>
- <div class="verbatim" id="verbatim-130">
+ <div class="verbatim" id="verbatim-152">
\newcommand*{\glsxtrautoindexentry}[1]{\string\glsentryname{#1}}
</div>
-<!--l. 5604--><p class="nopar" > Note the use of <span
+<!--l. 6206--><p class="nopar" > Note the use of <span
class="cmtt-10">\string </span>to prevent <span
class="cmtt-10">\glsentryname </span>from being expanded as it’s
written to the index file.
-</p><!--l. 5608--><p class="indent" > The sort value is assigned using:
-</p><!--l. 5609--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6210--><p class="indent" > The sort value is assigned using:
+</p><!--l. 6211--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrautoindexassignsort</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28013"></a> <span
+ id="dx1-29013"></a> <span
class="cmtt-10">\glsxtrautoindexassignsort{</span>⟨<span
class="cmitt-10">cs</span>⟩<span
class="cmtt-10">}{</span>⟨<span
@@ -11404,7 +12780,7 @@
class="cmitt-10">label</span>⟩<span
class="cmtt-10">}</span>
</div><hr>
-</p><!--l. 5611--><p class="noindent" >
+</p><!--l. 6213--><p class="noindent" >
where ⟨<span
class="cmti-10">label</span>⟩ is the entry label and ⟨<span
class="cmti-10">cs</span>⟩ is the command which needs to be set to the
@@ -11413,58 +12789,58 @@
</p>
- <div class="verbatim" id="verbatim-131">
+ <div class="verbatim" id="verbatim-153">
\newcommand*{\glsxtrautoindexassignsort}[2]{%
 <br />  \glsletentryfield{#1}{#2}{sort}%
 <br />}
</div>
-<!--l. 5618--><p class="nopar" > After this macro is called, ⟨<span
+<!--l. 6220--><p class="nopar" > After this macro is called, ⟨<span
class="cmti-10">cs</span>⟩ is then processed to escape any of <span
class="cmtt-10">makeindex</span><a
- id="dx1-28014"></a>’s special
+ id="dx1-29014"></a>’s special
characters. Note that this escaping is only performed on the sort not on the actual
value.
-</p><!--l. 5623--><p class="indent" > The command used to perform the actual indexing is:
-</p><!--l. 5624--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6225--><p class="indent" > The command used to perform the actual indexing is:
+</p><!--l. 6226--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrautoindex</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28015"></a> <span
+ id="dx1-29015"></a> <span
class="cmtt-10">\glsxtrautoindex{</span>⟨<span
class="cmitt-10">text</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5626--><p class="noindent" >
+</p><!--l. 6228--><p class="noindent" >
This just does <span
class="cmtt-10">\index{</span>⟨<span
class="cmti-10">text</span>⟩<span
class="cmtt-10">} </span>by default.
-</p><!--l. 5629--><p class="indent" > <div class="important" title="Important Note"> The entry’s <span
+</p><!--l. 6231--><p class="indent" > <div class="important" title="Important Note"> The entry’s <span
class="cmss-10">parent</span><a
- id="dx1-28016"></a> field isn’t referenced in this automated indexing.
+ id="dx1-29016"></a> field isn’t referenced in this automated indexing.
</div>
-</p><!--l. 5632--><p class="noindent" >
-</p><!--l. 5634--><p class="indent" > For example, to index the value of the <span
+</p><!--l. 6234--><p class="noindent" >
+</p><!--l. 6236--><p class="indent" > For example, to index the value of the <span
class="cmss-10">first</span><a
- id="dx1-28017"></a> key, instead of the <span
+ id="dx1-29017"></a> key, instead of the <span
class="cmss-10">name</span><a
- id="dx1-28018"></a> key:
+ id="dx1-29018"></a> key:
</p>
- <div class="verbatim" id="verbatim-132">
+ <div class="verbatim" id="verbatim-154">
\renewcommand*{\glsxtrautoindexentry}[1]{\string\glsentryfirst{#1}}
</div>
-<!--l. 5638--><p class="nopar" > and if the sort value also needs to be set to the <span
+<!--l. 6240--><p class="nopar" > and if the sort value also needs to be set to the <span
class="cmss-10">long</span><a
- id="dx1-28019"></a> field, if present, otherwise the
+ id="dx1-29019"></a> field, if present, otherwise the
<span
class="cmss-10">sort</span><a
- id="dx1-28020"></a> field:
+ id="dx1-29020"></a> field:
</p>
- <div class="verbatim" id="verbatim-133">
+ <div class="verbatim" id="verbatim-155">
\renewcommand*{\glsxtrautoindexassignsort}[2]{%
 <br />  \ifglshaslong{#2}%
 <br />  {\glsletentryfield{#1}{#2}{long}}%
@@ -11471,8 +12847,8 @@
 <br />  {\glsletentryfield{#1}{#2}{sort}}%
 <br />}
</div>
-<!--l. 5647--><p class="nopar" >
-</p><!--l. 5649--><p class="indent" > If the value of the attribute given by ⟨<span
+<!--l. 6249--><p class="nopar" >
+</p><!--l. 6251--><p class="indent" > If the value of the attribute given by ⟨<span
class="cmti-10">attribute-label</span>⟩ is “true”, no encap will be
added, otherwise the encap will be the attribute value. For example:
@@ -11479,10 +12855,10 @@
</p>
- <div class="verbatim" id="verbatim-134">
+ <div class="verbatim" id="verbatim-156">
\glssetcategoryattribute{general}{indexname}{textbf}
</div>
-<!--l. 5655--><p class="nopar" > will set the encap to <span
+<!--l. 6257--><p class="nopar" > will set the encap to <span
class="cmtt-10">textbf </span>which will display the relevant page number in bold
whereas
@@ -11489,117 +12865,118 @@
</p>
- <div class="verbatim" id="verbatim-135">
+ <div class="verbatim" id="verbatim-157">
\glssetcategoryattribute{general}{dualindex}{true}
</div>
-<!--l. 5660--><p class="nopar" > won’t apply any formatting to the page number in the index.
-</p><!--l. 5663--><p class="indent" > <div class="important" title="Important Note"> The location used in the index will always be the page number not the counter
+<!--l. 6262--><p class="nopar" > won’t apply any formatting to the page number in the index.
+</p><!--l. 6265--><p class="indent" > <div class="important" title="Important Note"> The location used in the index will always be the page number not the counter
used in the glossary. (Unless some other loaded package has modified the definition of
<span
class="cmtt-10">\index </span>to use some thing else.) </div>
-</p><!--l. 5668--><p class="noindent" >
-</p><!--l. 5670--><p class="indent" > By default the <span
+</p><!--l. 6270--><p class="noindent" >
+</p><!--l. 6272--><p class="indent" > By default the <span
class="cmss-10">format</span><a
- id="dx1-28021"></a> key won’t be used with the <a
+ id="dx1-29021"></a> key won’t be used with the <a
href="#catattr.dualindex"><span
class="cmss-10">dualindex</span></a><a
- id="dx1-28022"></a> attribute. You can
+ id="dx1-29022"></a> attribute. You can
allow the <span
class="cmss-10">format</span><a
- id="dx1-28023"></a> key to override the attribute value by using the preamble-only
+ id="dx1-29023"></a> key to override the attribute value by using the preamble-only
command:
-</p><!--l. 5674--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6276--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrEnableIndexFormatOverride</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28024"></a> <span
+ id="dx1-29024"></a> <span
class="cmtt-10">\GlsXtrEnableIndexFormatOverride</span>
</div><hr>
-</p><!--l. 5676--><p class="noindent" >
+</p><!--l. 6278--><p class="noindent" >
If you use this command and <span
class="cmss-10">hyperref</span><a
- id="dx1-28025"></a> has been loaded, then the <span
+ id="dx1-29025"></a> has been loaded, then the <span
class="cmss-10">theindex</span><a
- id="dx1-28026"></a><a
- id="dx1-28027"></a>
+ id="dx1-29026"></a><a
+ id="dx1-29027"></a>
environment will be modified to redefine <span
class="cmtt-10">\glshypernumber</span><a
- id="dx1-28028"></a> to allow formats that use
+ id="dx1-29028"></a> to allow formats that use
that command.
-</p><!--l. 5681--><p class="indent" > <div class="important" title="Important Note"> The <a
+</p><!--l. 6283--><p class="indent" > <div class="important" title="Important Note"> The <a
href="#catattr.dualindex"><span
class="cmss-10">dualindex</span></a><a
- id="dx1-28029"></a> attribute will still be used on subsequent use even if the
+ id="dx1-29029"></a> attribute will still be used on subsequent use even if the
<a
href="#catattr.indexonlyfirst"><span
class="cmss-10">indexonlyfirst</span></a><a
- id="dx1-28030"></a> attribute (or <span
-class="cmss-10">indexonlyfirst</span><a
- id="dx1-28031"></a> package option) is set. However, the <a
+ id="dx1-29030"></a> attribute (or <a
+href="#styopt.indexonlyfirst"><span
+class="cmss-10">indexonlyfirst</span></a><a
+ id="dx1-29031"></a> package option) is set. However, the <a
href="#catattr.dualindex"><span
class="cmss-10">dualindex</span></a><a
- id="dx1-28032"></a>
+ id="dx1-29032"></a>
attribute will honour the <span
class="cmss-10">noindex</span><a
- id="dx1-28033"></a> key. </div>
-</p><!--l. 5687--><p class="noindent" >
-</p><!--l. 5689--><p class="indent" > The <span
+ id="dx1-29033"></a> key. </div>
+</p><!--l. 6289--><p class="noindent" >
+</p><!--l. 6291--><p class="indent" > The <span
class="cmtt-10">\glsxtrdoautoindexname </span>command will attempt to escape any of
<span
class="cmtt-10">\makeindex</span><a
- id="dx1-28034"></a>’s special characters, but there may be special cases where it fails, so take
+ id="dx1-29034"></a>’s special characters, but there may be special cases where it fails, so take
care. This assumes the default <a
- id="dx1-28035"></a><a
+ id="dx1-29035"></a><a
href="#glo:makeindex"><span
class="cmtt-10">makeindex</span></a> actual, level, quote and encap values
(unless any of the commands <span
class="cmtt-10">\actualchar</span><a
- id="dx1-28036"></a>, <span
+ id="dx1-29036"></a>, <span
class="cmtt-10">\levelchar</span><a
- id="dx1-28037"></a>, <span
+ id="dx1-29037"></a>, <span
class="cmtt-10">\quotechar</span><a
- id="dx1-28038"></a> or <span
+ id="dx1-29038"></a> or <span
class="cmtt-10">\encapchar</span><a
- id="dx1-28039"></a>
+ id="dx1-29039"></a>
have been defined before <span
class="cmss-10">glossaries-extra </span>is loaded).
-</p><!--l. 5697--><p class="indent" > If this isn’t the case, you can use the following preamble-only commands to set
+</p><!--l. 6299--><p class="indent" > If this isn’t the case, you can use the following preamble-only commands to set
the correct characters.
-</p><!--l. 5699--><p class="indent" > <div class="important" title="Important Note"> Be very careful of possible shifting category codes! </div>
-</p><!--l. 5701--><p class="noindent" >
-</p><!--l. 5703--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6301--><p class="indent" > <div class="important" title="Important Note"> Be very careful of possible shifting category codes! </div>
+</p><!--l. 6303--><p class="noindent" >
+</p><!--l. 6305--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrSetActualChar</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28040"></a> <span
+ id="dx1-29040"></a> <span
class="cmtt-10">\GlsXtrSetActualChar{</span>⟨<span
class="cmitt-10">char</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5705--><p class="noindent" >
+</p><!--l. 6307--><p class="noindent" >
Set the actual character to ⟨<span
class="cmti-10">char</span>⟩.
-</p><!--l. 5708--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6310--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrSetLevelChar</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28041"></a> <span
+ id="dx1-29041"></a> <span
class="cmtt-10">\GlsXtrSetLevelChar{</span>⟨<span
class="cmitt-10">char</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5710--><p class="noindent" >
+</p><!--l. 6312--><p class="noindent" >
Set the level character to ⟨<span
class="cmti-10">char</span>⟩.
-</p><!--l. 5713--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6315--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrSetEscChar</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28042"></a> <span
+ id="dx1-29042"></a> <span
class="cmtt-10">\GlsXtrSetEscChar{</span>⟨<span
class="cmitt-10">char</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5715--><p class="noindent" >
+</p><!--l. 6317--><p class="noindent" >
Set the escape (quote) character to ⟨<span
class="cmti-10">char</span>⟩.
-</p><!--l. 5718--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6320--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrSetEncapChar</span><span
class="cmtt-9"> </span></span><a
- id="dx1-28043"></a> <span
+ id="dx1-29043"></a> <span
class="cmtt-10">\GlsXtrSetEncapChar{</span>⟨<span
class="cmitt-10">char</span>⟩<span
class="cmtt-10">} </span></div><hr>
@@ -11606,7 +12983,7 @@
-</p><!--l. 5720--><p class="noindent" >
+</p><!--l. 6322--><p class="noindent" >
Set the encap character to ⟨<span
class="cmti-10">char</span>⟩.
@@ -11613,11 +12990,11 @@
</p>
-<!--l. 5723--><p class="indent" > </div>
-</p><!--l. 5723--><p class="noindent" ><a
+<!--l. 6325--><p class="indent" > </div>
+</p><!--l. 6325--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">8. <a
id="sec:onthefly"></a>On-the-Fly Document Definitions</h2>
-</p><!--l. 5726--><p class="indent" > <div class="important" title="Important Note"> The commands described here may superficially look like ⟨<span
+</p><!--l. 6328--><p class="indent" > <div class="important" title="Important Note"> The commands described here may superficially look like ⟨<span
class="cmti-10">word</span>⟩<span
class="cmtt-10">\index{</span>⟨<span
class="cmti-10">word</span>⟩<span
@@ -11626,12 +13003,12 @@
class="cmtt-10">\index </span>then just use <span
class="cmtt-10">\index</span>.
</div>
-</p><!--l. 5731--><p class="noindent" >
-</p><!--l. 5733--><p class="indent" > The <span
+</p><!--l. 6333--><p class="noindent" >
+</p><!--l. 6335--><p class="indent" > The <span
class="cmss-10">glossaries </span>package advises against defining entries in the <span
class="cmss-10">document</span><a
- id="dx1-29001"></a><a
- id="dx1-29002"></a>
+ id="dx1-30001"></a><a
+ id="dx1-30002"></a>
environment. As mentioned in <a
href="#sec:pkgopts"><span
class="cmsy-10">§</span>1.2 </a><a
@@ -11641,28 +13018,28 @@
<a
href="#styopt.docdefs"><span
class="cmss-10">docdefs</span></a><a
- id="dx1-29003"></a> package options.
-</p><!--l. 5739--><p class="indent" > Although this can be problematic, the <span
+ id="dx1-30003"></a> package options.
+</p><!--l. 6341--><p class="indent" > Although this can be problematic, the <span
class="cmss-10">glossaries-extra </span>package provides a way of
defining and using entries within the <span
class="cmss-10">document</span><a
- id="dx1-29004"></a><a
- id="dx1-29005"></a> environment without the tricks used
+ id="dx1-30004"></a><a
+ id="dx1-30005"></a> environment without the tricks used
with the <a
href="#styopt.docdefs"><span
class="cmss-10">docdefs</span></a><a
- id="dx1-29006"></a> option. <span
+ id="dx1-30006"></a> option. <span
class="cmti-10">There are limitations with this approach, so take care with it.</span>
This function is disabled by default, but can be enabled using the preamble-only
command:
-</p><!--l. 5745--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6347--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrEnableOnTheFly</span><span
class="cmtt-9"> </span></span><a
- id="dx1-29007"></a> <span
+ id="dx1-30007"></a> <span
class="cmtt-10">\GlsXtrEnableOnTheFly </span></div><hr>
-</p><!--l. 5747--><p class="noindent" >
+</p><!--l. 6349--><p class="noindent" >
When used, this defines the commands described below.
-</p><!--l. 5750--><p class="indent" > <div class="important" title="Important Note"> The commands <span
+</p><!--l. 6352--><p class="indent" > <div class="important" title="Important Note"> The commands <span
class="cmtt-10">\glsxtr</span>, <span
class="cmtt-10">\glsxtrpl</span>, <span
class="cmtt-10">\Glsxtr </span>and <span
@@ -11669,15 +13046,15 @@
class="cmtt-10">\Glsxtrpl </span>can’t be used after
the glossaries have been displayed (through <span
class="cmtt-10">\printglossary</span><a
- id="dx1-29008"></a> etc). It’s best not to
+ id="dx1-30008"></a> etc). It’s best not to
mix these commands with the standard glossary commands, such as <span
class="cmtt-10">\gls </span>or there
may be unexpected results. </div>
-</p><!--l. 5756--><p class="noindent" >
-</p><!--l. 5758--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6358--><p class="noindent" >
+</p><!--l. 6360--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtr</span><span
class="cmtt-9"> </span></span><a
- id="dx1-29009"></a> <span
+ id="dx1-30009"></a> <span
class="cmtt-10">\glsxtr[</span>⟨<span
class="cmitt-10">gls-options</span>⟩<span
class="cmtt-10">][</span>⟨<span
@@ -11685,7 +13062,7 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5760--><p class="noindent" >
+</p><!--l. 6362--><p class="noindent" >
If an entry with the label ⟨<span
class="cmti-10">label</span>⟩ has already been defined, this just does <span
class="cmtt-10">\gls</span>
@@ -11720,34 +13097,34 @@
class="cmsy-10">}</span>
</div>
</div>
-<!--l. 5772--><p class="indent" > <div class="important" title="Important Note"> The ⟨<span
+<!--l. 6374--><p class="indent" > <div class="important" title="Important Note"> The ⟨<span
class="cmti-10">label</span>⟩ must contain any non-expandable commands, such as formatting
commands or problematic characters. If the term requires any of these, they must be
omitted from the ⟨<span
class="cmti-10">label</span>⟩ and placed in the <span
class="cmss-10">name</span><a
- id="dx1-29010"></a> key must be provided in the optional
+ id="dx1-30010"></a> key must be provided in the optional
argument ⟨<span
class="cmti-10">dfn-options</span>⟩. </div>
-</p><!--l. 5778--><p class="noindent" >
+</p><!--l. 6380--><p class="noindent" >
-</p><!--l. 5780--><p class="indent" > The second optional argument ⟨<span
+</p><!--l. 6382--><p class="indent" > The second optional argument ⟨<span
class="cmti-10">dfn-options</span>⟩ should be empty if the entry has
already been defined, since it’s too late for them. If it’s not empty, a warning will be
generated with
-</p><!--l. 5783--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6385--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\GlsXtrWarning</span><span
class="cmtt-9"> </span></span><a
- id="dx1-29011"></a> <span
+ id="dx1-30011"></a> <span
class="cmtt-10">\GlsXtrWarning{</span>⟨<span
class="cmitt-10">dfn-options</span>⟩<span
class="cmtt-10">}{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5785--><p class="noindent" >
-</p><!--l. 5787--><p class="indent" > For example, this warning will be generated on the second instance of <span
+</p><!--l. 6387--><p class="noindent" >
+</p><!--l. 6389--><p class="indent" > For example, this warning will be generated on the second instance of <span
class="cmtt-10">\glsxtr</span>
below:
@@ -11754,34 +13131,34 @@
</p>
- <div class="verbatim" id="verbatim-136">
+ <div class="verbatim" id="verbatim-158">
\glsxtr[][plural=geese]{goose}
 <br /> ... later
 <br />\glsxtr[][plural=geese]{goose}
</div>
-<!--l. 5793--><p class="nopar" >
-</p><!--l. 5795--><p class="indent" > If you are considering doing something like:
+<!--l. 6395--><p class="nopar" >
+</p><!--l. 6397--><p class="indent" > If you are considering doing something like:
</p>
- <div class="verbatim" id="verbatim-137">
+ <div class="verbatim" id="verbatim-159">
\newcommand*{\goose}{\glsxtr[][plural=geese]{goose}}
 <br />\renewcommand*{\GlsXtrWarning}[2]{}
 <br /> ... later
 <br />\goose\ some more text here
</div>
-<!--l. 5801--><p class="nopar" > then don’t bother. It’s simpler and less problematic to just define the entries in the
+<!--l. 6403--><p class="nopar" > then don’t bother. It’s simpler and less problematic to just define the entries in the
preamble with <span
class="cmtt-10">\newglossaryentry</span><a
- id="dx1-29012"></a> and then use <span
+ id="dx1-30012"></a> and then use <span
class="cmtt-10">\gls </span>in the document.
-</p><!--l. 5806--><p class="indent" > There are plural and case-changing alternatives to <span
+</p><!--l. 6408--><p class="indent" > There are plural and case-changing alternatives to <span
class="cmtt-10">\glsxtr</span>:
-</p><!--l. 5807--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6409--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\glsxtrpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-29013"></a> <span
+ id="dx1-30013"></a> <span
class="cmtt-10">\glsxtrpl[</span>⟨<span
class="cmitt-10">gls-options</span>⟩<span
class="cmtt-10">][</span>⟨<span
@@ -11789,15 +13166,15 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5809--><p class="noindent" >
+</p><!--l. 6411--><p class="noindent" >
This is like <span
class="cmtt-10">\glsxtr </span>but uses <span
class="cmtt-10">\glspl </span>instead of <span
class="cmtt-10">\gls</span>.
-</p><!--l. 5812--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6414--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtr</span><span
class="cmtt-9"> </span></span><a
- id="dx1-29014"></a> <span
+ id="dx1-30014"></a> <span
class="cmtt-10">\Glsxtr[</span>⟨<span
class="cmitt-10">gls-options</span>⟩<span
class="cmtt-10">][</span>⟨<span
@@ -11805,15 +13182,15 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5814--><p class="noindent" >
+</p><!--l. 6416--><p class="noindent" >
This is like <span
class="cmtt-10">\glsxtr </span>but uses <span
class="cmtt-10">\Gls </span>instead of <span
class="cmtt-10">\gls</span>.
-</p><!--l. 5817--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+</p><!--l. 6419--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
class="cmtt-9">\Glsxtrpl</span><span
class="cmtt-9"> </span></span><a
- id="dx1-29015"></a> <span
+ id="dx1-30015"></a> <span
class="cmtt-10">\Glsxtrpl[</span>⟨<span
class="cmitt-10">gls-options</span>⟩<span
class="cmtt-10">][</span>⟨<span
@@ -11821,12 +13198,12 @@
class="cmtt-10">]{</span>⟨<span
class="cmitt-10">label</span>⟩<span
class="cmtt-10">} </span></div><hr>
-</p><!--l. 5819--><p class="noindent" >
+</p><!--l. 6421--><p class="noindent" >
This is like <span
class="cmtt-10">\glsxtr </span>but uses <span
class="cmtt-10">\Glspl </span>instead of <span
class="cmtt-10">\gls</span>.
-</p><!--l. 5822--><p class="indent" > If you use UTF-8 and don’t want the inconvenient of needing to use an
+</p><!--l. 6424--><p class="indent" > If you use UTF-8 and don’t want the inconvenient of needing to use an
ASCII-only label, then it’s better to use <span class="HoLogo-XeLaTeX"><span class="HoLogo-Xe">X<span class="HoLogo-e">Ǝ</span></span><span class="HoLogo-LaTeX">L<span class="HoLogo-a">A</span><span class="HoLogo-TeX">T<span class="HoLogo-e">E</span>X</span></span></span> or Lua<span class="HoLogo-LaTeX">L<span class="HoLogo-a">A</span><span class="HoLogo-TeX">T<span class="HoLogo-e">E</span>X</span></span> instead of
<span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> (or pdf<span class="HoLogo-LaTeX">L<span class="HoLogo-a">A</span><span class="HoLogo-TeX">T<span class="HoLogo-e">E</span>X</span></span>). If you really desperately want to use UTF-8 entry labels
@@ -11835,24 +13212,24 @@
class="cmtt-10">\GlsXtrEnableOnTheFly </span>that allows you to use UTF-8 characters in ⟨<span
class="cmti-10">label</span>⟩, but it’s
experimental and may not work in some cases.
-</p><!--l. 5831--><p class="indent" > <div class="important" title="Important Note"> If you use the starred version of <span
+</p><!--l. 6433--><p class="indent" > <div class="important" title="Important Note"> If you use the starred version of <span
class="cmtt-10">\GlsXtrEnableOnTheFly </span>don’t use any
commands in the ⟨<span
class="cmti-10">label</span>⟩, even if they expand to just text. </div>
-</p><!--l. 5835--><p class="noindent" >
+</p><!--l. 6437--><p class="noindent" >
</p>
-<!--l. 5837--><p class="indent" > </div>
-</p><!--l. 5837--><p class="noindent" ><a
+<!--l. 6439--><p class="indent" > </div>
+</p><!--l. 6439--><p class="noindent" ><a
href="#top">Top</a><div class="chapter"><h2 class="chapterHead">9. <a
id="sec:bib2gls"></a>bib2gls: Managing Reference Databases</h2>
-</p><!--l. 5840--><p class="indent" > There is a new command line application called <a
- id="dx1-30001"></a><a
+</p><!--l. 6442--><p class="indent" > There is a new command line application called <a
+ id="dx1-31001"></a><a
href="#glo:bib2gls"><span
class="cmtt-10">bib2gls</span><a
- id="dx1-30002"></a></a>, which works in much
+ id="dx1-31002"></a></a>, which works in much
the same way as a combination of <span
class="cmtt-10">bibtex </span>and <span
class="cmtt-10">makeindex</span>/<span
@@ -11863,15 +13240,15 @@
<span
class="cmtt-10">\loadglsentries</span>, the entries can instead be stored in a <span
class="cmtt-10">.bib </span>file and <a
- id="dx1-30003"></a><span
+ id="dx1-31003"></a><span
class="cmtt-10">bib2gls</span><a
- id="dx1-30004"></a> can
+ id="dx1-31004"></a> can
selectively write the appropriate commands to a <span
class="cmtt-10">.glstex </span>file which is loaded using
<span
class="cmtt-10">\glsxtrresourcefile </span>(or <span
class="cmtt-10">\GlsXtrLoadResources</span>).
-</p><!--l. 5851--><p class="indent" > This means that you can use a reference managing system, such as JabRef, to
+</p><!--l. 6453--><p class="indent" > This means that you can use a reference managing system, such as JabRef, to
maintain the database and it reduces the <span class="TEX">T<span
class="E">E</span>X</span> overhead by only defining the entries
that are actually required in the document. If you currently have a <span
@@ -11883,28 +13260,28 @@
containing glossary definitions to a <span
class="cmtt-10">.bib </span>file using <span
class="cmtt-10">convertgls2bib</span><a
- id="dx1-30005"></a>, supplied with
+ id="dx1-31005"></a>, supplied with
<a
- id="dx1-30006"></a><span
+ id="dx1-31006"></a><span
class="cmtt-10">bib2gls</span><a
- id="dx1-30007"></a>.)
-</p><!--l. 5862--><p class="indent" > There are some new commands and options added to <span
+ id="dx1-31007"></a>.)
+</p><!--l. 6464--><p class="indent" > There are some new commands and options added to <span
class="cmss-10">glossaries-extra </span>to help assist
the integration of <a
- id="dx1-30008"></a><spa