%% %% This is file `glossaries-compatible-207-2021-11-01.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% glossaries.dtx (with options: `glossaries-compatible-207-2021-11-01.sty,package') %% %% glossaries.dtx %% Copyright 2024 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is Nicola Talbot. %% %% This work consists of the files glossaries.dtx and glossaries.ins and the derived files glossaries.sty, glossary-hypernav.sty, glossary-inline.sty, glossary-list.sty, glossary-long.sty, glossary-longbooktabs.sty, glossary-longragged.sty, glossary-mcols.sty, glossary-super.sty, glossary-superragged.sty, glossary-tree.sty, glossaries-babel.sty, glossaries-polyglossia.sty, glossaries-prefix.sty, glossaries-accsupp.sty, glossaries-compatible-207.sty, glossaries-compatible-307.sty, glossaries-2020-03-19.sty, glossaries-accsupp-2020-03-19.sty, glossaries-babel-2020-03-19.sty, glossaries-compatible-207-2020-03-19.sty, glossaries-compatible-307-2020-03-19.sty, glossaries-polyglossia-2020-03-19.sty, glossaries-prefix-2020-03-19.sty, glossary-hypernav-2020-03-19.sty, glossary-inline-2020-03-19.sty, glossary-list-2020-03-19.sty, glossary-long-2020-03-19.sty, glossary-longbooktabs-2020-03-19.sty, glossary-longragged-2020-03-19.sty, glossary-mcols-2020-03-19.sty, glossary-super-2020-03-19.sty, glossary-superragged-2020-03-19.sty, glossary-tree-2020-03-19.sty, glossaries-2021-11-01.sty, glossaries-accsupp-2021-11-01.sty, glossaries-babel-2021-11-01.sty, glossaries-compatible-207-2021-11-01.sty, glossaries-compatible-307-2021-11-01.sty, glossaries-polyglossia-2021-11-01.sty, glossaries-prefix-2021-11-01.sty, glossary-hypernav-2021-11-01.sty, glossary-inline-2021-11-01.sty, glossary-list-2021-11-01.sty, glossary-long-2021-11-01.sty, glossary-longbooktabs-2021-11-01.sty, glossary-longragged-2021-11-01.sty, glossary-mcols-2021-11-01.sty, glossary-super-2021-11-01.sty, glossary-superragged-2021-11-01.sty, glossary-tree-2021-11-01.sty, glossaries-2022-11-03.sty, glossary-hypernav-2022-11-03.sty, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childmultipar.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-longchild.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, example-glossaries-user.tex, example-glossaries-utf8.tex, glossaries.l2h. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{glossaries-compatible-207}[2021/11/01 v4.49 (NLCT)] \ifglsxindy \renewcommand*\GlsAddXdyAttribute[1]{% \edef\@xdyattributes{\@xdyattributes ^^J \string"#1\string"}% \expandafter\toks@\expandafter{\@xdylocref}% \edef\@xdylocref{\the\toks@ ^^J% (markup-locref :open \string"\string~n\string\setentrycounter {\noexpand\glscounter}% \expandafter\string\csname#1\endcsname \expandafter\@gobble\string\{\string" ^^J :close \string"\expandafter\@gobble\string\}\string" ^^J :attr \string"#1\string")}} \fi \renewcommand*\GlsAddXdyCounters[1]{% \GlossariesWarning{\string\GlsAddXdyCounters\space not available in compatibility mode.}% } \GlsAddXdyAttribute{glsnumberformat} \GlsAddXdyAttribute{textrm} \GlsAddXdyAttribute{textsf} \GlsAddXdyAttribute{texttt} \GlsAddXdyAttribute{textbf} \GlsAddXdyAttribute{textmd} \GlsAddXdyAttribute{textit} \GlsAddXdyAttribute{textup} \GlsAddXdyAttribute{textsl} \GlsAddXdyAttribute{textsc} \GlsAddXdyAttribute{emph} \GlsAddXdyAttribute{glshypernumber} \GlsAddXdyAttribute{hyperrm} \GlsAddXdyAttribute{hypersf} \GlsAddXdyAttribute{hypertt} \GlsAddXdyAttribute{hyperbf} \GlsAddXdyAttribute{hypermd} \GlsAddXdyAttribute{hyperit} \GlsAddXdyAttribute{hyperup} \GlsAddXdyAttribute{hypersl} \GlsAddXdyAttribute{hypersc} \GlsAddXdyAttribute{hyperemph} \ifglsxindy \renewcommand*{\GlsAddXdyLocation}[2]{% \edef\@xdyuserlocationdefs{% \@xdyuserlocationdefs ^^J% (define-location-class \string"#1\string"^^J\space\space \space(#2)) }% \edef\@xdyuserlocationnames{% \@xdyuserlocationnames^^J\space\space\space \string"#1\string"}% } \fi \renewcommand{\@do@wrglossary}[1]{% \ifglsxindy \expandafter\@glo@check@mkidxrangechar\@glsnumberformat\@nil \def\@glo@range{}% \expandafter\if\@glo@prefix(\relax \def\@glo@range{:open-range}% \else \expandafter\if\@glo@prefix)\relax \def\@glo@range{:close-range}% \fi \fi \protected@edef\@glslocref{\theglsentrycounter}% \@gls@checkmkidxchars\@glslocref \glossary[\csname glo@#1@type\endcsname]{% (indexentry :tkey (\csname glo@#1@index\endcsname) :locref \string"\@glslocref\string" % :attr \string"\@glo@suffix\string" \@glo@range ) }% \else \@set@glo@numformat\@glo@numfmt\@gls@counter\@glsnumberformat \glossary[\csname glo@#1@type\endcsname]{% \string\glossaryentry{\csname glo@#1@index\endcsname \@gls@encapchar\@glo@numfmt}{\theglsentrycounter}}% \fi } \def\@set@glo@numformat#1#2#3{% \expandafter\@glo@check@mkidxrangechar#3\@nil \protected@edef#1{% \@glo@prefix setentrycounter[]{#2}% \expandafter\string\csname\@glo@suffix\endcsname }% \@gls@checkmkidxchars#1% } \ifglsxindy \def\writeist{% \openout\glswrite=\istfilename \write\glswrite{;; xindy style file created by the glossaries package in compatible-2.07 mode}% \write\glswrite{;; for document '\jobname' on \the\year-\the\month-\the\day}% \write\glswrite{^^J; required styles^^J} \@for\@xdystyle:=\@xdyrequiredstyles\do{% \ifx\@xdystyle\@empty \else \protected@write\glswrite{}{(require \string"\@xdystyle.xdy\string")}% \fi }% \write\glswrite{^^J% ; list of allowed attributes (number formats)^^J}% \write\glswrite{(define-attributes ((\@xdyattributes)))}% \write\glswrite{^^J; user defined alphabets^^J}% \write\glswrite{\@xdyuseralphabets}% \write\glswrite{^^J; location class definitions^^J}% \protected@edef\@gls@roman{\@roman{0\string" \string"roman-numbers-lowercase\string" :sep \string"}}% \@onelevel@sanitize\@gls@roman \edef\@tmp{\string" \string"roman-numbers-lowercase\string" :sep \string"}% \@onelevel@sanitize\@tmp \ifx\@tmp\@gls@roman \write\glswrite{(define-location-class \string"roman-page-numbers\string"^^J\space\space\space (\string"roman-numbers-lowercase\string") :min-range-length \@glsminrange)}% \else \write\glswrite{(define-location-class \string"roman-page-numbers\string"^^J\space\space\space (:sep "\@gls@roman") :min-range-length \@glsminrange)}% \fi \write\glswrite{(define-location-class \string"Roman-page-numbers\string"^^J\space\space\space (\string"roman-numbers-uppercase\string") :min-range-length \@glsminrange)}% \write\glswrite{(define-location-class \string"arabic-page-numbers\string"^^J\space\space\space (\string"arabic-numbers\string") :min-range-length \@glsminrange)}% \write\glswrite{(define-location-class \string"alpha-page-numbers\string"^^J\space\space\space (\string"alpha\string") :min-range-length \@glsminrange)}% \write\glswrite{(define-location-class \string"Alpha-page-numbers\string"^^J\space\space\space (\string"ALPHA\string") :min-range-length \@glsminrange)}% \write\glswrite{(define-location-class \string"Appendix-page-numbers\string"^^J\space\space\space (\string"ALPHA\string" :sep \string"\@glsAlphacompositor\string" \string"arabic-numbers\string") :min-range-length \@glsminrange)}% \write\glswrite{(define-location-class \string"arabic-section-numbers\string"^^J\space\space\space (\string"arabic-numbers\string" :sep \string"\glscompositor\string" \string"arabic-numbers\string") :min-range-length \@glsminrange)}% \write\glswrite{^^J; user defined location classes}% \write\glswrite{\@xdyuserlocationdefs}% \write\glswrite{^^J; define cross-reference class^^J}% \write\glswrite{(define-crossref-class \string"see\string" :unverified )}% \write\glswrite{(markup-crossref-list :class \string"see\string"^^J\space\space\space :open \string"\string\glsseeformat\string" :close \string"{}\string")}% \write\glswrite{^^J; define the order of the location classes}% \write\glswrite{(define-location-class-order (\@xdylocationclassorder))}% \write\glswrite{^^J; define the glossary markup^^J}% \write\glswrite{(markup-index^^J\space\space\space :open \string"\string \glossarysection[\string\glossarytoctitle]{\string \glossarytitle}\string\glossarypreamble\string~n\string\begin {theglossary}\string\glossaryheader\string~n\string" ^^J\space \space\space:close \string"\expandafter\@gobble \string\%\string~n\string \end{theglossary}\string\glossarypostamble \string~n\string" ^^J\space\space\space :tree)}% \write\glswrite{(markup-letter-group-list :sep \string"\string\glsgroupskip\string~n\string")}% \write\glswrite{(markup-indexentry :open \string"\string\relax \string\glsresetentrylist \string~n\string")}% \write\glswrite{(markup-locclass-list :open \string"\glsopenbrace\string\glossaryentrynumbers \glsopenbrace\string\relax\space \string"^^J\space\space\space :sep \string", \string" :close \string"\glsclosebrace\glsclosebrace\string")}% \write\glswrite{(markup-locref-list :sep \string"\string\delimN\space\string")}% \write\glswrite{(markup-range :sep \string"\string\delimR\space\string")}% \@onelevel@sanitize\gls@suffixF \@onelevel@sanitize\gls@suffixFF \ifx\gls@suffixF\@empty \else \write\glswrite{(markup-range :close "\gls@suffixF" :length 1 :ignore-end)}% \fi \ifx\gls@suffixFF\@empty \else \write\glswrite{(markup-range :close "\gls@suffixFF" :length 2 :ignore-end)}% \fi \write\glswrite{^^J; define format to use for locations^^J}% \write\glswrite{\@xdylocref}% \write\glswrite{^^J; define letter group list format^^J}% \write\glswrite{(markup-letter-group-list :sep \string"\string\glsgroupskip\string~n\string")}% \write\glswrite{^^J; letter group headings^^J}% \write\glswrite{(markup-letter-group :open-head \string"\string\glsgroupheading \glsopenbrace\string"^^J\space\space\space :close-head \string"\glsclosebrace\string")}% \write\glswrite{^^J; additional letter groups^^J}% \write\glswrite{\@xdylettergroups}% \write\glswrite{^^J; additional sort rules^^J} \write\glswrite{\@xdysortrules}% \noist} \else \edef\@gls@actualchar{\string?} \edef\@gls@encapchar{\string|} \edef\@gls@levelchar{\string!} \edef\@gls@quotechar{\string"} \def\writeist{\relax \openout\glswrite=\istfilename \write\glswrite{\expandafter\@gobble\string\% makeindex style file created by the glossaries package} \write\glswrite{\expandafter\@gobble\string\% for document '\jobname' on \the\year-\the\month-\the\day} \write\glswrite{actual '\@gls@actualchar'} \write\glswrite{encap '\@gls@encapchar'} \write\glswrite{level '\@gls@levelchar'} \write\glswrite{quote '\@gls@quotechar'} \write\glswrite{keyword \string"\string\\glossaryentry\string"} \write\glswrite{preamble \string"\string\\glossarysection[\string \\glossarytoctitle]{\string\\glossarytitle}\string \\glossarypreamble\string\n\string\\begin{theglossary}\string \\glossaryheader\string\n\string"} \write\glswrite{postamble \string"\string\%\string\n\string \\end{theglossary}\string\\glossarypostamble\string\n \string"} \write\glswrite{group_skip \string"\string\\glsgroupskip\string\n \string"} \write\glswrite{item_0 \string"\string\%\string\n\string"} \write\glswrite{item_1 \string"\string\%\string\n\string"} \write\glswrite{item_2 \string"\string\%\string\n\string"} \write\glswrite{item_01 \string"\string\%\string\n\string"} \write\glswrite{item_x1 \string"\string\\relax \string\\glsresetentrylist\string\n \string"} \write\glswrite{item_12 \string"\string\%\string\n\string"} \write\glswrite{item_x2 \string"\string\\relax \string\\glsresetentrylist\string\n \string"} \write\glswrite{delim_0 \string"\string\{\string \\glossaryentrynumbers\string\{\string\\relax \string"} \write\glswrite{delim_1 \string"\string\{\string \\glossaryentrynumbers\string\{\string\\relax \string"} \write\glswrite{delim_2 \string"\string\{\string \\glossaryentrynumbers\string\{\string\\relax \string"} \write\glswrite{delim_t \string"\string\}\string\}\string"} \write\glswrite{delim_n \string"\string\\delimN \string"} \write\glswrite{delim_r \string"\string\\delimR \string"} \write\glswrite{headings_flag 1} \write\glswrite{heading_prefix \string"\string\\glsgroupheading\string\{\string"} \write\glswrite{heading_suffix \string"\string\}\string\\relax \string\\glsresetentrylist \string"} \write\glswrite{symhead_positive \string"glssymbols\string"} \write\glswrite{numhead_positive \string"glsnumbers\string"} \write\glswrite{page_compositor \string"\glscompositor\string"} \@gls@escbsdq\gls@suffixF \@gls@escbsdq\gls@suffixFF \ifx\gls@suffixF\@empty \else \write\glswrite{suffix_2p \string"\gls@suffixF\string"} \fi \ifx\gls@suffixFF\@empty \else \write\glswrite{suffix_3p \string"\gls@suffixFF\string"} \fi \noist } \fi \renewcommand*{\noist}{\let\writeist\relax} \endinput %% %% End of file `glossaries-compatible-207-2021-11-01.sty'.