diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/glossaries/glossaries.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/glossaries/glossaries.dtx | 157 |
1 files changed, 35 insertions, 122 deletions
diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx index 110cdf53618..5c71fbc95a1 100644 --- a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx +++ b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx @@ -1,7 +1,8 @@ %\iffalse % glossaries.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: -% -section "chapter" +% -comment ".*\.perl" +% -comment ".*\.tex" % -src "glossaries\.sty\Z=>glossaries.sty" % -src "glossaries-prefix.sty\Z=>glossaries-prefix.sty" % -src "(glossary-.+)\.(sty)\Z=>\1.\2" @@ -11,19 +12,18 @@ % -src "(glossaries-babel)\.(sty)\Z=>\1.\2" % -src "(glossaries-polyglossia)\.(sty)\Z=>\1.\2" % -src "(example-glossaries-.*\.tex)\Z=>\1" -% -src "(glossar.*-2020-03-19\.sty)\Z=>\1" +% -src "(glossaries-2020-03-19\.sty)\Z=>\1" % -src "(.*\.perl)\Z=>\1" -% -setambles ".*\.perl=>\nopreamble\nopostamble" -% -setambles ".*\.tex=>\nopreamble\nopostamble" -% -doc "glossaries-manual.tex" -% -comment ".*\.perl" -% -comment ".*\.tex" -% -author "Nicola Talbot" +% -codetitle "Main Package Code" % -macrocode ".*\.perl" % -macrocode ".*\.tex" -% -codetitle "Main Package Code" +% -author "Nicola Talbot" +% -doc "glossaries-manual.tex" +% -setambles ".*\.perl=>\nopreamble\nopostamble" +% -setambles ".*\.tex=>\nopreamble\nopostamble" +% -section "chapter" % glossaries -% Created on 2021/10/20 10:44 +% Created on 2021/11/1 18:45 %\fi %\iffalse %<*package> @@ -137,7 +137,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \setcounter{IndexColumns}{2} -\CheckSum{34471} +\CheckSum{34319} \newcommand*{\ifirstuse}{\iterm{first use}} \newcommand*{\firstuse}{\gls{firstuse}} @@ -164,12 +164,12 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %\fi %\MakeShortVerb{"} % -% \title{Documented Code For glossaries v4.48} +% \title{Documented Code For glossaries v4.49} % \author{Nicola L.C. Talbot\\[10pt] %Dickimaw Books\\ %\url{http://www.dickimaw-books.com/}} % -% \date{2021-10-19} +% \date{2021-11-01} % \maketitle % %This is the documented code for the \styfmt{glossaries} package. @@ -185,7 +185,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %glossaries package}. % %\item[\url{glossaries-user.pdf}] -%For the main user guide, read \qt{glossaries.sty v4.48: +%For the main user guide, read \qt{glossaries.sty v4.49: %\LaTeX2e\ Package to Assist Generating Glossaries}. % %\item[\url{mfirstuc-manual.pdf}] @@ -244,11 +244,11 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % Rollback releases: % \begin{macrocode} \DeclareRelease{v4.46}{2020-03-19}{glossaries-2020-03-19.sty} -\DeclareCurrentRelease{v4.48}{2021-10-19} +\DeclareCurrentRelease{v4.49}{2021-11-01} % \end{macrocode} % Declare package: % \begin{macrocode} -\ProvidesPackage{glossaries}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossaries}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} %\changes{4.18}{2015-09-09}{split mfirstuc into separate bundle} % Required packages: @@ -19893,7 +19893,7 @@ you % \cs{gls}\marg{label}} on subsequent use. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-prefix}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossaries-prefix}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Pass all options to \sty{glossaries}: % \begin{macrocode} @@ -20358,7 +20358,7 @@ you %\label{sec:code:hypernav} % Package Definition: % \begin{macrocode} -\ProvidesPackage{glossary-hypernav}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-hypernav}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % % The commands defined in this package are provided to @@ -20557,7 +20557,7 @@ you % This defines an in-line style where the entries are % comma-separated with just the name and description displayed. % \begin{macrocode} -\ProvidesPackage{glossary-inline}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-inline}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % %\begin{style}{inline} @@ -20842,11 +20842,11 @@ you % Rollback releases: % \begin{macrocode} \DeclareRelease{v4.46}{2020-03-19}{glossary-list-2020-03-19.sty} -\DeclareCurrentRelease{v4.48}{2021-10-19} +\DeclareCurrentRelease{v4.49}{2021-11-01} % \end{macrocode} %Declare package: % \begin{macrocode} -\ProvidesPackage{glossary-list}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-list}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} %\begin{macro}{\indexspace} %\changes{4.13}{2015-02-03}{new} @@ -20883,6 +20883,7 @@ you % %\begin{macro}{\glslistinit} %\changes{4.48}{2021-10-19}{new} +%\changes{4.49}{2021-11-01}{added \cs{glsnavigation}} %Provide a way to ensure appropriate expansion of the name if %\pkgopt{entrycounter} is used with \sty{gettitlestring}: % \begin{macrocode} @@ -20897,6 +20898,7 @@ you \let\glslistgroupheaderfmt\@firstofone \let\glsgetgrouptitle\@firstofone \let\glsnavhypertarget\@secondoftwo + \let\glsnavigation\relax }% }% {}% @@ -21160,7 +21162,7 @@ you % The glossary styles defined in the \isty{glossary-long} package % used the \env{longtable} environment in the glossary. % \begin{macrocode} -\ProvidesPackage{glossary-long}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-long}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Requires the \isty{longtable} package: % \begin{macrocode} @@ -21657,7 +21659,7 @@ you % \url{http://tex.stackexchange.com/a/56890} % % \begin{macrocode} -\ProvidesPackage{glossary-longbooktabs}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-longbooktabs}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Requires \sty{booktabs} package: % \begin{macrocode} @@ -21998,7 +22000,7 @@ you % used the \env{longtable} environment in the glossary and use % ragged right formatting for the multiline columns. % \begin{macrocode} -\ProvidesPackage{glossary-longragged}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-longragged}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -22431,7 +22433,7 @@ you %use the \sty{multicol} package. These use the tree-like glossary %styles in a multicol environment. % \begin{macrocode} -\ProvidesPackage{glossary-mcols}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-mcols}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Required packages: % \begin{macrocode} @@ -22868,7 +22870,7 @@ you % The glossary styles defined in the \isty{glossary-super} package % use the \env{supertabular} environment. % \begin{macrocode} -\ProvidesPackage{glossary-super}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-super}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Requires the \isty{supertabular} package: % \begin{macrocode} @@ -23400,7 +23402,7 @@ you % are like those provided by the \isty{glossary-super} package, % except that the multiline columns have ragged right justification. % \begin{macrocode} -\ProvidesPackage{glossary-superragged}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-superragged}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -23840,7 +23842,7 @@ you % that have a tree-like structure. These are designed for % hierarchical glossaries. % \begin{macrocode} -\ProvidesPackage{glossary-tree}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossary-tree}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % %\begin{macro}{\indexspace} @@ -24561,7 +24563,7 @@ you % hyperlinks may not work properly. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-207}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossaries-compatible-207}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} %\begin{macro}{\GlsAddXdyAttribute} % Adds an attribute in old format. @@ -24922,7 +24924,7 @@ you %\section{glossaries-compatible-307} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-307}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossaries-compatible-307}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % % Compatibility macros for predefined glossary styles: @@ -25730,7 +25732,7 @@ you % \end{macrocode} % Package version number now in line with main glossaries package number. % \begin{macrocode} -\ProvidesPackage{glossaries-accsupp}[2021/10/19 v4.48 (NLCT) +\ProvidesPackage{glossaries-accsupp}[2021/11/01 v4.49 (NLCT) Experimental glossaries accessibility] % \end{macrocode} % Pass all options to \sty{glossaries}: @@ -29038,7 +29040,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-babel}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossaries-babel}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -29082,7 +29084,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-polyglossia}[2021/10/19 v4.48 (NLCT)] +\ProvidesPackage{glossaries-polyglossia}[2021/11/01 v4.49 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -38974,95 +38976,6 @@ you %\fi %\iffalse % \begin{macrocode} -%<*glossary-list-2020-03-19.sty> -% \end{macrocode} -%\fi -% \section{Rollback v4.46 (glossary-list-2020-03-19.sty)} -% Version 4.46 preserved for rollback. -% \begin{macrocode} -\ProvidesPackage{glossary-list}[2020/03/19 v4.46 (NLCT)] -\providecommand{\indexspace}{% - \par \vskip 10\p@ \@plus 5\p@ \@minus 3\p@ \relax -} -\newcommand*{\glslistgroupheaderfmt}[1]{#1} -\newcommand*{\glslistnavigationitem}[1]{\item[#1]} -\newglossarystyle{list}{% - \renewenvironment{theglossary}% - {\begin{description}}{\end{description}}% - \renewcommand*{\glossaryheader}{}% - \renewcommand*{\glsgroupheading}[1]{}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription\space ##2}% - \renewcommand*{\subglossentry}[3]{% - \glssubentryitem{##2}% - \glstarget{##2}{\strut}\space - \glossentrydesc{##2}\glspostdescription\space ##3.}% - \renewcommand*{\glsgroupskip}{\ifglsnogroupskip\else\indexspace\fi}% -} -\newglossarystyle{listgroup}{% - \setglossarystyle{list}% - \renewcommand*{\glsgroupheading}[1]{% - \item[\glslistgroupheaderfmt{\glsgetgrouptitle{##1}}]}} -\newglossarystyle{listhypergroup}{% - \setglossarystyle{list}% - \renewcommand*{\glossaryheader}{% - \glslistnavigationitem{\glsnavigation}}% - \renewcommand*{\glsgroupheading}[1]{% - \item[\glslistgroupheaderfmt - {\glsnavhypertarget{##1}{\glsgetgrouptitle{##1}}}]}} -\newglossarystyle{altlist}{% - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}]% - \mbox{}\par\nobreak\@afterheading - \glossentrydesc{##1}\glspostdescription\space ##2}% - \renewcommand{\subglossentry}[3]{% - \par - \glssubentryitem{##2}% - \glstarget{##2}{\strut}\glossentrydesc{##2}\glspostdescription\space ##3}% -} -\newglossarystyle{altlistgroup}{% - \setglossarystyle{altlist}% - \renewcommand*{\glsgroupheading}[1]{% - \item[\glslistgroupheaderfmt{\glsgetgrouptitle{##1}}]}} -\newglossarystyle{altlisthypergroup}{% - \setglossarystyle{altlist}% - \renewcommand*{\glossaryheader}{% - \glslistnavigationitem{\glsnavigation}}% - \renewcommand*{\glsgroupheading}[1]{% - \item[\glslistgroupheaderfmt - {\glsnavhypertarget{##1}{\glsgetgrouptitle{##1}}}]}} -\newglossarystyle{listdotted}{% - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[]\makebox[\glslistdottedwidth][l]{% - \glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}% - \unskip\leaders\hbox to 2.9mm{\hss.}\hfill\strut}\glossentrydesc{##1}}% - \renewcommand*{\subglossentry}[3]{% - \item[]\makebox[\glslistdottedwidth][l]{% - \glssubentryitem{##2}% - \glstarget{##2}{\glossentryname{##2}}% - \unskip\leaders\hbox to 2.9mm{\hss.}\hfill\strut}\glossentrydesc{##2}}% -} -\newlength\glslistdottedwidth -\setlength{\glslistdottedwidth}{.5\hsize} -\newglossarystyle{sublistdotted}{% - \setglossarystyle{listdotted}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}}]}% -} -% \end{macrocode} -%\iffalse -% \begin{macrocode} -%</glossary-list-2020-03-19.sty> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*glossaries.perl> % \end{macrocode} %\fi |