diff options
Diffstat (limited to 'macros')
191 files changed, 951 insertions, 7575 deletions
diff --git a/macros/latex/contrib/atenddvi/README.md b/macros/latex/contrib/atenddvi/README.md new file mode 100644 index 0000000000..dab339b628 --- /dev/null +++ b/macros/latex/contrib/atenddvi/README.md @@ -0,0 +1,13 @@ +# atenddvi + +atenddvi package for LaTeX + + + +LaTeX offers \AtBeginDvi. This package atenddvi +provides the counterpart \AtEndDvi. The execution of its +argument is delayed to the end of the document at the end of the +last page. Thus \special and \write remain effective, because +they are put into the last page. This is the main difference +to \AtEndDocument. + diff --git a/macros/latex/contrib/oberdiek/atenddvi.dtx b/macros/latex/contrib/atenddvi/atenddvi.dtx index b1b15af7ab..5214ad77e2 100644 --- a/macros/latex/contrib/oberdiek/atenddvi.dtx +++ b/macros/latex/contrib/atenddvi/atenddvi.dtx @@ -1,13 +1,13 @@ % \iffalse meta-comment % % File: atenddvi.dtx -% Version: 2016/05/16 v1.2 +% Version: 2019/12/05 v1.3 % Info: At end DVI hook % % Copyright (C) % 2007 Heiko Oberdiek % 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/atenddvi/issues % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -23,15 +23,15 @@ % % The Current Maintainers of this work are % Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/atenddvi/issues % % This work consists of the main source file atenddvi.dtx % and the derived files % atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv. % % Distribution: -% CTAN:macros/latex/contrib/oberdiek/atenddvi.dtx -% CTAN:macros/latex/contrib/oberdiek/atenddvi.pdf +% CTAN:macros/latex/contrib/atenddvi/atenddvi.dtx +% CTAN:macros/latex/contrib/atenddvi/atenddvi.pdf % % Unpacking: % (a) If atenddvi.ins is present: @@ -60,9 +60,9 @@ % pdflatex atenddvi.dtx % % Installation: -% TDS:tex/latex/oberdiek/atenddvi.sty -% TDS:doc/latex/oberdiek/atenddvi.pdf -% TDS:source/latex/oberdiek/atenddvi.dtx +% TDS:tex/latex/atenddvi/atenddvi.sty +% TDS:doc/latex/atenddvi/atenddvi.pdf +% TDS:source/latex/atenddvi/atenddvi.dtx % %<*ignore> \begingroup @@ -79,7 +79,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: atenddvi 2016/05/16 v1.2 At end DVI hook (HO)} +\Msg{* Package: atenddvi 2019/12/05 v1.3 At end DVI hook (HO)} \Msg{************************************************************************} \keepsilent @@ -91,7 +91,7 @@ This is a generated file. Project: atenddvi -Version: 2016/05/16 v1.2 +Version: 2019/12/05 v1.3 Copyright (C) 2007 Heiko Oberdiek @@ -111,7 +111,7 @@ This work has the LPPL maintenance status "maintained". The Current Maintainers of this work are Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues +https://github.com/ho-tex/atenddvi/issues This work consists of the main source file atenddvi.dtx @@ -124,7 +124,7 @@ and the derived files \generate{% \file{atenddvi.ins}{\from{atenddvi.dtx}{install}}% \file{atenddvi.drv}{\from{atenddvi.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% + \usedir{tex/latex/atenddvi}% \file{atenddvi.sty}{\from{atenddvi.dtx}{package}}% } @@ -152,7 +152,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{atenddvi.drv}% - [2016/05/16 v1.2 At end DVI hook (HO)]% + [2019/12/05 v1.3 At end DVI hook (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \begin{document} @@ -166,9 +166,9 @@ and the derived files % \GetFileInfo{atenddvi.drv} % % \title{The \xpackage{atenddvi} package} -% \date{2016/05/16 v1.2} +% \date{2019/12/05 v1.3} % \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} +% {Please report any issues at \url{https://github.com/ho-tex/atenddvi/issues}}} % % \maketitle % @@ -221,7 +221,7 @@ and the derived files %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{atenddvi}% - [2016/05/16 v1.2 At end DVI hook (HO)]% + [2019/12/05 v1.3 At end DVI hook (HO)]% % \end{macrocode} % % Load the required packages @@ -377,17 +377,17 @@ and the derived files % \paragraph{Package.} This package is available on % CTAN\footnote{\CTANpkg{atenddvi}}: % \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/atenddvi.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/atenddvi.pdf}] Documentation. +% \item[\CTAN{macros/latex/contrib/atenddvi/atenddvi.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/atenddvi/atenddvi.pdf}] Documentation. % \end{description} % % -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' +% \paragraph{Bundle.} All the packages of the bundle `atenddvi' % are also available in a TDS compliant ZIP archive. There % the packages are already unpacked and the documentation files % are generated. The files and directories obey the TDS standard. % \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] +% \item[\CTANinstall{install/macros/latex/contrib/atenddvi.tds.zip}] % \end{description} % \emph{TDS} refers to the standard ``A Directory Structure % for \TeX\ Files'' (\CTANpkg{tds}). Directories @@ -395,11 +395,11 @@ and the derived files % % \subsection{Bundle installation} % -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the +% \paragraph{Unpacking.} Unpack the \xfile{atenddvi.tds.zip} in the % TDS tree (also known as \xfile{texmf} tree) of your choice. % Example (linux): % \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| +% |unzip atenddvi.tds.zip -d ~/texmf| % \end{quote} % % \subsection{Package installation} @@ -417,9 +417,9 @@ and the derived files % \begin{quote} % \def\t{^^A % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% atenddvi.sty & tex/latex/oberdiek/atenddvi.sty\\ -% atenddvi.pdf & doc/latex/oberdiek/atenddvi.pdf\\ -% atenddvi.dtx & source/latex/oberdiek/atenddvi.dtx\\ +% atenddvi.sty & tex/latex/atenddvi/atenddvi.sty\\ +% atenddvi.pdf & doc/latex/atenddvi/atenddvi.pdf\\ +% atenddvi.dtx & source/latex/atenddvi/atenddvi.dtx\\ % \end{tabular}^^A % }^^A % \sbox0{\t}^^A @@ -542,6 +542,10 @@ and the derived files % \item % Documentation updates. % \end{Version} +% \begin{Version}{2019/12/05 v1.3} +% \item +% Documentation updates. +% \end{Version} % \end{History} % % \PrintIndex diff --git a/macros/latex/contrib/oberdiek/atenddvi.pdf b/macros/latex/contrib/atenddvi/atenddvi.pdf Binary files differindex 24fbfaed17..2f0ddb7d53 100644 --- a/macros/latex/contrib/oberdiek/atenddvi.pdf +++ b/macros/latex/contrib/atenddvi/atenddvi.pdf diff --git a/macros/latex/contrib/csquotes/README.md b/macros/latex/contrib/csquotes/README.md index f0ed6e1d5f..60a0689276 100644 --- a/macros/latex/contrib/csquotes/README.md +++ b/macros/latex/contrib/csquotes/README.md @@ -16,7 +16,7 @@ quotes are freely configurable. ## License -Copyright (c) 2003-2011 Philipp Lehman, 2015 Joseph Wright. +Copyright (c) 2003-2011 Philipp Lehman, 2015-2019 Joseph Wright. Permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License (LPPL), version 1.3c or any later version. diff --git a/macros/latex/contrib/csquotes/csq-compat.def b/macros/latex/contrib/csquotes/csq-compat.def index d7a6e504d9..d4c9485a30 100644 --- a/macros/latex/contrib/csquotes/csq-compat.def +++ b/macros/latex/contrib/csquotes/csq-compat.def @@ -1,5 +1,5 @@ \ProvidesFile{csq-compat.def} - [2019-12-02 v5.2i csquotes backwards compatibility (JAW)] + [2019-12-06 v5.2j csquotes backwards compatibility (JAW)] \def\csq@getversion#1{% \expandafter\csq@getversion@i diff --git a/macros/latex/contrib/csquotes/csquotes.def b/macros/latex/contrib/csquotes/csquotes.def index 18479e170a..beab625e06 100644 --- a/macros/latex/contrib/csquotes/csquotes.def +++ b/macros/latex/contrib/csquotes/csquotes.def @@ -1,5 +1,5 @@ \ProvidesFile{csquotes.def} - [2019-12-02 v5.2i csquotes generic definitions (JAW)] + [2019-12-06 v5.2j csquotes generic definitions (JAW)] % Set defaults @@ -323,6 +323,12 @@ \DeclareQuoteAlias[mexican]{spanish}{mexican} \DeclareQuoteAlias[spanish]{spanish}{spanish} \DeclareQuoteAlias[quotes]{swedish}{swedish} +\DeclareQuoteAlias{italian}{latin/italianguillemets} +\DeclareQuoteAlias[italianguillemets]{latin}{latin} +\DeclareQuoteAlias{german}{latin/germanquotes} +\DeclareQuoteAlias[guillemets]{german}{latin/germanguillemets} +\DeclareQuoteAlias{british}{latin/britishquotes} +\DeclareQuoteAlias{american}{latin/americanquotes} % Babel aliases @@ -351,6 +357,7 @@ \DeclareQuoteOption{german} \DeclareQuoteOption{icelandic} \DeclareQuoteOption{italian} +\DeclareQuoteOption{latin} \DeclareQuoteOption{latvian} \DeclareQuoteOption{norwegian} \DeclareQuoteOption{polish} diff --git a/macros/latex/contrib/csquotes/csquotes.pdf b/macros/latex/contrib/csquotes/csquotes.pdf Binary files differindex 8c6842882b..de42c872e3 100644 --- a/macros/latex/contrib/csquotes/csquotes.pdf +++ b/macros/latex/contrib/csquotes/csquotes.pdf diff --git a/macros/latex/contrib/csquotes/csquotes.sty b/macros/latex/contrib/csquotes/csquotes.sty index 9fa4802124..9f1db3d123 100644 --- a/macros/latex/contrib/csquotes/csquotes.sty +++ b/macros/latex/contrib/csquotes/csquotes.sty @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{csquotes} - [2019-12-02 v5.2i context-sensitive quotations (JAW)] + [2019-12-06 v5.2j context-sensitive quotations (JAW)] %% Compatibility and requirements diff --git a/macros/latex/contrib/csquotes/csquotes.tex b/macros/latex/contrib/csquotes/csquotes.tex index 35665fb62c..db52185989 100644 --- a/macros/latex/contrib/csquotes/csquotes.tex +++ b/macros/latex/contrib/csquotes/csquotes.tex @@ -18,8 +18,8 @@ url={http://www.ctan.org/pkg/csquotes/}, author={Philipp Lehman, Joseph Wright}, email={joseph.wright@morningstar2.co.uk}, - revision={v5.2i}, - date={2019-12-02}} + revision={v5.2j}, + date={2019-12-06}} \hypersetup{% pdftitle={The csquotes Package}, @@ -1041,7 +1041,7 @@ The \cmd{textdel} command passes its \prm{text} argument to \cmd{mktextdel} for You may redefine the above hooks to change the format of the printed output. For example, if you prefer replacements to be indicated by «[\textellipsis text]» rather than «[\textellipsis\unkern] [text]», redefine \cmd{mktextelpins} accordingly: \begin{ltxcode} -\newcommand{<<\mktextelpins>>}[1]{[\textellipsis #1]} +\renewcommand{<<\mktextelpins>>}[1]{[\textellipsis #1]} \end{ltxcode} % The \cmd{unkern} in the default definitions is required because \cmd{textellipsis} adds asymmetric kerning by default. The kerning after the final dot is similar to the spacing between the dots, which is fine if \cmd{textellipsis} is followed by any text, but undesirable if it is enclosed in brackets. @@ -1543,6 +1543,12 @@ This revision history is a list of changes relevant to users of this package. Ch \begin{changelog} +\begin{release}{5.2j}{2019-12-04} +\item Fix issue with some combinations of language and document class +\item Added support for Latin quotations +\end{release} + + \begin{release}{5.2i}{2019-12-02} \item Fix issue with \cmd{csq@mainlang} \end{release} diff --git a/macros/latex/contrib/curve2e/README.txt b/macros/latex/contrib/curve2e/README.txt index d3f4a120f7..84e7fecffb 100644 --- a/macros/latex/contrib/curve2e/README.txt +++ b/macros/latex/contrib/curve2e/README.txt @@ -10,7 +10,7 @@ %% License information appended %% File README.txt for package curve2e - [2019-11-30 v.2.0.6 Extension package for pict2e] + [2019-12-06 v.2.0.7 Extension package for pict2e] diff --git a/macros/latex/contrib/curve2e/curve2e.dtx b/macros/latex/contrib/curve2e/curve2e.dtx index b8e7c519c1..d850055244 100644 --- a/macros/latex/contrib/curve2e/curve2e.dtx +++ b/macros/latex/contrib/curve2e/curve2e.dtx @@ -47,7 +47,7 @@ README.txt and curve2e-v161.sty. %<+package>\ProvidesPackage{curve2e}% %<+readme>File README.txt for package curve2e %<*package|readme> - [2019-11-30 v.2.0.6 Extension package for pict2e] + [2019-12-06 v.2.0.7 Extension package for pict2e] %</package|readme> %<*driver> \documentclass{ltxdoc}\errorcontextlines=9 @@ -110,7 +110,7 @@ README.txt and curve2e-v161.sty. %</driver> % \fi % -% \CheckSum{5593} +% \CheckSum{5592} % \begin{abstract} % This file documents the |curve2e| extension package to the |pict2e| % bundle implementation; the latter was described by Lamport @@ -1576,14 +1576,19 @@ README.txt and curve2e-v161.sty. % Since we already loaded package|xfp| or at least we explicitly load it % in our preamble, we add, if not already defined by the package, the two % new commands that allow to make floating point tests, and to implement -% a “while” cycle +% a “while” cycle\footnote{Thanks to Brian Dunn who spotted a bug in +% the previous definitions.} % \begin{macrocode} -\AtBeginDocument{\@ifpackageloaded{xfp}{% +% \ExplSyntaxOn -\ProvideExpandableDocumentCommand\fptest{m}{\fp_compare:nTF{#1}} -\ProvideExpandableDocumentCommand\fpdowhile{m m}{\fp_do_while:nn{#1}{#2}} +\AtBeginDocument{% +\ProvideExpandableDocumentCommand\fptest{m m m}{% + \fp_compare:nTF{#1}{#2}{#3}} +\ProvideExpandableDocumentCommand\fpdowhile{m m}{% + \fp_do_while:nn{#1}{#2}} +} \ExplSyntaxOff -}{}} + % \end{macrocode} % % The next macros are just for debugging. With the \texttt{trace} package diff --git a/macros/latex/contrib/curve2e/curve2e.pdf b/macros/latex/contrib/curve2e/curve2e.pdf Binary files differindex 5256df2081..3838751099 100644 --- a/macros/latex/contrib/curve2e/curve2e.pdf +++ b/macros/latex/contrib/curve2e/curve2e.pdf diff --git a/macros/latex/contrib/glossaries/CHANGES b/macros/latex/contrib/glossaries/CHANGES index 1ddbd44ab6..b669941078 100644 --- a/macros/latex/contrib/glossaries/CHANGES +++ b/macros/latex/contrib/glossaries/CHANGES @@ -1,5 +1,11 @@ glossaries change log: +v4.44 (2019-12-06): + + * glossaries-prefix.sty: + + - add hook for glossaries-extra's record option. + v4.43 (2019-09-28): * glossaries.sty: diff --git a/macros/latex/contrib/glossaries/README b/macros/latex/contrib/glossaries/README index 57f06c7d5c..cbf39bc988 100644 --- a/macros/latex/contrib/glossaries/README +++ b/macros/latex/contrib/glossaries/README @@ -1,6 +1,6 @@ -LaTeX Package : glossaries v4.43 +LaTeX Package : glossaries v4.44 -Last Modified : 2019-09-28 +Last Modified : 2019-12-06 Author : Nicola Talbot diff --git a/macros/latex/contrib/glossaries/glossaries-code.pdf b/macros/latex/contrib/glossaries/glossaries-code.pdf Binary files differindex 0b01413312..6cadc9faf1 100644 --- a/macros/latex/contrib/glossaries/glossaries-code.pdf +++ b/macros/latex/contrib/glossaries/glossaries-code.pdf diff --git a/macros/latex/contrib/glossaries/glossaries-user.html b/macros/latex/contrib/glossaries/glossaries-user.html index 5692dfce9e..66646c2c86 100644 --- a/macros/latex/contrib/glossaries/glossaries-user.html +++ b/macros/latex/contrib/glossaries/glossaries-user.html @@ -141,7 +141,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} span.TEX {letter-spacing: -0.125em; } span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} @@ -206,7 +208,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} div.array {text-align:center;} .alltt P { margin-bottom : 0em; margin-top : 0em; } .alltt { margin-bottom : 1em; margin-top : 1em; } @@ -311,7 +315,7 @@ span#textcolor62{color:#00FF00} > <!--l. 458--><p class="noindent" > </p><!--l. 458--><p class="noindent" ><span -class="cmr-17">User Manual for glossaries.sty v4.43</span> +class="cmr-17">User Manual for glossaries.sty v4.44</span> </p> <div class="tabular"> <table id="TBL-1" class="tabular" cellspacing="0" cellpadding="0" @@ -327,7 +331,7 @@ href="http://www.dickimaw-books.com/" class="url" ><span class="cmtt-12">http://www.dickimaw-books.com/</span></a> </td></tr></table> </div> <!--l. 458--><p class="noindent" ><span -class="cmr-12">2019-09-28</span></p></div> +class="cmr-12">2019-12-06</span></p></div> <div class="abstract" > @@ -484,7 +488,7 @@ class="cmtt-10">glossaries-code.pdf</span></a> </dt><dd class="description">Advanced users wishing to know more about the inner workings of all the packages provided in the <span class="cmss-10">glossaries </span>bundle should read “Documented - Code for glossaries v4.43”. + Code for glossaries v4.44”. </dd><dt class="description"> <span class="cmbx-10">INSTALL</span> </dt><dd @@ -5986,7 +5990,7 @@ class="cmss-10">glossaries </span>package, make sure you also upgrade your versi <a href="#glo:makeglossaries"><span class="cmtt-10">makeglossaries</span><a - id="dx1-17037"></a></a>. The current version is 4.41. </div> + id="dx1-17037"></a></a>. The current version is 4.44. </div> </p><!--l. 2850--><p class="noindent" > </p><!--l. 2852--><p class="noindent" > </p> diff --git a/macros/latex/contrib/glossaries/glossaries-user.pdf b/macros/latex/contrib/glossaries/glossaries-user.pdf Binary files differindex f3a00dc86f..76f4e9569b 100644 --- a/macros/latex/contrib/glossaries/glossaries-user.pdf +++ b/macros/latex/contrib/glossaries/glossaries-user.pdf diff --git a/macros/latex/contrib/glossaries/glossaries-user.tex b/macros/latex/contrib/glossaries/glossaries-user.tex index 7aeaac090d..41dc516ee7 100644 --- a/macros/latex/contrib/glossaries/glossaries-user.tex +++ b/macros/latex/contrib/glossaries/glossaries-user.tex @@ -450,11 +450,11 @@ and~\hyperlink{option#2}{#2}} \MakeShortVerb{"} \DeleteShortVerb{\|} - \title{User Manual for glossaries.sty v4.43} + \title{User Manual for glossaries.sty v4.44} \author{Nicola L.C. Talbot\\% \url{http://www.dickimaw-books.com/}} - \date{2019-09-28} + \date{2019-12-06} \maketitle \begin{abstract} @@ -545,7 +545,7 @@ package. \item[\url{glossaries-code.pdf}] Advanced users wishing to know more about the inner workings of all the packages provided in the \styfmt{glossaries} bundle should read -\qt{Documented Code for glossaries v4.43}. +\qt{Documented Code for glossaries v4.44}. \item[INSTALL] Installation instructions. @@ -2846,7 +2846,7 @@ resulting file onto the man path. Alternatively do \begin{important} When upgrading the \styfmt{glossaries} package, make sure you also upgrade your version of \gls{makeglossaries}. The current version is -4.41. +4.44. \end{important} \subsection{Using the makeglossaries-lite Lua Script} diff --git a/macros/latex/contrib/glossaries/glossaries.dtx b/macros/latex/contrib/glossaries/glossaries.dtx index 124662d6a6..37f589e208 100644 --- a/macros/latex/contrib/glossaries/glossaries.dtx +++ b/macros/latex/contrib/glossaries/glossaries.dtx @@ -1,10 +1,12 @@ %\iffalse % glossaries.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: +% -codetitle "Main Package Code" +% -doc "glossaries-manual.tex" +% -section "chapter" +% -setambles ".*\.perl=>\nopreamble\nopostamble" +% -setambles ".*\.tex=>\nopreamble\nopostamble" % -author "Nicola Talbot" -% -comment ".*\.perl" -% -comment ".*\.tex" -% -comment ".*\.xdy" % -src "glossaries\.sty\Z=>glossaries.sty" % -src "glossaries-prefix.sty\Z=>glossaries-prefix.sty" % -src "(glossary-.+)\.(sty)\Z=>\1.\2" @@ -13,25 +15,14 @@ % -src "(glossaries-accsupp)\.(sty)\Z=>\1.\2" % -src "(glossaries-babel)\.(sty)\Z=>\1.\2" % -src "(glossaries-polyglossia)\.(sty)\Z=>\1.\2" -% -src "(minimalgls\.tex)\Z=>\1" -% -src "(glossary-lipsum-examples\.tex)\Z=>\1" % -src "(example-glossaries-.*\.tex)\Z=>\1" -% -src "(sample.*\.tex)\Z=>\1" -% -src "(mwe.*\.tex)\Z=>\1" -% -src "(samplexdy-mc.*\.xdy)\Z=>\1" -% -src "(database.*\.tex)\Z=>\1" % -src "(.*\.perl)\Z=>\1" % -macrocode ".*\.perl" % -macrocode ".*\.tex" -% -macrocode ".*\.xdy" -% -section "chapter" -% -codetitle "Main Package Code" -% -doc "glossaries-manual.tex" -% -setambles ".*\.perl=>\nopreamble\nopostamble" -% -setambles ".*\.tex=>\nopreamble\nopostamble" -% -setambles ".*\.xdy=>\nopreamble\nopostamble" +% -comment ".*\.perl" +% -comment ".*\.tex" % glossaries -% Created on 2019/9/28 15:01 +% Created on 2019/12/6 14:57 %\fi %\iffalse %<*package> @@ -145,7 +136,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \setcounter{IndexColumns}{2} -\CheckSum{19658} +\CheckSum{19669} \newcommand*{\ifirstuse}{\iterm{first use}} \newcommand*{\firstuse}{\gls{firstuse}} @@ -172,12 +163,12 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %\fi %\MakeShortVerb{"} % -% \title{Documented Code For glossaries v4.43} +% \title{Documented Code For glossaries v4.44} % \author{Nicola L.C. Talbot\\[10pt] %Dickimaw Books\\ %\url{http://www.dickimaw-books.com/}} % -% \date{2019-09-28} +% \date{2019-12-06} % \maketitle % %This is the documented code for the \styfmt{glossaries} package. @@ -193,7 +184,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.43: +%For the main user guide, read \qt{glossaries.sty v4.44: %\LaTeX2e\ Package to Assist Generating Glossaries}. % %\item[\url{mfirstuc-manual.pdf}] @@ -248,7 +239,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % This package requires \LaTeXe. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\changes{4.18}{2015-09-09}{split mfirstuc into separate bundle} % Required packages: @@ -19196,7 +19187,7 @@ you % \cs{gls}\marg{label}} on subsequent use. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-prefix}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-prefix}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Pass all options to \sty{glossaries}: % \begin{macrocode} @@ -19351,6 +19342,20 @@ you % \end{macrocode} %\end{macro} % +%\begin{macro}{\@glsprefix@record@hook} +%\changes{4.44}{2019-12-06}{new} +%Need to take into account the possibility that +%\sty{glossaries-extra} might be loaded with the \pkgopt{record} +%option. +% \begin{macrocode} +\providecommand{\@glsprefix@record@hook}[2]{% + \ifdef\@glsxtr@record + {\@glsxtr@record{#1}{#2}{glslink}}% + {}% +} +% \end{macrocode} +%\end{macro} +% % Define commands that insert the prefix before commands like \ics{gls}: %\begin{macro}{\pgls} %\changes{4.08}{2014-07-30}{changed to use \cs{@gls@hyp@opt}} @@ -19374,6 +19379,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@pgls@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19412,6 +19418,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@pglspl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19450,6 +19457,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@Pgls@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19497,6 +19505,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@Pglspl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19544,6 +19553,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@PGLS@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19582,6 +19592,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@PGLSpl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19611,7 +19622,7 @@ you %\label{sec:code:hypernav} % Package Definition: % \begin{macrocode} -\ProvidesPackage{glossary-hypernav}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-hypernav}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % % The commands defined in this package are provided to @@ -19804,7 +19815,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}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-inline}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % %\begin{style}{inline} @@ -19995,7 +20006,7 @@ you % \ics{item} command, it will appear in a bold font by % default. % \begin{macrocode} -\ProvidesPackage{glossary-list}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-list}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\begin{macro}{\indexspace} %\changes{4.13}{2015-02-03}{new} @@ -20277,7 +20288,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}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-long}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{longtable} package: % \begin{macrocode} @@ -20774,7 +20785,7 @@ you % \url{http://tex.stackexchange.com/a/56890} % % \begin{macrocode} -\ProvidesPackage{glossary-longbooktabs}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-longbooktabs}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires \sty{booktabs} package: % \begin{macrocode} @@ -21115,7 +21126,7 @@ you % used the \env{longtable} environment in the glossary and use % ragged right formatting for the multiline columns. % \begin{macrocode} -\ProvidesPackage{glossary-longragged}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-longragged}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -21548,7 +21559,7 @@ you %use the \sty{multicol} package. These use the tree-like glossary %styles in a multicol environment. % \begin{macrocode} -\ProvidesPackage{glossary-mcols}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-mcols}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Required packages: % \begin{macrocode} @@ -21985,7 +21996,7 @@ you % The glossary styles defined in the \isty{glossary-super} package % use the \env{supertabular} environment. % \begin{macrocode} -\ProvidesPackage{glossary-super}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-super}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{supertabular} package: % \begin{macrocode} @@ -22517,7 +22528,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}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-superragged}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -22957,7 +22968,7 @@ you % that have a tree-like structure. These are designed for % hierarchical glossaries. % \begin{macrocode} -\ProvidesPackage{glossary-tree}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-tree}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % %\begin{macro}{\indexspace} @@ -23678,7 +23689,7 @@ you % hyperlinks may not work properly. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-207}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-compatible-207}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\begin{macro}{\GlsAddXdyAttribute} % Adds an attribute in old format. @@ -24039,7 +24050,7 @@ you %\section{glossaries-compatible-307} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-307}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-compatible-307}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % % Compatibility macros for predefined glossary styles: @@ -24847,7 +24858,7 @@ you % \end{macrocode} % Package version number now in line with main glossaries package number. % \begin{macrocode} -\ProvidesPackage{glossaries-accsupp}[2019/09/28 v4.43 (NLCT) +\ProvidesPackage{glossaries-accsupp}[2019/12/06 v4.44 (NLCT) Experimental glossaries accessibility] % \end{macrocode} % Pass all options to \sty{glossaries}: @@ -27290,7 +27301,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-babel}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-babel}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -27334,7 +27345,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-polyglossia}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-polyglossia}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -27370,344 +27381,6 @@ you %\fi %\iffalse % \begin{macrocode} -%<*minimalgls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain. -% -% This is a minimal file for testing and debugging -% the glossaries package. Change the class file as -% desired, and add the relevant package options to -% both the class file and the glossaries package. -% Change the sample glossary entry and acronym if -% required. If the problem occurs with an additional -% glossary, add in the relevant \newglossary command -% and a sample entry. -% -% Only add extra packages or commands if they -% contribute to whatever problem you are trying to -% test. -% -% Remember that the document will not be complete -% until you have successfully completed all of the -% following steps: -% 1. latex minimalgls -% 2. makeglossaries minimalgls (note no extension) -% 3. latex minimalgls -% A further run through LaTeX will be required to ensure that -% the table of contents is up to date if the toc option -% is used. -% Alternatively, if you use arara, you can add the following -% directives in your document: -% -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } - -% If you require multilingual support you must also install -% the appropriate glossaries language module. The language -% modules are distributed separately. - -\documentclass{article} -\listfiles - -\usepackage[colorlinks]{hyperref} -%\usepackage{glossaries} % abbreviation will go in main glossary - \usepackage[acronym]{glossaries} % make a separate list of acronyms - -\makeglossaries - -\longnewglossaryentry{par}{name={par}}% -{% - A long description with a paragraph break. - - This is the next paragraph. -} - -\newglossaryentry{sample}{name={sample}, -description={a sample entry}} - -% set the acronym style: -\setacronymstyle{long-short} - -% This contrived acronym has non-standard plural forms. -% These are specified in the optional argument. -% Remove the optional argument to revert to the default -% plurals. -\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived -acronyms]{aca}{aca}{a contrived acronym} - -% Keep all definitions in the preamble! - -\begin{document} - -A \gls{sample} entry and \gls{aca}. Second use: \gls{aca}. - -Plurals: \glspl{sample}. Reset acronym\glsreset{aca}. -First use: \glspl{aca}. Second use: \glspl{aca}. - -\glsresetall -First letter upper case: \Gls{sample}. First use: \Gls{aca}. -Subsequent use: \Gls{aca}. -\glsresetall -Plurals: \Glspl{sample}. First use: \Glspl{aca}. Next: \Glspl{aca}. - -If you want paragraph breaks in the description use -\verb|\longnewglossaryentry|, as with entry \gls{par}. - -Title case a particular field: -\glslink{sample}{\glsentrytitlecase{sample}{desc}}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</minimalgls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*glossary-lipsum-examples.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex - % arara: bibtex - % arara: pdflatex - % arara: pdflatex -\documentclass{report} - -\usepackage{graphicx} - -\usepackage[colorlinks]{hyperref} -\usepackage[savewrites,nopostdot,toc,acronym,symbols]{glossaries} -\usepackage{glossary-mcols} -\usepackage{glossary-longragged} - -\newglossary*{symbolname}{Entries with Symbols in the Name} -\newglossary*{long}{Long Descriptions} -\newglossary*{multipar}{Multi-Paragraph Descriptions} -\newglossary*{acronymdesc}{Acronyms with Descriptions} -\newglossary*{images}{Descriptions with Images} -\newglossary*{acronymslang}{Acronyms with Translations} - -\newglossary*{parent}{Hierarchical Entries} -\newglossary*{homographs}{Homographs} -\newglossary*{cites}{Entries with Citations} -\newglossary*{urls}{Entries with URLs} - -\DeclareAcronymList{acronymdesc,acronymslang} - -\makeglossaries - -\loadglsentries{example-glossaries-brief} -\loadglsentries[long]{example-glossaries-long} -\loadglsentries[multipar]{example-glossaries-multipar} -\loadglsentries[symbols]{example-glossaries-symbols} -\loadglsentries[symbolname]{example-glossaries-symbolnames} -\loadglsentries[images]{example-glossaries-images} -\loadglsentries[parent]{example-glossaries-parent} -\loadglsentries[homographs]{example-glossaries-childnoname} -\loadglsentries[cites]{example-glossaries-cite} -\loadglsentries[urls]{example-glossaries-url} - -\setacronymstyle{long-short} - -\loadglsentries[acronym]{example-glossaries-acronym} - -\setacronymstyle{long-short-desc} - -\loadglsentries[acronymdesc]{example-glossaries-acronym-desc} - - % define an acronym style for the acronyms with a translation: - -\newacronymstyle{acronymslang}% -{% - \GlsUseAcrEntryDispStyle{long-short}% -} -{% - \GlsUseAcrStyleDefs{short-long}% - \renewcommand*{\genacrfullformat}[2]{% - \glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\Genacrfullformat}[2]{% - \Glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\genplacrfullformat}[2]{% - \glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\Genplacrfullformat}[2]{% - \Glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% -} - -\setacronymstyle{acronymslang} - -\loadglsentries[acronymslang]{example-glossaries-acronyms-lang} - - % Define a style for the "images" glossary. The image names are - % stored in the user1 key. - % (The image insertion can probably be done more neatly using an - % appropriate package, but this is just a sample file.) - -\newsavebox\glsimagebox -\newlength\glswidth - -\newglossarystyle{images}% -{% - \setglossarystyle{tree}% - \renewenvironment{theglossary}{}{}% - \renewcommand{\glossentry}[2]{% - \ifglshasfield{useri}{##1}% - {\savebox - {\glsimagebox}% - {\includegraphics[height=4\baselineskip]{\glsentryuseri{##1}}}% - \settowidth{\glswidth}{\usebox\glsimagebox}% - \glswidth=\dimexpr\linewidth-\glswidth-1em\relax - \parshape=5 - 0pt \glswidth - 0pt \glswidth - 0pt \glswidth - 0pt \glswidth - 0pt \linewidth\relax - }% - {% - \savebox{\glsimagebox}{}% - }% - \noindent - \makebox[0pt][l]{% - \smash{\makebox[\linewidth][r]{\raisebox{-3\baselineskip}{\usebox\glsimagebox}}}}% - \glsentryitem{##1}\textbf{\glstarget{##1}{\glossentryname{##1}}}% - \space\glossentrydesc{##1}\par - \indexspace - }% - \renewcommand*{\glsgroupskip}{}% -} - - % glossary style for acronyms with a translation - -\newglossarystyle{acronymslang} -{% - \setglossarystyle{long}% - \renewcommand*{\glsgroupskip}{}% - \renewcommand{\glossentry}[2]{% - \glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}} & - \glossentrydesc{##1}\glspostdescription - \ifglshasfield{useri}{##1}{ (English: \glsentryuseri{##1})}{}% - \space ##2\tabularnewline - }% -} - - % glossary style for the cites glossary - -\newglossarystyle{cites} -{% based on list style - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription - \ifglshasfield{useri}{##1}{\space - % in the event of multiple cites (as in the vestibulum2 - % sample entry), \glsentryuseri{##1} needs to be expanded - % before being passed to \cite. - \glsletentryfield{\thiscite}{##1}{useri}% - (See \expandafter\cite\expandafter{\thiscite})}{}% - \space ##2}% -} - - % glossary style for the urls glossary - -\newglossarystyle{urls} -{% based on list style - \setglossarystyle{list}% - \renewcommand{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription\space##2% - \ifglshasfield{useri}{##1}{\glspar - \glsletentryfield{\thisurl}{##1}{useri}% - \expandafter\url\expandafter{\thisurl}}{}}% -} - -\begin{document} -\tableofcontents - -\chapter{Sample} - -This is a sample document that uses the dummy glossary entries -supplied with the glossaries bundle for testing. - -Here are all the entries (including acronyms): - -\forallglossaries{\thistype}{\section{Glossary `\thistype'} -\forglsentries[\thistype]{\thislabel}{\gls{\thislabel}. }} - -\section{Acronyms Revisited} - -Here are just the acronyms again: -\forallacronyms{\thistype}{\forglsentries[\thistype]{\thislabel}{\gls{\thislabel}. }} - -\printglossary[style=mcolindex,title={Brief Descriptions}] - -\printglossary[type=long,style=list] - -\printglossary[type=multipar,style=altlist] - -\printglossary[type=symbols,style=altlongragged4col,nogroupskip] - -\printglossary[type=symbolname,style=list,nogroupskip] - -\printglossary[type=acronym,style=long] - -\printglossary[type=acronymdesc,style=altlist] - -\printglossary[type=images,style=images] - -\printglossary[type=acronymslang,style=acronymslang] - -\printglossary[type=homographs,style=mcoltreenoname,subentrycounter] - -\printglossary[type=parent,style=tree] - -\printglossary[type=cites,style=cites,nopostdot=false,nogroupskip] - -\printglossary[type=urls,style=urls,nopostdot=false,nogroupskip] - -\bibliographystyle{plain} -\bibliography{xampl} - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</glossary-lipsum-examples.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*example-glossaries-acronym-desc.tex> % \end{macrocode} %\fi @@ -29054,6326 +28727,6 @@ amet, libero}, %\fi %\iffalse % \begin{macrocode} -%<*sample-chap-hyperfirst.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex -% arara: makeglossaries -% arara: pdflatex -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage{glossaries} - -\makeglossaries - -\glsaddstoragekey{chapter}{0}{\glschapnum} - -\loadglsentries{example-glossaries-brief} - -\renewcommand*{\glslinkpostsetkeys}{% - \edef\currentchap{\arabic{chapter}}% - \ifnum\currentchap=\glschapnum{\glslabel}\relax -% Already used this entry in the current chapter, so switch -% off the hyperlink. - \setkeys{glslink}{hyper=false}% - \else -% Hasn't been used in the current chapter. Update the value -% of the "chapter" field unless the hyperlink has been switched -% off. - \glsifhyperon - {% - \glsfieldxdef{\glslabel}{chapter}{\currentchap}% - }% - {}% - \fi -} - -\begin{document} -\chapter{Sample} - -Use all entries: \forglsentries{\thislabel}{\gls{\thislabel}. } - -Use them again: \forglsentries{\thislabel}{\gls{\thislabel}. } - -\chapter{Another} - -Use all entries: \forglsentries{\thislabel}{\gls{\thislabel}. } - -Use them again: \forglsentries{\thislabel}{\gls{\thislabel}. } - -\chapter{Start with a Star} - -Use all entries but suppress hyperlink: -\forglsentries{\thislabel}{\gls*{\thislabel}. } - -Use all entries: \forglsentries{\thislabel}{\gls{\thislabel}. } - -Use them again: \forglsentries{\thislabel}{\gls{\thislabel}. } - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-chap-hyperfirst.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-crossref.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[colorlinks]{hyperref} -\usepackage{glossaries} - -\makeglossaries - -\renewcommand{\glsseeitemformat}[1]{\textsc{\glsentryname{#1}}} - -\newglossaryentry{pear}{name=pear, -description={an oddly shaped fruit}} - -\newglossaryentry{apple}{name=apple, -description={firm, round fruit}, -see=[see also]{pear}} - -\newglossaryentry{banana}{name=banana, -description={a yellow fruit with an even odder shape than -a \gls{pear}}} - -\newglossaryentry{fruit}{name=fruit, -description={sweet, fleshy product of plant containing seed}} - -\glssee{fruit}{pear,apple,banana} - -\begin{document} -\gls{pear}, \gls{apple} and \gls{banana}. - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-crossref.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-custom-acronym.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[acronym,% create list of acronyms -% The package option "nomain" is used here to suppress the -% main glossary, since this example doesn't use it. If you -% want to use the main glossary, remove the "nomain" option. - nomain - ]{glossaries} - -\makeglossaries - -% This is a sample file to illustrate how to define a custom -% acronym style. This example defines the acronyms so that on first use -% they display the short form in the text and with the long form -% and description in a footnote. In the main body of the -% document the short form will be displayed in small caps, but in -% the list of acronyms the short form is displayed in normal -% capitals. To ensure this, the short form should be written in -% lower case when the acronym is defined, and \MakeTextUppercase is -% used when it's displayed in the list of acronyms. - -\newacronymstyle{custom-fn}% new style name -{% Check for long form in case of a mixed glossary - \ifglshaslong{\glslabel}{\glsgenacfmt}{\glsgenentryfmt}% -}% -{% Style definitions: - % User needs to supply the description: - \renewcommand*{\GenericAcronymFields}{}% - % Need to ensure hyperlinks are switched off on first use: - \glshyperfirstfalse - % Redefine the commands used by \glsgenacfmt on first use: - \renewcommand*{\genacrfullformat}[2]{% - \firstacronymfont{\glsentryshort{##1}}##2% - \footnote{\glsentrylong{##1}: \glsentrydesc{##1}}% - }% - \renewcommand*{\Genacrfullformat}[2]{% - \firstacronymfont{\Glsentryshort{##1}}##2% - \footnote{\glsentrylong{##1}: \glsentrydesc{##1}}% - }% - \renewcommand*{\genplacrfullformat}[2]{% - \firstacronymfont{\glsentryshortpl{##1}}##2% - \footnote{\glsentrylongpl{##1}: \glsentrydesc{##1}}% - }% - \renewcommand*{\Genplacrfullformat}[2]{% - \firstacronymfont{\Glsentryshortpl{##1}}##2% - \footnote{\glsentrylongpl{##1}: \glsentrydesc{##1}}% - }% - % Redefine the no-link full forms: - \renewcommand*{\glsentryfull}[1]{% - \glsentrylong{##1}\space(\acronymfont{\glsentryshort{##1}})% - }% - \renewcommand*{\Glsentryfull}[1]{% - \Glsentrylong{##1}\space(\acronymfont{\glsentryshort{##1}})% - }% - \renewcommand*{\glsentryfullpl}[1]{% - \glsentrylongpl{##1}\space(\acronymfont{\glsentryshortpl{##1}})% - }% - \renewcommand*{\Glsentryfullpl}[1]{% - \Glsentrylongpl{##1}\space(\acronymfont{\glsentryshortpl{##1}})% - }% - % Redefine the link full forms: - \renewcommand*{\acrfullfmt}[3]{% - \glslink[##1]{##2}{% - \glsentrylong{##2}##3\space(\acronymfont{\glsentryshort{##2}})% - }% - }% - \renewcommand*{\Acrfullfmt}[3]{% - \glslink[##1]{##2}{% - \Glsentrylong{##2}##3\space(\acronymfont{\glsentryshort{##2}})% - }% - }% - \renewcommand*{\ACRfullfmt}[3]{% - \glslink[##1]{##2}{% - \MakeTextUppercase{% - \glsentrylong{##2}##3\space - (\acronymfont{\glsentryshort{##2}})% - }% - }% - }% - \renewcommand*{\acrfullplfmt}[3]{% - \glslink[##1]{##2}{% - \glsentrylongpl{##2}##3\space - (\acronymfont{\glsentryshortpl{##2}})% - }% - }% - \renewcommand*{\Acrfullplfmt}[3]{% - \glslink[##1]{##2}{% - \Glsentrylongpl{##2}##3\space - (\acronymfont{\glsentryshortpl{##2}})% - }% - }% - \renewcommand*{\ACRfullplfmt}[3]{% - \glslink[##1]{##2}{% - \MakeTextUppercase{% - \glsentrylongpl{##2}##3\space - (\acronymfont{\glsentryshortpl{##2}})% - }% - }% - }% -% Use smallcaps for the acronym in the document text: - \renewcommand*{\acronymfont}[1]{\textsc{##1}}% - \renewcommand*{\acrpluralsuffix}{\glstextup{\glspluralsuffix}}% -% Sort acronyms according to the long form: - \renewcommand*{\acronymsort}[2]{##2}% -% Set the name in the list of acronyms to the long form followed by -% the short form (in upper case) in parentheses: - \renewcommand*{\acronymentry}[1]{% - \Glsentrylong{##1}\space(\MakeTextUppercase{\glsentryshort{##1}})}% -} - - % Now set the new acronym style (to override the default style) -\setacronymstyle{custom-fn} - -% Set an appropriate glossary style: -\setglossarystyle{altlist} - -% Now define the acronyms (must be done after setting the custom -% style) - -\newacronym[description={set of tags for use in developing hypertext -documents}]{html}{html}{hyper text markup language} - -\newacronym[description={language used to describe the layout of a -document written in a markup language}]{css}{css}{cascading style -sheet} - -\begin{document} - -\gls{css}. \gls{html}. - -\gls{css}. \gls{html}. - -No-link full forms: \glsentryfull{css}, \Glsentryfull{css}. -Linking full forms: \acrfull{css}, \Acrfull{css}, \ACRfull{css}. -Linking with insert: \acrfull{css}['s], \Acrfull{css}['s], -\ACRfull{css}['s]. - -Now test plurals. - -No-link full forms: \glsentryfullpl{html}, \Glsentryfullpl{html}. -Linking full forms: \acrfullpl{html}, \Acrfullpl{html}, \ACRfullpl{html}. -Linking with insert: \acrfullpl{html}['s], \Acrfullpl{html}['s], -\ACRfullpl{html}['s]. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-custom-acronym.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-dot-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain. -% If you want to use arara you need the following directives: -% arara: pdflatex -% arara: makeglossaries -% arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\glsaddstoragekey{abbrtype}{word}{\abbrtype} - -\setacronymstyle{long-short} - -\newcommand*{\newabbr}[1][]{% - \newacronym[abbrtype=initials,#1]} - -\newabbr{eg}{e.g.}{exempli gratia} -\newabbr{ie}{i.e.}{id est} -\newabbr{bsc}{B.Sc.}{Bachelor of Science} -\newabbr{ba}{B.A.}{Bachelor of Arts} -\newabbr{agm}{A.G.M.}{annual general meeting} - -\newacronym{laser}{laser}{light amplification by stimulated -emission of radiation} - -% See the sample-initialisms.tex example file provided with -% glossaries-extra.sty for a better way of doing this. - -\makeatletter -\renewcommand{\glspostlinkhook}{% - \ifglsfieldeq{\glslabel}{abbrtype}{initials}% - {\new@ifnextchar.\doendsentence\doendword} - {}% -} -\makeatother - -\newcommand{\doendsentence}[1]{\spacefactor=10000{}} -\newcommand{\doendword}{\spacefactor=1000{}} - -\begin{document} -This is a sample document that illustrates abbreviations with -full stops (periods) and abbreviations that are words (i.e.\ -acronyms). The examples switch to a typewriter font to make it -easier to see the inter-word and inter-sentence spaces. - -The extension package glossaries-extra.sty provides a better way of -doing this. - -First use: \gls{laser} \gls{eg} \gls{ie} \gls{bsc} \gls{ba} \gls{agm} end of -sentence. - -End of sentence use: - -\ttfamily - -\gls{laser}. \gls{eg}. \gls{ie}. \gls{bsc}. \gls{ba}. \gls{agm}. -Done. - -laser. e.g. i.e. B.Sc. B.A\@. A.G.M\@. Done. - -\rmfamily - -Mid-sentence use: - -\ttfamily - -\gls{laser} \gls{eg} \gls{ie} \gls{bsc} \gls{ba} \gls{agm} Done. - -laser e.g.\ i.e.\ B.Sc.\ B.A. A.G.M. Done. - -\rmfamily - -Check other sentence terminators: - -\ttfamily - -\gls{laser}? \gls{eg}? \gls{ie}? \gls{bsc}! \gls{ba}! \gls{agm}? Done. - -laser? e.g.? i.e.? B.Sc.! B.A.! A.G.M.? Done. - -\rmfamily - -\glsresetall Reset. End of sentence use: - -\ttfamily - -\gls{laser}. \gls{eg}. \gls{ie}. \gls{bsc}. \gls{ba}. \gls{agm}. -Done. - -\rmfamily -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-dot-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-dual.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[acronym]{glossaries} - -% \newdualentry[main options]{label}{short}{long}{description} - -\newcommand*{\newdualentry}[5][]{% - % main entry: - \newglossaryentry{main-#2}{name={#4},% - text={#3\glsadd{#2}},% - description={#5},% - #1% additional options for main entry - }% - % abbreviation: - \newacronym{#2}{#3\glsadd{main-#2}}{#4}% -} - -\newdualentry{svm}% label - {SVM}% abbreviation - {support vector machine}% long form - {Statistical pattern recognition technique}% description - -\makeglossaries - -\begin{document} - -\gls{svm}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-dual.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-entrycount.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[colorlinks]{hyperref} -\usepackage - [nomain,% 'nomain' is used to suppress the main glossary - acronym% 'acronym' is used to create the 'acronym' glossary - ] - {glossaries} -\makeglossaries - -\glsenableentrycount - -\setacronymstyle{long-short} - -\newacronym{html}{HTML}{hypertext markup language} -\newacronym{css}{CSS}{cascading style sheets} -\newacronym{xml}{XML}{extensible markup language} -\newacronym{sql}{SQL}{structured query language} -\newacronym{rdbms}{RDBMS}{relational database management system} -\newacronym{rdsms}{RDSMS}{relational data stream management system} - -\begin{document} -These entries are only used once: \cgls{sql}, \cgls{rdbms}, -\cgls{xml}. These entries are used multiple times: -\cgls{html}, \cgls{html}, \cgls{css}, \cgls{css}, \cgls{css}, -\cgls{rdsms}, \cgls{rdsms}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-entrycount.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-entryfmt.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[colorlinks]{hyperref} -\usepackage[style=tree]{glossaries} - -\makeglossaries - -\renewcommand*{\glsentryfmt}{% - \glsgenentryfmt - \ifglsused{\glslabel}{}{\space (\glsentrysymbol{\glslabel})}% -} - -\newglossaryentry{distance}{name=distance, -description={The length between two points}, -symbol={km}} - -\begin{document} - -First use: \gls{distance}. Next use: \gls{distance}. - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-entryfmt.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-FnDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you are using arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[hyperfirst=false]{glossaries} - -\makeglossaries - -\renewcommand*{\glsentryfmt}{% - \glsgenentryfmt - \ifglsused{\glslabel}{}{\footnote{\glsentrydesc{\glslabel}}}% -} - -\newglossaryentry{sample}{name={sample},description={an example -description}} - -\begin{document} -\chapter{Sample Chapter} - -First use: \gls{sample}. - -Next use: \gls{sample}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-FnDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-font-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain. -% If you want to use arara you need the following directives: -% arara: pdflatex -% arara: makeglossaries -% arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\glsaddstoragekey{font}{}{\entryfont} - -\newacronymstyle{long-font-short} -{% - \GlsUseAcrEntryDispStyle{long-short}% -} -{% - \GlsUseAcrStyleDefs{long-short}% - \renewcommand*{\genacrfullformat}[2]{% - \glsentrylong{##1}##2\space - ({\entryfont{##1}\glsentryshort{##1}})% - }% - \renewcommand*{\Genacrfullformat}[2]{% - \Glsentrylong{##1}##2\space - ({\entryfont{##1}\glsentryshort{##1}})% - }% - \renewcommand*{\genplacrfullformat}[2]{% - \glsentrylongpl{##1}##2\space - ({\entryfont{##1}\glsentryshortpl{##1}})% - }% - \renewcommand*{\Genplacrfullformat}[2]{% - \Glsentrylongpl{##1}##2\space - ({\entryfont{##1}\glsentryshortpl{##1}})% - }% - \renewcommand*{\acronymfont}[1]{{\entryfont{\glslabel}##1}}% - \renewcommand*{\acronymentry}[1]{{\entryfont{##1}\glsentryshort{##1}}}% -} - -\setacronymstyle{long-font-short} - -\newcommand*{\newitabbr}[1][]{\newacronym[font=\em,#1]} -\newcommand*{\newupabbr}[1][]{\newacronym[#1]} - -\newitabbr{eg}{e.g.}{exempli gratia} -\newitabbr{ie}{i.e.}{id est} - -\newupabbr{bsc}{BSc}{Bachelor of Science} -\newupabbr{ba}{BA}{Bachelor of Arts} -\newupabbr{agm}{AGM}{annual general meeting} - -\begin{document} - -First use: \gls{eg} \gls{ie} \gls{bsc} \gls{ba} \gls{agm}. - -Next use: \gls{eg} \gls{ie} \gls{bsc} \gls{ba} \gls{agm}. - -Short: \acrshort{eg} \acrshort{ie} \acrshort{bsc} \acrshort{ba} -\acrshort{agm}. - -Full: \acrfull{eg} \acrfull{ie} \acrfull{bsc} \acrfull{ba} -\acrfull{agm}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-font-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-ignored.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[colorlinks]{hyperref} -\usepackage{glossaries} - -\newignoredglossary{common} - -\makeglossaries - -\newglossaryentry{sample}{name={sample},description={an example}} - -\newglossaryentry{commonex}{type=common,name={common term}} - -\begin{document} - -\gls{sample}. \gls{commonex}. - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-ignored.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-index.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[toc,index,nohypertypes={index}]{glossaries} -\usepackage{glossary-mcols} - -\makeglossaries - -% define terms for the index - -\newterm[plural={stegosauruses}]{stegosaurus} -\newterm[plural={triceratopses}]{triceratops} -\newterm[plural={apatosauruses}]{apatosaurus} - -% To avoid labels conflicting with the same name in the main glossary -% prefix the index label with "ind-". (This means that the name must -% be set independently.) -\newterm[name={dinosaur}]{ind-dinosaur} -\newterm[name={Triassic}]{ind-triassic} - -% define terms for the main glossary - -\newglossaryentry{dinosaur}% -{% - name={dinosaur\glsadd{ind-dinosaur}},% - description={One of a group of dinosauria}% -} - -\newglossaryentry{Triassic}% -{% - name={Triassic\glsadd{ind-triassic}},% - description={The first period of the Mesozoic Era} -} - -\begin{document} -\tableofcontents - -\chapter{Dinosaurs} - -\Glspl{dinosaur} are now extinct. They first appeared during the -\gls{Triassic} period. Examples of \glspl{dinosaur} include the -\gls{triceratops}, the \gls{apatosaurus} and the \gls{stegosaurus}. - -Indexed term: \gls{ind-dinosaur}. - -\renewcommand*{\glsnamefont}[1]{\textbf{\makefirstuc{#1}}} - -\printglossary[style=long,nogroupskip] - -\renewcommand*{\glsnamefont}[1]{\textmd{#1}} - -\printindex[style=mcolindexgroup] - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-index.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-inline.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[plainpages=false,colorlinks]{hyperref} -\usepackage[toc,order=word,subentrycounter]{glossaries} - -\usepackage{glossary-inline} - -\renewcommand*{\glossarysection}[2][]{\textbf{#1}: } -\renewcommand{\glsnamefont}[1]{\textsc{#1}} -\setglossarystyle{inline} - -\makeglossaries - -\newglossaryentry{Perl}{name=\texttt{Perl}, -sort=Perl, % need a sort key because name contains a command -description=A scripting language} - -\newglossaryentry{glossary}{name=glossary, -description={\nopostdesc}, -plural={glossaries}} - -\newglossaryentry{glossarycol}{ -description={collection of glosses}, -sort={2}, -parent={glossary}} - -\newglossaryentry{glossarylist}{ -description={list of technical words}, -sort={1}, -parent={glossary}} - -\newglossaryentry{pagelist}{name=page list, -% description value has to be enclosed in braces -% because it contains commas -description={a list of individual pages or page ranges -(e.g.\ 1,2,4,7-9)}} - -\newglossaryentry{mtrx}{name=matrix, -description={rectangular array of quantities}, -% plural is not simply obtained by appending an s, so specify -plural=matrices} - -% entry with a paragraph break in the description - -\newglossaryentry{par}{name=paragraph, -description={distinct section of piece of -writing. Beginning on new, usually indented, line}} - -% entry with two types of plural. Set the plural form to the -% form most likely to be used. If you want to use a different -% plural, you will need to explicity specify it in \glslink -\newglossaryentry{cow}{name=cow, -% this isn't necessary, as this form (appending an s) is -% the default -plural=cows, -% description: -description={(\emph{pl.}\ cows, \emph{archaic} kine) an adult -female of any bovine animal}} - -\newglossaryentry{bravo}{name={bravo}, -description={\nopostdesc}} - -\newglossaryentry{bravo1}{description={cry of approval (pl.\ bravos)}, -sort={1}, -plural={bravos}, -parent=bravo} - -\newglossaryentry{bravo2}{description={hired ruffian or killer (pl.\ bravoes)}, -sort={2}, -plural={bravoes}, -parent=bravo} - -\newglossaryentry{seal}{name=seal,description={sea mammal with -flippers that eats fish}} - -\newglossaryentry{sealion}{name={sea lion}, -description={large seal}} - -\begin{document} - -\title{Sample Document Using glossary Package} -\author{Nicola Talbot} -\pagenumbering{alph}% prevent duplicate page link names if using PDF -\maketitle - -\pagenumbering{roman} -\tableofcontents - -\chapter{Introduction} -\pagenumbering{arabic} - -This document has a glossary in a footnote\footnote{\printglossaries}. - -A \gls{glossarylist} (definition~\glsrefentry{glossarylist}) is a -very useful addition to any technical document, although a -\gls{glossarycol} (definition~\glsrefentry{glossarycol}) can also -simply be a collection of glosses, which is another thing entirely. -Some documents have multiple \glspl{glossarylist}. - -Once you have run your document through \LaTeX, you -will then need to run the \texttt{.glo} file through -\texttt{makeindex}. You will need to set the output -file so that it creates a \texttt{.gls} file instead -of an \texttt{.ind} file, and change the name of -the log file so that it doesn't overwrite the index -log file (if you have an index for your document). -Rather than having to remember all the command line -switches, you can call the \gls{Perl} script -\texttt{makeglossaries} which provides a convenient -wrapper. - -If a comma appears within the name or description, grouping -must be used, e.g.\ in the description of \gls{pagelist}. - -\chapter{Plurals and Paragraphs} - -Plurals are assumed to have the letter s appended, but if this is -not the case, as in \glspl{mtrx}, then you need to specify the -plural when you define the entry. If a term may have multiple -plurals (for example \glspl{cow}/\glslink{cow}{kine}) then -define the entry with the plural form most likely to be used and -explicitly specify the alternative form using \verb|\glslink|. -\Glspl{seal} and \glspl{sealion} have regular plural forms. - -\Gls{bravo} is a homograph, but the plural forms are spelt -differently. The plural of \gls{bravo1}, a cry of approval -(definition~\glsrefentry{bravo1}), is \glspl{bravo1}, whereas the -plural of \gls{bravo2}, a hired ruffian or killer -(definition~\glsrefentry{bravo2}), is \glspl{bravo2}. - -\Glspl{par} can cause a problem in commands, so care is needed -when having a paragraph break in a \gls{glossarylist} entry. - -\chapter{Ordering} - -There are two types of ordering: word ordering (which places -``\gls{sealion}'' before ``\gls{seal}'') and letter ordering -(which places ``\gls{seal}'' before ``\gls{sealion}''). - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-inline.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-langdict.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } - -% This file also requires the glossaries-english -% and glossaries-french language modules. These must -% be installed in addition to installing the glossaries package. -\documentclass[english,french]{article} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{babel} -% The package option "nomain" is used here to suppress the -% main glossary, since this example doesn't use it. If you -% want to use the main glossary, remove the "nomain" option. -\usepackage[nomain]{glossaries} - -\newglossary[glg]{english}{gls}{glo}{English to French} -\newglossary[flg]{french}{flx}{flo}{French to English} - -\makeglossaries - -% \newword{label}{english}{determiner}{french} -\newcommand*{\newword}[4]{% - \newglossaryentry{en-#1}{type=english,name={#2},description={#3 #4}}% - \newglossaryentry{fr-#1}{type=french,name={#3 #4},text={#4},sort={#4},description={#2}}% -} - -\newword{cat}{cat}{le}{chat} -\newword{mat}{mat}{la}{natte} - -\begin{document} -\selectlanguage{english} -The \gls{en-cat} sat on the \gls{en-mat}. - -\selectlanguage{french} -Le \gls{fr-cat} s'est repos\'e sur la \gls{fr-mat}. - -\selectlanguage{english} -\printglossary[type=english] - -\selectlanguage{french} -\printglossary[type=french] -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-langdict.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-newkeys.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you are using arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[colorlinks]{hyperref} -\usepackage[nopostdot,nogroupskip]{glossaries} - -\glsaddkey*% star version needed as default value needs expanding - {ed}% key - {\glsentrytext{\glslabel}ed}% default value - {\glsentryed}% command analogous to \glsentrytext - {\Glsentryed}% command analogous to \Glsentrytext - {\glsed}% command analogous to \glstext - {\Glsed}% command analogous to \Glstext - {\GLSed}% command analogous to \GLStext - -\glsaddkey* - {ing}% key - {\glsentrytext{\glslabel}ing}% default value - {\glsentrying}% command analogous to \glsentrytext - {\Glsentrying}% command analogous to \Glsentrytext - {\glsing}% command analogous to \glstext - {\Glsing}% command analogous to \Glstext - {\GLSing}% command analogous to \GLStext - - -\makeglossaries - -\newglossaryentry{jump}{name={jump},description={}} - -\newglossaryentry{run}{name={run},% - ed={ran},% - ing={running}, - description={}} - -\newglossaryentry{waddle}{name={waddle},% - ed={waddled},% - ing={waddling},% - description={}} - -\begin{document} - -This is a sample document illustrating how to add new glossary entry -keys. - -The dog \glsed{jump} over the duck. - -The duck was \glsing{waddle} round the dog. - -The dog \glsed{run} away from the duck. - -First letter uppercase: \Glsed{jump}, \Glsing{jump}, -\Glsed{waddle}, \Glsing{waddle}, -\Glsed{run}, \Glsing{run}. - -All uppercase: \GLSed{jump}, \GLSing{jump}, -\GLSed{waddle}, \GLSing{waddle}, -\GLSed{run}, \GLSing{run}. - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-newkeys.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-noidxapp-utf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex -% arara: pdflatex -\documentclass{report} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} - -\usepackage[colorlinks]{hyperref} -\usepackage[index,symbols,nohypertypes={index}]{glossaries} -\usepackage{glossary-mcols} - -\makenoidxglossaries - -\renewcommand{\theHequation}{\theequation} - -% main entries - -\newglossaryentry{elite}{% -% first character needs to be grouped if its an extended character -% otherwise first letter uppercasing (\Gls etc) won't work: - name={{é}lite}, - description={select group of people} -} - -\newglossaryentry{elephant}{% - name={elephant}, - description={very large mammal with tusks} -} - -\newglossaryentry{elk}{% - name={elk}, - description={large northern deer} -} - -\newglossaryentry{emigre}{% - name={{é}migré}, - description={person who has emigrated to another country, - especially for political reasons} -} - -% Symbols - -\newglossaryentry{set}{% - type=symbols, - name={$\mathcal{S}$}, - text={\mathcal{S}}, - sort={S}, - description={A set}} - -\newglossaryentry{U}{% - type=symbols, - name={$\mathcal{U}$}, - text={\mathcal{U}}, - sort={U}, - description={The universal set}} - -\newglossaryentry{card}{% - type=symbols, - name={$|\glsentrytext{set}|$}, - text={|\glsentrytext{set}|}, - sort={|}, - description={cardinality of $\gls{set}$}} - -\newglossaryentry{factorial}{% - type=symbols, - name={$!$}, - text={!}, - sort={!}, - description={factorial}} - -% index entries - -\newterm{seal} - -\newterm{dinosaur} - -\newterm[parent=dinosaur]{ceratopsidae} - -\newterm[parent=dinosaur,plural={stegosauruses}]{stegosaurus} -\newterm[parent=ceratopsidae,plural={triceratopses}]{triceratops} -\newterm[parent=ceratopsidae,plural={styracosauruses}]{styracosaurus} -\newterm[parent=dinosaur,plural={apatosauruses}]{apatosaurus} - -\newterm{Triassic} - -\newterm{Devonian} - -\newterm[see={[see also]seal}]{sea lion} - -\begin{document} - -\chapter{Mathematical Notation} - -The cardinality of a set $\gls{set}$ is denoted $\gls{card}$ -The $\gls{factorial}$ symbol indicates factorial. -$\gls{U}$ is the universal set. - -\glsaddall[types=main] - -\chapter{Dinosaurs} - -\Glspl{dinosaur} are now extinct. They first appeared during the -\gls{Triassic} period. Examples of \glspl{dinosaur} include the -\gls{triceratops}, the \gls{styracosaurus}, the \gls{apatosaurus} and the \gls{stegosaurus}. - -\Glspl{seal} and \glspl{sea lion} are marine mammals. -The \gls{Devonian} period was the age of fish. - -\glsaddall[types=main] - -\chapter{Location Lists} - -Dinosaur: \glsdisplaynumberlist{dinosaur}. - -Set: \glsdisplaynumberlist{set}. - -\Gls{elite}: \glsdisplaynumberlist{elite}. - -\Gls{emigre}: \glsdisplaynumberlist{emigre}. - -\begin{equation} -3\gls[counter=equation]{factorial} = 3 \times 2 \times 1 -\end{equation} - -\newcommand{\myhandler}[4]{% - Prefix: #1. - Counter: #2. - Format: #3. - Value: #4. - Link: \setentrycounter[#1]{#2}% - \csuse{#3}{#4}. - \par -} -\newcommand{\myxrhandler}[2][]{XR (#1): #2. } - -Factorial locations: -\glsnumberlistloop{factorial}{\myhandler}{\myxrhandler} - -Sea lion locations: -\glsnumberlistloop{sea lion}{\myhandler}{\myxrhandler} - -\printnoidxglossary[type=main,sort=word] - -\printnoidxglossary[type=symbols,sort=use] - -\renewcommand*{\glsnamefont}[1]{\textmd{#1}} - -\printnoidxglossary[type=index,style=mcolindexgroup,sort=word] - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-noidxapp-utf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-noidxapp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex -% arara: pdflatex -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[index,symbols,nohypertypes={index}]{glossaries} -\usepackage{glossary-mcols} - -\makenoidxglossaries - -\renewcommand{\theHequation}{\theequation} - -% main entries - -\newglossaryentry{elite}{% -% First letter must be grouped if it isn't a single character in -% order for the first letter uppercasing commands (\Gls etc) to -% work. - name={{\'e}lite}, - description={select group of people} -} - -\newglossaryentry{elephant}{% - name={elephant}, - description={very large mammal with tusks} -} - -\newglossaryentry{elk}{% - name={elk}, - description={large northern deer} -} - -\newglossaryentry{emigre}{% - name={{\'e}migr\'e}, - description={person who has emigrated to another country, - especially for political reasons} -} - -% Symbols - -\newglossaryentry{set}{% - type=symbols, - name={$\mathcal{S}$}, - text={\mathcal{S}}, - sort={S}, - description={A set}} - -\newglossaryentry{U}{% - type=symbols, - name={$\mathcal{U}$}, - text={\mathcal{U}}, - sort={U}, - description={The universal set}} - -\newglossaryentry{card}{% - type=symbols, - name={$|\glsentrytext{set}|$}, - text={|\glsentrytext{set}|}, - sort={|}, - description={cardinality of $\gls{set}$}} - -\newglossaryentry{factorial}{% - type=symbols, - name={$!$}, - text={!}, - sort={!}, - description={factorial}} - -% index entries - -\newterm{seal} - -\newterm{dinosaur} - -\newterm[parent=dinosaur]{ceratopsidae} - -\newterm[parent=dinosaur,plural={stegosauruses}]{stegosaurus} -\newterm[parent=ceratopsidae,plural={triceratopses}]{triceratops} -\newterm[parent=ceratopsidae,plural={styracosauruses}]{styracosaurus} -\newterm[parent=dinosaur,plural={apatosauruses}]{apatosaurus} - -\newterm{Triassic} - -\newterm{Devonian} - -\newterm[see={[see also]seal}]{sea lion} - -\begin{document} - -\chapter{Mathematical Notation} - -The cardinality of a set $\gls{set}$ is denoted $\gls{card}$ -The $\gls{factorial}$ symbol indicates factorial. -$\gls{U}$ is the universal set. - -\glsaddall[types=main] - -\chapter{Dinosaurs} - -\Glspl{dinosaur} are now extinct. They first appeared during the -\gls{Triassic} period. Examples of \glspl{dinosaur} include the -\gls{triceratops}, the \gls{styracosaurus}, the \gls{apatosaurus} and the \gls{stegosaurus}. - -\Glspl{seal} and \glspl{sea lion} are marine mammals. -The \gls{Devonian} period was the age of fish. - -\glsaddall[types=main] - -\chapter{Location Lists} - -Dinosaur: \glsdisplaynumberlist{dinosaur}. - -Set: \glsdisplaynumberlist{set}. - -\Gls{elite}: \glsdisplaynumberlist{elite}. - -\begin{equation} -3\gls[counter=equation]{factorial} = 3 \times 2 \times 1 -\end{equation} - -\newcommand{\myhandler}[4]{% - Prefix: #1. - Counter: #2. - Format: #3. - Value: #4. - Link: \setentrycounter[#1]{#2}% - \csuse{#3}{#4}. - \par -} -\newcommand{\myxrhandler}[2][]{XR (#1): #2. } - -Factorial locations: -\glsnumberlistloop{factorial}{\myhandler}{\myxrhandler} - -Sea lion locations: -\glsnumberlistloop{sea lion}{\myhandler}{\myxrhandler} - -\printnoidxglossary[type=main,sort=word] - -\printnoidxglossary[type=symbols,sort=use] - -\renewcommand*{\glsnamefont}[1]{\textmd{#1}} - -\printnoidxglossary[type=index,style=mcolindexgroup,sort=letter] - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-noidxapp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-nomathhyper.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage{glossaries} - -\GlsDeclareNoHyperList{main} - -\makeglossaries - -% redefine \glsentryfmt so that it adds a hyperlink -% if not in math mode and the hyperlinks haven't been forced on -\renewcommand*{\glsentryfmt}{% - \ifmmode - \glsgenentryfmt - \else - \glsifhyperon - {\glsgenentryfmt}% hyperlink already on - {\glshyperlink[\glsgenentryfmt]{\glslabel}}% - \fi -} - -% define a sample entry: -\newglossaryentry{x}{name={x},description={sample entry}} - -\begin{document} -\chapter{Sample} -In text mode: \gls{x}. Inline maths: $\gls{x}$. Displayed -maths: -\[ - \gls{x} -\] - -Back to text mode again: \gls{x}. Don't check the first use flag: -\glstext{x}. Force on the hyperlink: \glstext+{x}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-nomathhyper.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-numberlist.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[savenumberlist,counter=chapter]{glossaries} - -\makeglossaries - -\newglossaryentry{sample}{name=sample,description=an example} - -\begin{document} -\chapter{Introduction} - -This is a \glsentryname{sample} document. \Glsentryplural{sample} -are discussed in chapters~\glsdisplaynumberlist{sample}. - -\chapter{Sample Documents} - -\Gls{sample} documents are provided for testing and illustration -purposes. - -\chapter{More About Samples} - -Here's more information about \glspl{sample}. - -\chapter{Another chapter} - -A chapter about something else. - -\chapter{Another About Samples} - -Here's some more information about \glspl{sample}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-numberlist.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-prefix.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } - -\documentclass{article} - -\usepackage[colorlinks]{hyperref} -\usepackage[toc,acronym]{glossaries-prefix} - -\makeglossaries - -\newglossaryentry{sample}{name={sample}, - description={an example}, - prefix={a~}, - prefixplural={the\space}% -} - -\newglossaryentry{oeil}{name={oeil}, - plural={yeux}, - description={eye}, - prefix={l'}, - prefixplural={les\space}} - -\newacronym - [% - prefix={an\space},prefixfirst={a~}% - ]{svm}{SVM}{support vector machine} - -\newglossarystyle{plist}{% - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \Glsentryprefix{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription\space ##2}% -} - -\begin{document} - -\tableofcontents - -\section{Sample} - -First use: \pgls{sample}, \pgls{svm}, \pgls{oeil}. Next use: \pgls{sample}, \pgls{svm}, \pgls{oeil}. - -Reset. \glsresetall - -First use: \pglspl{sample}, \pglspl{svm}, \pglspl{oeil}. Next use: -\pglspl{sample}, \pglspl{svm}, \pglspl{oeil}. - -Reset. \glsresetall - -First use: \Pgls{sample}, \Pgls{svm}. Next use: \Pgls{sample}, \Pgls{svm}. - -Reset. \glsresetall - -First use: \Pglspl{sample}, \Pglspl{svm}. Next use: \Pglspl{sample}, \Pglspl{svm}. - -Reset. \glsresetall - -First use: \PGLS{sample}, \PGLS{svm}. Next use: \PGLS{sample}, \PGLS{svm}. - -Reset. \glsresetall - -First use: \PGLSpl{sample}, \PGLSpl{svm}. Next use: \PGLSpl{sample}, \PGLSpl{svm}. - -\printglossary[style=plist] - -\printacronyms -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-prefix.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-si.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} -\usepackage{siunitx} -\usepackage[style=long4col]{glossaries} - -\makeglossaries - -\newglossaryentry{ohm}{% - name=ohm, - symbol={\si{\ohm}}, - description=unit of electrical resistance% -} - -\begin{document} -\glsaddallunused - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-si.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-storage-abbr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex -% arara: makeglossaries -% arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\glsaddstoragekey - {abbrtype}% key/field name - {acronym}% default value if not explicitly set - {\abbrtype}% custom command to access the value if required - -\newacronymstyle - {mystyle}% style name - {% Use the generic display - \ifglshaslong{\glslabel}{\glsgenacfmt}{\glsgenentryfmt}% - } - {% User needs to explicitly set the description - \renewcommand*{\GenericAcronymFields}{}% - % For the full format, test the value of the "abbrtype" key. - % If it's set to "acronym" put the short form first with - % the long form in brackets. - \renewcommand*{\genacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{acronym} - {% is a proper acronym - \protect\firstacronymfont{\glsentryshort{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}})% - }% - }% - % first letter upper case version: - \renewcommand*{\Genacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{acronym} - {% is a proper acronym - \protect\firstacronymfont{\Glsentryshort{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \Glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}})% - }% - }% - % plural - \renewcommand*{\genplacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{acronym} - {% is a proper acronym - \protect\firstacronymfont{\glsentryshortpl{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}})% - }% - }% - % plural and first letter upper case - \renewcommand*{\Genplacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{acronym} - {% is a proper acronym - \protect\firstacronymfont{\Glsentryshortpl{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \Glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}})% - }% - }% - % Just use the short form as the name part in the glossary: - \renewcommand*{\acronymentry}[1]{\acronymfont{\glsentryshort{##1}}}% - % Sort by the short form: - \renewcommand*{\acronymsort}[2]{##1}% - % Just use the surrounding font for the short form: - \renewcommand*{\acronymfont}[1]{##1}% - % Same for first use: - \renewcommand*{\firstacronymfont}[1]{\acronymfont{##1}}% - % Default plural suffix if the plural isn't explicitly set - \renewcommand*{\acrpluralsuffix}{\glspluralsuffix}% - } - -\setacronymstyle{mystyle} - -% The default for "abbrtype" is "acronym" so we don't need -% this new key for acronyms: -\newacronym[description={system for detecting the position and -speed of aircraft, ships, etc}]{radar}{radar}{radio detecting -and ranging} - -\newacronym[description={device that creates a narrow beam -of intense light}]{laser}{laser}{light amplification by -stimulated emission of radiation} - -\newacronym[description={portable breathing device for -divers}]{scuba}{scuba}{self-contained underwater breathing -apparatus} - -\newcommand*{\newinitialism}[4][]{% - \newacronym[abbrtype=initialism,#1]{#2}{#3}{#4}% -} - -\newinitialism[description={mathematical manipulation of an -information signal}]{dsp}{DSP}{digital signal processing} -\newinitialism[description={device that allows customers of -financial institutions to perform transactions, such as -cash withdrawal, without the need for a teller}]{atm}{ATM} -{automated teller machine} - -\newcommand*{\newcontraction}[4][]{% - \newacronym[abbrtype=contraction,#1]{#2}{#3}{#4}% -} - -\newcontraction[description={front part of a ship below the -deck}]{focsle}{fo'c's'le}{forecastle} - -\newglossaryentry{apple}{name={apple},description={a fruit}} - -\newglossarystyle - {mystyle}% style name - {% base it on the "list" style - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \ifglshaslong{##1}% - { (\abbrtype{##1}: \glsentrylong{##1})\space}{}% - \glossentrydesc{##1}\glspostdescription\space ##2}% - } - -\setglossarystyle{mystyle} - -\begin{document} - -First use: \gls{radar}, \gls{laser}, \gls{scuba}, \gls{dsp}, -\gls{atm}, \gls{focsle}. - -Next use: \gls{radar}, \gls{laser}, \gls{scuba}, \gls{dsp}, -\gls{atm}, \gls{focsle}. - -Regular term: \gls{apple}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-storage-abbr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-storage-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex -% arara: makeglossaries -% arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\glsaddstoragekey - {abbrtype}% key/field name - {word}% default value if not explicitly set - {\abbrtype}% custom command to access the value if required - -\newacronymstyle - {mystyle}% style name - {% Use the generic display - \ifglshaslong{\glslabel}{\glsgenacfmt}{\glsgenentryfmt}% - } - {% Put the long form in the description - \renewcommand*{\GenericAcronymFields}{description={\the\glslongtok}}% - % For the full format, test the value of the "abbrtype" key. - % If it's set to "word" put the short form first with - % the long form in brackets. - \renewcommand*{\genacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{word} - {% is a proper acronym - \protect\firstacronymfont{\glsentryshort{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}})% - }% - }% - % first letter upper case version: - \renewcommand*{\Genacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{word} - {% is a proper acronym - \protect\firstacronymfont{\Glsentryshort{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \Glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}})% - }% - }% - % plural - \renewcommand*{\genplacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{word} - {% is a proper acronym - \protect\firstacronymfont{\glsentryshortpl{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}})% - }% - }% - % plural and first letter upper case - \renewcommand*{\Genplacrfullformat}[2]{% - \ifglsfieldeq{##1}{abbrtype}{word} - {% is a proper acronym - \protect\firstacronymfont{\Glsentryshortpl{##1}}##2\space - (\glsentrylong{##1})% - } - {% is another form of abbreviation - \Glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}})% - }% - }% - % Just use the short form as the name part in the glossary: - \renewcommand*{\acronymentry}[1]{\acronymfont{\glsentryshort{##1}}}% - % Sort by the short form: - \renewcommand*{\acronymsort}[2]{##1}% - % Just use the surrounding font for the short form: - \renewcommand*{\acronymfont}[1]{##1}% - % Same for first use: - \renewcommand*{\firstacronymfont}[1]{\acronymfont{##1}}% - % Default plural suffix if the plural isn't explicitly set - \renewcommand*{\acrpluralsuffix}{\glspluralsuffix}% - } - -\setacronymstyle{mystyle} - -% The default for "abbrtype" is "acronym" so we don't need -% this new key for acronyms: -\newacronym{radar}{radar}{radio detecting and ranging} -\newacronym{laser}{laser}{light amplification by stimulated -emission of radiation} -\newacronym{scuba}{scuba}{self-contained underwater breathing -apparatus} - -\newcommand*{\newinitialism}[4][]{% - \newacronym[abbrtype=initialism,#1]{#2}{#3}{#4}% -} - -\newinitialism{dsp}{DSP}{digital signal processing} -\newinitialism{atm}{ATM}{automated teller machine} - -\begin{document} - -First use: \gls{radar}, \gls{laser}, \gls{scuba}, \gls{dsp}, -\gls{atm}. - -Next use: \gls{radar}, \gls{laser}, \gls{scuba}, \gls{dsp}, -\gls{atm}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample-storage-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[plainpages=false,colorlinks]{hyperref} -\usepackage[toc,style=treenoname,order=word,subentrycounter]{glossaries} - -\makeglossaries - -\newglossaryentry{Perl}{name=\texttt{Perl}, -sort=Perl, % need a sort key because name contains a command -description=A scripting language} - -\newglossaryentry{glossary}{name=glossary, -description={\nopostdesc}, -plural={glossaries}} - -\newglossaryentry{glossarycol}{ -description={collection of glosses}, -sort={2}, -parent={glossary}} - -\newglossaryentry{glossarylist}{ -description={list of technical words}, -sort={1}, -parent={glossary}} - -\newglossaryentry{pagelist}{name=page list, -% description value has to be enclosed in braces -% because it contains commas -description={a list of individual pages or page ranges -(e.g.\ 1,2,4,7-9)}} - -\newglossaryentry{mtrx}{name=matrix, -description={rectangular array of quantities}, -% plural is not simply obtained by appending an s, so specify -plural=matrices} - -% Entry with a paragraph break in the description: -% (If you use \newglossaryentry, the paragraph break -% must be identified with \glspar not with \par or a blank line. -% It's easier to use \longnewglossaryentry.) - -\longnewglossaryentry{par}% label -{name=paragraph}% options -{% multi-paragraph description -distinct section of a piece of writing. - -Beginning on new, usually indented, line} - -% entry with two types of plural. Set the plural form to the -% form most likely to be used. If you want to use a different -% plural, you will need to explicity specify it in \glslink -\newglossaryentry{cow}{name=cow, -% this isn't necessary, as this form (appending an s) is -% the default -plural=cows, -% description: -description={(\emph{pl.}\ cows, \emph{archaic} kine) an adult -female of any bovine animal}} - -\newglossaryentry{bravo}{name={bravo}, -description={\nopostdesc}} - -\newglossaryentry{bravo1}{description={cry of approval (pl.\ bravos)}, -sort={1}, -plural={bravos}, -parent=bravo} - -\newglossaryentry{bravo2}{description={hired ruffian or killer (pl.\ bravoes)}, -sort={2}, -plural={bravoes}, -parent=bravo} - -\newglossaryentry{seal}{% - name=seal,% - description={sea mammal with flippers that eats fish} -} - -\newglossaryentry{sealion}{% - name={sea lion},% - description={large seal}% -} - -% If a value contains a comma, you must use braces to hide -% it from the key=value list parser. Take care to avoid -% accidentally introducing unwanted space as leading and trailing -% spaces within the braces aren't stripped. For example, -% text={ spurious space } will result in extra space appearing -% when the entry is referenced. -\newglossaryentry{spuriousspace}{% - name={space, spurious}, - text={spurious space}, - description={unwanted spaces accidentally introduced by -uncommented line breaks or attempts to pretty-print the \LaTeX\ code} -} - -\begin{document} - -\title{Sample Document Using the glossaries Package} -\author{Nicola Talbot} -\pagenumbering{alph}% prevent duplicate page link names if using PDF -\maketitle - -\pagenumbering{roman} -\tableofcontents - -\chapter{Introduction} -\pagenumbering{arabic} - -A \gls{glossarylist} (definition~\glsrefentry{glossarylist}) is a -very useful addition to any technical document, although a -\gls{glossarycol} (definition~\glsrefentry{glossarycol}) can also -simply be a collection of glosses, which is another thing entirely. -Some documents have multiple \glspl{glossarylist}. - -Once you have run your document through \LaTeX, you will then need -to run the \texttt{.glo} file through \texttt{makeindex} (default) -or \texttt{xindy}. You will need to set the output file so that the -indexing application -creates a \texttt{.gls} file instead of an \texttt{.ind} file, and -change the name of the log file so that it doesn't overwrite the -index log file (if you have an index for your document). Rather -than having to remember all the command line switches, you can call -the \gls{Perl} script \texttt{makeglossaries} which provides a -convenient wrapper. See -\href{https://www.dickimaw-books.com/latex/buildglossaries}{Incorporating makeglossaries or makeglossaries-lite or bib2gls into the document build} for help. - -If a comma appears within the name or description, grouping -must be used, e.g.\ in the description of \gls{pagelist}. -Be careful about \glspl{spuriousspace} appearing in your code. - -\chapter{Plurals and Paragraphs} - -Plurals are assumed to have the letter s appended, but if this is -not the case, as in \glspl{mtrx}, then you need to specify the -plural when you define the entry. If a term may have multiple -plurals (for example \glspl{cow}/\glslink{cow}{kine}) then -define the entry with the plural form most likely to be used and -explicitly specify the alternative form using \verb|\glslink| -(e.g.\ \glslink{cow}{kine}) -or \verb|\glsdisp| (e.g.\ \glsdisp{cow}{kine}). -\Glspl{seal} and \glspl{sealion} have regular plural forms. - -\Gls{bravo} is a homograph, but the plural forms are spelt -differently. The plural of \gls{bravo1}, a cry of approval -(definition~\glsrefentry{bravo1}), is \glspl{bravo1}, whereas the -plural of \gls{bravo2}, a hired ruffian or killer -(definition~\glsrefentry{bravo2}), is \glspl{bravo2}. - -\Glspl{par} can cause a problem in commands, so care is needed -when having a paragraph break in a \gls{glossarylist} entry. - -\chapter{Ordering} - -There are two types of ordering: word ordering (which places -``\gls{sealion}'' before ``\gls{seal}'') and letter ordering -(which places ``\gls{seal}'' before ``\gls{sealion}''). - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample4col.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{article} - -\usepackage[style=long4colheaderborder]{glossaries} - -\makeglossaries - -\newglossaryentry{w}{name={$w$}, -sort=w, -description={width}, -symbol=m} - -\newglossaryentry{M}{name={$M$}, -sort=M, -description={mass}, -symbol=kg} - -\begin{document} - -\printglossaries - -The width, \gls{w}, is measured in meters. The mass, \gls{M} is -measured in kilograms. - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sample4col.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleaccsupp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{article} - -\usepackage[margin=0.5in]{geometry} -\usepackage{booktabs} -\usepackage[acronym]{glossaries-accsupp} - -\makeglossaries - -\newglossaryentry{dr}{name=Dr,description={Doctor},access={Doctor}} - -\newacronym[shortaccess=S V M]{svm}{svm}{support vector machine} - -\newacronym{eg}{e.g.}{for example} - -\newcommand*{\samplerow}[1]{% - \gls{#1} & \gls{#1} & \acrshort{#1} & \acrlong{#1}\\ - \glsreset{#1}\Gls{#1} & \Gls{#1} & \Acrshort{#1} & \Acrlong{#1}\\ - \glsreset{#1}\GLS{#1} & \GLS{#1} & \ACRshort{#1} & \ACRlong{#1}\\ -} - -\begin{document} - -\begin{center} -\begin{tabular}{lllll} -\toprule -\bfseries First & \bfseries Next & \bfseries Short & \bfseries Long -\\\midrule -\samplerow{dr} -\midrule -\samplerow{eg} -\midrule -\samplerow{svm} -\bottomrule -\end{tabular} -\end{center} - - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleaccsupp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[colorlinks,plainpages=false]{hyperref} -\usepackage[style=long,% use 'long' style for the glossary - toc,% add glossary to table of contents - ]{glossaries} - -\makeglossaries - -% Set the acronym style -\setacronymstyle{long-sc-short} - -\newacronym{svm}% label -{svm}% abbreviation -{support vector machine}% long form - -\newacronym{ksvm}{ksvm}{kernel support vector machine} - -\newacronym{rna}{rna}{ribonukleins\"aure} - -\begin{document} -\tableofcontents - -\chapter{Support Vector Machines} - -\Glspl{svm} are used widely in the area of pattern recognition. -Subsequent use: \gls{svm}. - -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full -version: \acrfull{svm}. Description: \glsentrydesc{svm}. - -This is the entry in uppercase: \GLS{svm}. - -\chapter{Kernel Support Vector Machines} - -The \gls{ksvm} is \ifglsused{svm}{an}{a} \gls{svm} that uses -the so called ``kernel trick''. Plural: \glspl{ksvm}. Resetting -acronyms. - -\glsresetall -Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this -one \gls[format=hyperbf]{ksvm}. - -\chapter{Short, Long and Full Forms} - -These commands don't affect the first use flag: - -\begin{center} -\begin{tabular}{lll} - & Unstarred & Starred\\ -acrshort & \acrshort{svm} & \acrshort*{svm}\\ -Acrshort & \Acrshort{svm} & \Acrshort*{svm}\\ -ACRshort & \ACRshort{svm} & \ACRshort*{svm}\\ -acrlong & \acrlong{svm} & \acrlong*{svm}\\ -Acrlong & \Acrlong{svm} & \Acrlong*{svm}\\ -ACRlong & \ACRlong{svm} & \ACRlong*{svm}\\ -acrfull & \acrfull{svm} & \acrfull*{svm}\\ -Acrfull & \Acrfull{svm} & \Acrfull*{svm}\\ -ACRfull & \ACRfull{svm} & \ACRfull*{svm}\\ -\\ -& Insert Unstarred & Insert Starred\\ -acrshort & \acrshort{svm}['s] & \acrshort*{svm}['s]\\ -Acrshort & \Acrshort{svm}['s] & \Acrshort*{svm}['s]\\ -ACRshort & \ACRshort{svm}['s] & \ACRshort*{svm}['s]\\ -acrlong & \acrlong{svm}['s] & \acrlong*{svm}['s]\\ -Acrlong & \Acrlong{svm}['s] & \Acrlong*{svm}['s]\\ -ACRlong & \ACRlong{svm}['s] & \ACRlong*{svm}['s]\\ -acrfull & \acrfull{svm}['s] & \acrfull*{svm}['s]\\ -Acrfull & \Acrfull{svm}['s] & \Acrfull*{svm}['s]\\ -ACRfull & \ACRfull{svm}['s] & \ACRfull*{svm}['s] -\end{tabular} -\end{center} - -\chapter{Another chapter} - -You don't need to worry about makeindex's special characters: -\gls{rna}. - -\printglossary[title={List of Acronyms}] - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[colorlinks,plainpages=false]{hyperref} -\usepackage[acronym,% create 'acronym' glossary type -% The package option "nomain" is used here to suppress the -% main glossary, since this example doesn't use it. If you -% want to use the main glossary, remove the "nomain" option. - nomain,% - style=altlist, % use altlist style - toc, % add the glossary to the table of contents - ]{glossaries} - -\makeglossaries - -% Change the acronym style to long-sc-short-desc: -\setacronymstyle{long-sc-short-desc} - -% Change the "see" items so that they use \acronymfont: -\renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} - -% Not using a font that supports bold smallcaps so change the way -% the name is formatted in the glossary: - -\renewcommand*{\glsnamefont}[1]{\textmd{#1}} - -\newacronym[description={Statistical pattern recognition -technique~\protect\cite{svm}}, % acronym's description -]{svm}{svm}{support vector machine} - -\newacronym - [description={Statistical pattern recognition technique - using the ``kernel trick''},% acronym's description - see={[see also]{svm}}, -] -{ksvm}{ksvm}{kernel support vector machine} - -\begin{document} -\tableofcontents - -\chapter{Support Vector Machines} - -The \gls{svm} is used widely in the area of pattern recognition. -% plural form with initial letter in uppercase: -\Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered -poor style). - -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full -version: \acrfull{svm}. Description: \glsentrydesc{svm}. - -This is the entry in uppercase: \GLS{svm}. - -\chapter{Kernel Support Vector Machines} - -The \gls{ksvm} is \ifglsused{svm}{an}{a} \gls{svm} that uses -the so called ``kernel trick''. This is the entry's description without -a link: \glsentrydesc{ksvm}. - -\glsresetall -Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this -one \gls[format=hyperbf]{svm}. - -\begin{thebibliography}{1} -\bibitem{svm} \ldots -\end{thebibliography} - -\printglossary - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleacronyms.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[acronym,acronymlists={main,acronym2}]{glossaries} - -\newglossary[alg2]{acronym2}{acr2}{acn2}{Statistical Acronyms} - -\makeglossaries - -% Use long (short) acronym style: -\setacronymstyle{long-short} - -% Main glossary is a list of calculus acronyms - -\renewcommand{\glossaryname}{Calculus Acronyms} - -\newacronym[type=main]{vc}{VC}{Vector Calculus} -\newacronym[type=main]{ftoc}{FTOC}{Fundamental Theorem of Calculus} - -% "acronym" glossary is a list of computer related acronyms - -\renewcommand{\acronymname}{Computer Acronyms} - -\newacronym{kb}{kb}{KiloBit} -\newacronym{kB}{kB}{KiloByte} - -% "acronym2" glossary is a list of statistical acronyms - -\newacronym[type=acronym2]{svm}{SVM}{Support Vector Machine} - -\begin{document} -\section{Sample Section} -\gls{kb}. \gls{kB}. \gls{vc}. \gls{ftoc}. \gls{svm}. - -\gls{kb}. \gls{kB}. \gls{vc}. \gls{ftoc}. \gls{svm}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleacronyms.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleCustomAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[colorlinks,plainpages=false]{hyperref} -\usepackage[acronym,% create 'acronym' glossary type -% The package option "nomain" is used here to suppress the -% main glossary, since this example doesn't use it. If you -% want to use the main glossary, remove the "nomain" option. - nomain, - style=altlist, % use altlist style - toc, % add the glossary to the table of contents - ]{glossaries} - -\makeglossaries - -% Define a new acronym style called "altfn" that's based on the -% footnote-sc-desc style - -\newacronymstyle - {altfn}% style name - {% Inherit display style from "footnote-sc-desc" - \GlsUseAcrEntryDispStyle{footnote-sc-desc}% - }% - {% Inherit definitions from "footnote-sc-desc" - \GlsUseAcrStyleDefs{footnote-sc-desc}% -% Modify the first use display styles so they put the long form -% followed by the description in the footnote: -% -% First use of \gls: - \renewcommand*{\genacrfullformat}[2]{% - \protect\firstacronymfont{\glsentryshort{##1}}##2% - \protect\footnote{\glsentrylong{##1}: \glsentrydesc{##1}}% - }% -% First use of \Gls: - \renewcommand*{\Genacrfullformat}[2]{% - \firstacronymfont{\Glsentryshort{##1}}##2% - \protect\footnote{\glsentrylong{##1}: \glsentrydesc{##1}}% - }% -% First use of \glspl: - \renewcommand*{\genplacrfullformat}[2]{% - \protect\firstacronymfont{\glsentryshortpl{##1}}##2% - \protect\footnote{\glsentrylongpl{##1}: \glsentrydesc{##1}}% - }% -% First use of \Glspl: - \renewcommand*{\Genplacrfullformat}[2]{% - \protect\firstacronymfont{\Glsentryshortpl{##1}}##2% - \protect\footnote{\glsentrylongpl{##1}: \glsentrydesc{##1}}% - }% -% Sort according to long form: - \renewcommand*{\acronymsort}[2]{##2}% -% Set the name (as displayed in the glossary) to long (short) - \renewcommand*{\acronymentry}[1]{% - \glsentrylong{##1} (\acronymfont{\glsentryshort{##1}})}% -% Since bold small caps isn't supported with this document's -% fonts, adjust \acronymfont so that it switches to medium -% small caps: - \renewcommand{\acronymfont}[1]{\textmd{\scshape ##1}}% - } - -% Now use this new style: -\setacronymstyle{altfn} - -% Change the "see" items so that they use \acronymfont: -\renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} - -\newacronym[description={Statistical pattern recognition -technique~\protect\cite{svm}}, % acronym's description -]{svm}{svm}{support vector machine} - -\newacronym[description={Statistical pattern recognition technique -using the ``kernel trick''},% acronym's description -see={[see also]{svm}}, -]{ksvm}{ksvm}{kernel -support vector machine} - -\begin{document} -\tableofcontents - -\chapter{Support Vector Machines} - -The \gls{svm} is used widely in the area of pattern recognition. -% plural form with initial letter in uppercase: -\Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered -poor style). - -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full -version: \acrfull{svm}. Description: \glsentrydesc{svm}. - -This is the entry in uppercase: \GLS{svm}. - -\chapter{Kernel Support Vector Machines} - -The \gls{ksvm} is \ifglsused{svm}{an}{a} \gls{svm} that uses -the so called ``kernel trick''. This is the entry's description without -a link: \glsentrydesc{ksvm}. - -\glsresetall -(Reset all.) -Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this -one \gls[format=hyperbf]{svm}. - -\begin{thebibliography}{1} -\bibitem{svm} \ldots -\end{thebibliography} - -\printglossary - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleCustomAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleDB.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[colorlinks,plainpages=false]{hyperref} -\usepackage[nonumberlist]{glossaries} - -\newglossary[nlg]{symbols}{not}{ntn}{Symbols} - -\makeglossaries - -\loadglsentries{database1} -\loadglsentries[symbols]{database2} - -\begin{document} - -\glsaddall - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleDB.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% -% See also sampleAcrDesc.tex -% -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[colorlinks,plainpages=false]{hyperref} - -\usepackage[style=altlist, % use altlist style - toc % add the glossary to the table of contents - ]{glossaries} - -\makeglossaries - -\newglossaryentry{svm}{ -% how the entry name should appear in the glossary -name={Support vector machine (SVM)}, -% how the description should appear in the glossary -description={Statistical pattern recognition -technique~\cite{svm}}, -% how the entry should appear in the document text -text={svm}, -% how the entry should appear the first time it is -% used in the document text -first={support vector machine (svm)}} - -\newglossaryentry{ksvm}{ -name={Kernel support vector machine (KSVM)}, -description={Statistical pattern recognition technique -using the ``kernel trick'' (see also SVM)}, -text={ksvm}, -first={kernel support vector machine}} - -\begin{document} -\tableofcontents - -\chapter{Support Vector Machines} - -The \gls{svm} is used widely in the area of pattern recognition. -% plural form with initial letter in uppercase: -\Glspl{svm} are \ldots - -This is the text produced without a link: \glsentrytext{svm}. -This is the text produced on first use without a link: -\glsentryfirst{svm}. This is the entry's description without -a link: \glsentrydesc{svm}. - -This is the entry in uppercase: \GLS{svm}. - -\chapter{Kernel Support Vector Machines} - -The \gls{ksvm} is \ifglsused{svm}{an}{a} \gls{svm} that uses -the so called ``kernel trick''. - -\glsresetall -Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this -one \gls[format=hyperbf]{svm}. - -\begin{thebibliography}{1} -\bibitem{svm} \ldots -\end{thebibliography} - -\printglossary[title={Acronyms}] - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleEq.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara you need the following directives: -% arara: pdflatex -% arara: makeglossaries -% arara: pdflatex -\documentclass[a4paper,12pt]{report} - -\usepackage{amsmath} -\usepackage[colorlinks]{hyperref} -\usepackage[xindy,toc,ucmark,style=long3colheader,counter=equation]{glossaries} - -\makeglossaries - -\newcommand{\erf}{\operatorname{erf}} -\newcommand{\erfc}{\operatorname{erfc}} - -\pagestyle{headings} - -% redefine the way hyperref creates the target for equations -% so that the glossary links to equation numbers work - - \renewcommand*\theHequation{\theHchapter.\arabic{equation}} - -% Change the glossary headings - -\renewcommand{\entryname}{Notation} -\renewcommand{\descriptionname}{Function Name} -\renewcommand{\pagelistname}{Number of Formula} - -% define glossary entries - -\newglossaryentry{Gamma}{name=\ensuremath{\Gamma(z)}, -description=Gamma function, -sort=Gamma} - -\newglossaryentry{gamma}{name={\ensuremath{\gamma(\alpha,x)}}, -description=Incomplete gamma function, -sort=gamma1} - -\newglossaryentry{iGamma}{name={\ensuremath{\Gamma(\alpha,x)}}, -description=Incomplete gamma function, -sort=Gamma2} - -\newglossaryentry{psi}{name=\ensuremath{\psi(x)}, -description=Psi function,sort=psi} - -\newglossaryentry{erf}{name=\ensuremath{\erf(x)}, -description=Error function,sort=erf} - -\newglossaryentry{erfc}{name=\ensuremath{\erfc}, -description=Complementary error function,sort=erfc} - -\newglossaryentry{B}{name={\ensuremath{B(x,y)}}, -description=Beta function,sort=B} - -\newglossaryentry{Bx}{name={\ensuremath{B_x(p,q)}}, -description=Incomplete beta function,sort=Bx} - -\newglossaryentry{Tn}{name=\ensuremath{T_n(x)}, -description=Chebyshev's polynomials of the first kind,sort=Tn} - -\newglossaryentry{Un}{name=\ensuremath{U_n(x)}, -description=Chebyshev's polynomials of the second kind,sort=Un} - -\newglossaryentry{Hn}{name=\ensuremath{H_n(x)}, -description=Hermite polynomials,sort=Hn} - -\newglossaryentry{Ln}{name=\ensuremath{L_n^\alpha(x)}, -description=Laguerre polynomials,sort=Lna} - -\newglossaryentry{Znu}{name=\ensuremath{Z_\nu(z)}, -description=Bessel functions,sort=Z} - -\newglossaryentry{Phi}{name={\ensuremath{\Phi(\alpha,\gamma;z)}}, -description=confluent hypergeometric function,sort=Pagz} - -\newglossaryentry{knu}{name=\ensuremath{k_\nu(x)}, -description=Bateman's function,sort=kv} - -\newglossaryentry{Dp}{name=\ensuremath{D_p(z)}, -description=Parabolic cylinder functions,sort=Dp} - -\newglossaryentry{F}{name={\ensuremath{F(\phi,k)}}, -description=Elliptical integral of the first kind,sort=Fpk} - -\newglossaryentry{C}{name=\ensuremath{C}, -description=Euler's constant,sort=C} - -\newglossaryentry{G}{name=\ensuremath{G}, -description=Catalan's constant,sort=G} - -\begin{document} -\title{A Sample Document Using glossaries.sty} -\author{Nicola Talbot} -\maketitle - -\begin{abstract} -This is a sample document illustrating the use of the \textsf{glossaries} -package. The functions here have been taken from ``Tables of -Integrals, Series, and Products'' by I.S.~Gradshteyn and I.M~Ryzhik. -The glossary is a list of special functions, so -the equation number has been used rather than the page number. This -can be done using the \texttt{counter=equation} package -option. -\end{abstract} - -\printglossary[title={Index of Special Functions and Notations}] - -\chapter{Gamma Functions} - -\begin{equation} -\gls{Gamma} = \int_{0}^{\infty}e^{-t}t^{z-1}\,dt -\end{equation} - -\verb|\ensuremath| is only required here if using -hyperlinks. -\begin{equation} -\glslink{Gamma}{\ensuremath{\Gamma(x+1)}} = x\Gamma(x) -\end{equation} - -\begin{equation} -\gls{gamma} = \int_0^x e^{-t}t^{\alpha-1}\,dt -\end{equation} - -\begin{equation} -\gls{iGamma} = \int_x^\infty e^{-t}t^{\alpha-1}\,dt -\end{equation} - -\newpage - -\begin{equation} -\gls{Gamma} = \Gamma(\alpha, x) + \gamma(\alpha, x) -\end{equation} - -\begin{equation} -\gls{psi} = \frac{d}{dx}\ln\Gamma(x) -\end{equation} - -\chapter{Error Functions} - -\begin{equation} -\gls{erf} = \frac{2}{\surd\pi}\int_0^x e^{-t^2}\,dt -\end{equation} - -\begin{equation} -\gls{erfc} = 1 - \erf(x) -\end{equation} - -\chapter{Beta Function} - -\begin{equation} -\gls{B} = 2\int_0^1 t^{x-1}(1-t^2)^{y-1}\,dt -\end{equation} -Alternatively: -\begin{equation} -\gls{B} = 2\int_0^{\frac\pi2}\sin^{2x-1}\phi\cos^{2y-1}\phi\,d\phi -\end{equation} - -\begin{equation} -\gls{B} = \frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)} = B(y,x) -\end{equation} - -\begin{equation} -\gls{Bx} = \int_0^x t^{p-1}(1-t)^{q-1}\,dt -\end{equation} - -\chapter{Polynomials} - -\section{Chebyshev's polynomials} - -\begin{equation} -\gls{Tn} = \cos(n\arccos x) -\end{equation} - -\begin{equation} -\gls{Un} = \frac{\sin[(n+1)\arccos x]}{\sin[\arccos x]} -\end{equation} - -\section{Hermite polynomials} - -\begin{equation} -\gls{Hn} = (-1)^n e^{x^2} \frac{d^n}{dx^n}(e^{-x^2}) -\end{equation} - -\section{Laguerre polynomials} - -\begin{equation} -L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} -\frac{d^n}{dx^n}(e^{-x}x^{n+\alpha}) -\end{equation} - -\chapter{Bessel Functions} - -Bessel functions $Z_\nu$ are solutions of -\begin{equation} -\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} -+ \frac{1}{z}\,\frac{dZ_\nu}{dz} + -\left( 1-\frac{\nu^2}{z^2}Z_\nu = 0 \right) -\end{equation} - -\chapter{Confluent hypergeometric function} - -\begin{equation} -\gls{Phi} = 1 + \frac{\alpha}{\gamma}\,\frac{z}{1!} -+ \frac{\alpha(\alpha+1)}{\gamma(\gamma+1)}\,\frac{z^2}{2!} -+\frac{\alpha(\alpha+1)(\alpha+2)}{\gamma(\gamma+1)(\gamma+2)}\, -\frac{z^3}{3!} + \cdots -\end{equation} - -\begin{equation} -\gls{knu} = \frac{2}{\pi}\int_0^{\pi/2} -\cos(x \tan\theta - \nu\theta)\,d\theta -\end{equation} - -\chapter{Parabolic cylinder functions} - -\begin{equation} -\gls{Dp} = 2^{\frac{p}{2}}e^{-\frac{z^2}{4}} -\left\{ -\frac{\surd\pi}{\Gamma\left(\frac{1-p}{2}\right)} -\Phi\left(-\frac{p}{2},\frac{1}{2};\frac{z^2}{2}\right) --\frac{\sqrt{2\pi}z}{\Gamma\left(-\frac{p}{2}\right)} -\Phi\left(\frac{1-p}{2},\frac{3}{2};\frac{z^2}{2}\right) -\right\} -\end{equation} - -\chapter{Elliptical Integral of the First Kind} - -\begin{equation} -\gls{F} = \int_0^\phi \frac{d\alpha}{\sqrt{1-k^2\sin^2\alpha}} -\end{equation} - -\chapter{Constants} - -\begin{equation} -\gls{C} = 0.577\,215\,664\,901\ldots -\end{equation} - -\begin{equation} -\gls{G} = 0.915\,965\,594\ldots -\end{equation} - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleEq.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleEqPg.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% -% To ensure that the page numbers are up-to-date: -% -% latex sampleEqPg -% makeglossaries sampleEqPg -% latex sampleEqPg -% makeglossaries sampleEqPg -% latex sampleEqPg -% -% The extra makeglossaries run is required because adding the -% glossary in the second LaTeX run shifts the page numbers on -% which means that the glossary needs to be updated again. -% (Note that this problem is avoided if the page numbering is -% reset after the glossary. For example, if the glossary has -% roman numbering and the subsequent pages have arabic numbering) -% -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass[a4paper,12pt]{report} - -\usepackage{amsmath} -\usepackage[colorlinks]{hyperref} -\usepackage[style=long3colheader,toc, - counter=equation]{glossaries} - -\newcommand{\erf}{\operatorname{erf}} -\newcommand{\erfc}{\operatorname{erfc}} - -% redefine the way hyperref creates the target for equations -% so that the glossary links to equation numbers work - -\renewcommand*\theHequation{\thechapter.\arabic{equation}} - -\renewcommand{\glossaryname}{Index of Special Functions and Notations} - -\renewcommand{\glossarypreamble}{Numbers in italic indicate the equation number, -numbers in bold indicate page numbers where the main definition occurs.\par} - -% set the glossary number style to italic -% hyperit is used instead of textit because -% the hyperref package is being used. -\renewcommand{\glsnumberformat}[1]{\hyperit{#1}} - -% 1st column heading -\renewcommand{\entryname}{Notation} - -% 2nd column heading -\renewcommand{\descriptionname}{Function Name} - -% 3rd column heading -\renewcommand{\pagelistname}{} - -% Redefine header row so that it -% adds a blank row after the title row -\renewcommand{\glossaryheader}{\bfseries\entryname & -\bfseries\descriptionname&\bfseries\pagelistname\\ -& & \\\endhead} - -% Define glossary entries - -\newglossaryentry{Gamma}{name=\ensuremath{\Gamma(z)}, -description=Gamma function,sort=Gamma} - -\newglossaryentry{gamma}{name=\ensuremath{\gamma(\alpha,x)}, -description=Incomplete gamma function,sort=gamma} - -\newglossaryentry{iGamma}{name=\ensuremath{\Gamma(\alpha,x)}, -description=Incomplete gamma function,sort=Gamma} - -\newglossaryentry{psi}{name=\ensuremath{\psi(x)}, -description=Psi function,sort=psi} - -\newglossaryentry{erf}{name=\ensuremath{\erf(x)}, -description=Error function,sort=erf} - -\newglossaryentry{erfc}{name=\ensuremath{\erfc(x)}, -description=Complementary error function,sort=erfc} - -\newglossaryentry{beta}{name=\ensuremath{B(x,y)}, -description=Beta function,sort=B} - -\newglossaryentry{Bx}{name=\ensuremath{B_x(p,q)}, -description=Incomplete beta function,sort=Bx} - -\newglossaryentry{Tn}{name=\ensuremath{T_n(x)}, -description=Chebyshev's polynomials of the first kind, -sort=Tn} - -\newglossaryentry{Un}{name=\ensuremath{U_n(x)}, -description=Chebyshev's polynomials of the second kind, -sort=Un} - -\newglossaryentry{Hn}{name=\ensuremath{H_n(x)}, -description=Hermite polynomials,sort=Hn} - -\newglossaryentry{Lna}{name=\ensuremath{L_n^\alpha(x)}, -description=Laguerre polynomials,sort=Lna} - -\newglossaryentry{Znu}{name=\ensuremath{Z_\nu(z)}, -description=Bessel functions,sort=Z} - -\newglossaryentry{Pagz}{name=\ensuremath{\Phi(\alpha,\gamma;z)}, -description=confluent hypergeometric function,sort=Pagz} - -\newglossaryentry{kv}{name=\ensuremath{k_\nu(x)}, -description=Bateman's function,sort=kv} - -\newglossaryentry{Dp}{name=\ensuremath{D_p(z)}, -description=Parabolic cylinder functions,sort=Dp} - -\newglossaryentry{Fpk}{name=\ensuremath{F(\phi,k)}, -description=Elliptical integral of the first kind,sort=Fpk} - -\newglossaryentry{C}{name=\ensuremath{C}, -description=Euler's constant,sort=C} - -\newglossaryentry{G}{name=\ensuremath{G}, -description=Catalan's constant,sort=G} - -\makeglossaries - -\pagestyle{headings} - -\begin{document} - -\title{Sample Document Using Interchangable Numbering} -\author{Nicola Talbot} -\maketitle - -\begin{abstract} -This is a sample document illustrating the use of the \textsf{glossaries} -package. The functions here have been taken from ``Tables of -Integrals, Series, and Products'' by I.S.~Gradshteyn and I.M~Ryzhik. - -The glossary lists both page numbers and equation numbers. -Since the majority of the entries use the equation number, -\texttt{counter=equation} was used as a package option. -Note that this example will only work where the -page number and equation number compositor is the same. So -it won't work if, say, the page numbers are of the form -2-4 and the equation numbers are of the form 4.6. -As most of the glossary entries should have an italic -format, it is easiest to set the default format to -italic. - -\end{abstract} - -\tableofcontents - -\printglossary[toctitle={Special Functions}] - -\chapter{Gamma Functions} - -The \glslink[format=hyperbf,counter=page]{Gamma}{gamma function} is -defined as -\begin{equation} -\gls{Gamma} = \int_{0}^{\infty}e^{-t}t^{z-1}\,dt -\end{equation} - -\begin{equation} -\glslink{Gamma}{\ensuremath{\Gamma(x+1)}} = x\Gamma(x) -\end{equation} - -\begin{equation} -\gls{gamma} = \int_0^x e^{-t}t^{\alpha-1}\,dt -\end{equation} - -\begin{equation} -\gls{iGamma} = \int_x^\infty e^{-t}t^{\alpha-1}\,dt -\end{equation} - -\newpage - -\begin{equation} -\glslink{Gamma}{\ensuremath{\Gamma(\alpha)}} = -\Gamma(\alpha, x) + \gamma(\alpha, x) -\end{equation} - -\begin{equation} -\gls{psi} = \frac{d}{dx}\ln\Gamma(x) -\end{equation} - -\chapter{Error Functions} - -The \glslink[format=hyperbf,counter=page]{erf}{error function} is defined as: -\begin{equation} -\gls{erf} = \frac{2}{\surd\pi}\int_0^x e^{-t^2}\,dt -\end{equation} - -\begin{equation} -\gls{erfc} = 1 - \erf(x) -\end{equation} - -\chapter{Beta Function} - -\begin{equation} -\gls{beta} = 2\int_0^1 t^{x-1}(1-t^2)^{y-1}\,dt -\end{equation} -Alternatively: -\begin{equation} -\gls{beta} = 2\int_0^{\frac\pi2}\sin^{2x-1}\phi\cos^{2y-1}\phi\,d\phi -\end{equation} - -\begin{equation} -\gls{beta} = \frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)} = B(y,x) -\end{equation} - -\begin{equation} -\gls{Bx} = \int_0^x t^{p-1}(1-t)^{q-1}\,dt -\end{equation} - -\chapter{Chebyshev's polynomials} - -\begin{equation} -\gls{Tn} = \cos(n\arccos x) -\end{equation} - -\begin{equation} -\gls{Un} = \frac{\sin[(n+1)\arccos x]}{\sin[\arccos x]} -\end{equation} - -\chapter{Hermite polynomials} - -\begin{equation} -\gls{Hn} = (-1)^n e^{x^2} \frac{d^n}{dx^n}(e^{-x^2}) -\end{equation} - -\chapter{Laguerre polynomials} - -\begin{equation} -\gls{Lna} = \frac{1}{n!}e^x x^{-\alpha} -\frac{d^n}{dx^n}(e^{-x}x^{n+\alpha}) -\end{equation} - -\chapter{Bessel Functions} - -Bessel functions $Z_\nu(z)$ are solutions of -\begin{equation} -\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} + \frac{1}{z}\,\frac{dZ_\nu}{dz} + -\left( -1-\frac{\nu^2}{z^2}Z_\nu = 0 -\right) -\end{equation} - -\chapter{Confluent hypergeometric function} - -\begin{equation} -\gls{Pagz} = 1 + \frac{\alpha}{\gamma}\,\frac{z}{1!} -+ \frac{\alpha(\alpha+1)}{\gamma(\gamma+1)}\,\frac{z^2}{2!} -+\frac{\alpha(\alpha+1)(\alpha+2)} - {\gamma(\gamma+1)(\gamma+2)} -\,\frac{z^3}{3!} -+ \cdots -\end{equation} - -\begin{equation} -\gls{kv} = \frac{2}{\pi}\int_0^{\pi/2} -\cos(x \tan\theta - \nu\theta)\,d\theta -\end{equation} - -\chapter{Parabolic cylinder functions} - -\begin{equation} -\gls{Dp} = 2^{\frac{p}{2}}e^{-\frac{z^2}{4}} -\left\{ -\frac{\surd\pi}{\Gamma\left(\frac{1-p}{2}\right)} -\Phi\left(-\frac{p}{2},\frac{1}{2};\frac{z^2}{2}\right) --\frac{\sqrt{2\pi}z}{\Gamma\left(-\frac{p}{2}\right)} -\Phi\left(\frac{1-p}{2},\frac{3}{2};\frac{z^2}{2}\right) -\right\} -\end{equation} - -\chapter{Elliptical Integral of the First Kind} - -\begin{equation} -\gls{Fpk} = \int_0^\phi -\frac{d\alpha}{\sqrt{1-k^2\sin^2\alpha}} -\end{equation} - -\chapter{Constants} - -\begin{equation} -\gls{C} = 0.577\,215\,664\,901\ldots -\end{equation} - -\begin{equation} -\gls{G} = 0.915\,965\,594\ldots -\end{equation} - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleEqPg.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleFnAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass[a4paper]{report} - -\usepackage[colorlinks,plainpages=false]{hyperref} -\usepackage[acronym,% create 'acronym' glossary type -% The package option "nomain" is used here to suppress the -% main glossary, since this example doesn't use it. If you -% want to use the main glossary, remove the "nomain" option. - nomain, - style=altlist, % use altlist style - toc, % add the glossary to the table of contents - ]{glossaries} - -\makeglossaries - -% Change the acronym style to a small-caps footnote style: -\setacronymstyle{footnote-sc-desc} - -% Make some minor adjustments to the style: -\renewcommand*{\acronymsort}[2]{#1}% sort by short form -\renewcommand*{\acronymentry}[1]{% - \acronymfont{\glsentryshort{#1}}\space (\glsentrylong{#1})} - -% Not using a font that supports bold smallcaps so ensure -% the acronym is always in medium weight. -\renewcommand*{\acronymfont}[1]{\textmd{\scshape #1}} - -% Change the "see" items so that they use \acronymfont: -\renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} - - -\newacronym[description={Statistical pattern recognition -technique~\protect\cite{svm}}, % acronym's description -]{svm}{svm}{support vector machine} - -\newacronym[description={Statistical pattern recognition technique -using the ``kernel trick''},% acronym's description -see={[see also]{svm}}, -]{ksvm}{ksvm}{kernel -support vector machine} - -\begin{document} -\tableofcontents - -\chapter{Support Vector Machines} - -The \gls{svm} is used widely in the area of pattern recognition. -% plural form with initial letter in uppercase: -\Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered -poor style). - -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full -version: \acrfull{svm}. Description: \glsentrydesc{svm}. - -This is the entry in uppercase: \GLS{svm}. - -\chapter{Kernel Support Vector Machines} - -The \gls{ksvm} is \ifglsused{svm}{an}{a} \gls{svm} that uses -the so called ``kernel trick''. This is the entry's description without -a link: \glsentrydesc{ksvm}. - -\glsresetall -Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this -one \gls[format=hyperbf]{svm}. - -\begin{thebibliography}{1} -\bibitem{svm} \ldots -\end{thebibliography} - -\printglossary - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleFnAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleNtn.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass{report} - -% If you want to add babel to this document, you may have to -% replace the : character in the labels if you are using a -% language setting (e.g. french) that makes : active. - -\usepackage[plainpages=false,colorlinks]{hyperref} -\usepackage{html} -\usepackage[toc,xindy]{glossaries} - -% Define a new glossary type called notation -\newglossary[nlg]{notation}{not}{ntn}{Notation} - -\makeglossaries - -% Notation definitions - -\newglossaryentry{not:set}{type=notation, % glossary type -name={$\mathcal{S}$}, -description={A set}, -sort={S}} - -\newglossaryentry{not:U}{type=notation, -name={$\mathcal{U}$}, -description={The universal set}, -sort=U} - -\newglossaryentry{not:card}{type=notation, -name={$|\mathcal{S}|$}, -description={cardinality of $\mathcal{S}$}, -sort=cardinality} - -\newglossaryentry{not:fact}{type=notation, -name={$!$}, -description={factorial}, -sort=factorial} - -% Main glossary definitions - -\newglossaryentry{gls:set}{name=set, -description={A collection of distinct objects}} - -\newglossaryentry{gls:card}{name=cardinality, -description={The number of elements in the specified set}} - -\begin{document} -\title{Sample Document using the glossaries Package} -\author{Nicola Talbot} -\pagenumbering{alph} -\maketitle - -\begin{abstract} -%stop hyperref complaining about duplicate page identifiers: -\pagenumbering{Alph} -This is a sample document illustrating the use of the -\textsf{glossaries} package. In this example, a new glossary type -called \texttt{notation} is defined, so that the document can have a -separate glossary of terms and index of notation. The index of notation -doesn't have associated numbers. -\end{abstract} - - -\pagenumbering{roman} -\tableofcontents - -\printglossaries - -\chapter{Introduction} -\pagenumbering{arabic} - -\Glspl{gls:set} are denoted by a calligraphic font -e.g.\ \gls{not:set}. - -Let \gls[format=hyperit]{not:U} denote the universal set. - -The \gls{gls:card} of a set $\mathcal{S}$ is denoted -\gls{not:card}. - -\chapter{Another Chapter} - -Another mention of the universal set \gls{not:U}. - -The factorial symbol: \gls{not:fact}. - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleNtn.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplePeople.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you are using arara, you need the following directives: -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[toc,style=listgroup]{glossaries} - -\makeglossaries - -\newcommand{\sortname}[2]{#2, #1} -\newcommand{\textname}[2]{#1 #2} - -% Syntax: \name{first name}{surname} - \let\name\textname - -\renewcommand{\glsprestandardsort}[3]{% - \let\name\sortname - \edef#1{\expandafter\expandonce\expandafter{#1}}% - \let\name\textname - \glsdosanitizesort -} - -\newglossaryentry{joebloggs}{name={\name{Joe}{Bloggs}},description={\nopostdesc}} - -\newglossaryentry{johnsmith}{name={\name{John}{Smith}},description={\nopostdesc}} - -\newglossaryentry{zoeadams}{name={\name{Zo\'e}{Adams}},description={\nopostdesc}} - -\newglossaryentry{maryadams}{name={\name{Mary}{Adams}},description={\nopostdesc}} - -\begin{document} -\tableofcontents - -\chapter{\glsentrytext{joebloggs}} - -\gls{joebloggs} was a fairly ordinary person. - -\chapter{\glsentrytext{johnsmith}} - -\gls{johnsmith} was great friends with \gls{joebloggs}. - -\chapter{\glsentrytext{maryadams}} - -\gls{maryadams} worked with \gls{johnsmith} but never met -\gls{joebloggs}. - -\chapter{\glsentrytext{zoeadams}} - -\gls{zoeadams} was \gls{maryadams}['s] sister. -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</samplePeople.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleSec.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[plainpages=false,colorlinks]{hyperref} -\usepackage[style=altlist,toc,counter=section]{glossaries} - -\makeglossaries - -\newglossaryentry{ident}{name=identity matrix, -description=diagonal matrix with 1s along the leading diagonal, -plural=identity matrices} - -\newglossaryentry{diag}{name=diagonal matrix, -description=matrix whose only non-zero entries are along -the leading diagonal, -plural=diagonal matrices} - -\newglossaryentry{sing}{name=singular matrix, -description=matrix with zero determinant, -plural=singular matrices} - -\begin{document} - -\pagenumbering{roman} -\tableofcontents - -\printglossaries - -\chapter{Introduction} -\pagenumbering{arabic} -This is a sample document illustrating the use of the -\textsf{glossaries} package. - -\chapter{Diagonal matrices} - -A \gls[format=hyperit]{diag} is a matrix where all elements not on the -leading diagonal are zero. This is the -primary definition, so an italic font is used for the page number. - -\newpage -\section{Identity matrix} -The \gls[format=hyperit]{ident} is a \gls{diag} whose leading -diagonal elements are all equal to 1. - -Here is another entry for a \gls{diag}. And this is the -plural: \glspl{ident}. - -This adds an entry into the glossary with a bold number, but -it doesn't create a hyperlink: \gls*[format=hyperbf]{ident}. - -\chapter{Singular Matrices} - -A \gls{sing} is a matrix with zero determinant. -\Glspl{sing} are non-invertible. Possessive: -a \gls{sing}['s] dimensions are not necessarily equal. - -Another \gls{ident} entry. - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleSec.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleSort.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -% arara: pdflatex: { synctex: on } -\documentclass{report} - -% If you want to add babel to this document, you may have to -% replace the : character in the labels if you are using a -% language setting (e.g. french) that makes : active. - -\usepackage[plainpages=false,colorlinks]{hyperref} -\usepackage[toc,acronym]{glossaries} - -% Define a new glossary type called notation -\newglossary[nlg]{notation}{not}{ntn}{Notation} - -\makeglossaries - -\newcounter{sortcount} - -\renewcommand{\glsprestandardsort}[3]{% - \ifdefstring{#2}{notation}% - {% - \stepcounter{sortcount}% - \edef#1{\glssortnumberfmt{\arabic{sortcount}}}% - }% - {% - \glsdosanitizesort - }% -} - -% Notation definitions - -\newglossaryentry{not:set}{type=notation, % glossary type -name={$\mathcal{S}$}, -text={\mathcal{S}}, -description={A set}} - -\newglossaryentry{not:emptyset}{type=notation, -name={$\emptyset$}, -text={\emptyset}, -description={The empty set}} - -\newglossaryentry{not:card}{type=notation, -name={$|\mathcal{S}|$}, -text={|\mathcal{S}|}, -description={cardinality of $\mathcal{S}$}} - -% Main glossary definitions - -\newglossaryentry{gls:set}{name=set, -description={A collection of distinct objects}} - -\newglossaryentry{gls:card}{name=cardinality, -description={The number of elements in the specified set}} - -% Acronym definitions - -\newacronym{zfc}{ZFC}{Zermelo-Fraenkel set theory} - -\newacronym{ad}{AD}{axiom of determinacy} - -\newacronym{nf}{NF}{new foundations} - -\begin{document} -\title{Sample Document using the glossaries Package} -\author{Nicola Talbot} -\pagenumbering{alph} -\maketitle - -\begin{abstract} -%stop hyperref complaining about duplicate page identifiers: -\pagenumbering{Alph} -This is a sample document illustrating the use of the -\textsf{glossaries} package. In this example, a new glossary type -called \texttt{notation} is defined, so that the document can have a -separate glossary of terms, list of acronyms and index of notation. -\end{abstract} - - -\pagenumbering{roman} -\tableofcontents - -\printglossaries - -\chapter{Introduction} -\pagenumbering{arabic} - -\Glspl{gls:set} are denoted by a calligraphic font -e.g.\ $\gls{not:set}$. - -The \gls{gls:card} of a set $\mathcal{S}$ is denoted -$\gls{not:card}$. The empty set is denoted -$\gls{not:emptyset}$. - -Here are some acronyms: \gls{nf}, \gls{zfc} and \gls{ad}. - -\chapter{Another Chapter} - -Another mention of the empty set $\gls{not:emptyset}$. - -Here are the acronyms again: \gls{nf}, \gls{zfc} and \gls{ad}. - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleSort.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampletree.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[colorlinks]{hyperref} -\usepackage[style=alttreehypergroup,nolong,nosuper]{glossaries} - -% The alttree type of glossary styles need to know the -% widest entry name for each level -\glssetwidest{Roman letters} % level 0 widest name -\glssetwidest[1]{Sigma} % level 1 widest name - -\makeglossaries - -\newglossaryentry{greekletter}{name={Greek letters}, -text={Greek letter}, -description={\nopostdesc}} - -\newglossaryentry{sigma}{name={Sigma}, -text={\ensuremath{\Sigma}}, -first={\ensuremath{\Sigma} (uppercase sigma)}, -symbol={\ensuremath{\Sigma}}, -description={Used to indicate summation}, -parent=greekletter} - -\newglossaryentry{pi}{name={pi}, -text={\ensuremath{\pi}}, -first={\ensuremath{\pi} (lowercase pi)}, -symbol={\ensuremath{\pi}}, -description={Transcendental number}, -parent=greekletter} - -\newglossaryentry{romanletter}{name={Roman letters}, -text={Roman letter}, -description={\nopostdesc}} - -\newglossaryentry{e}{name={e}, -description={Unique real number such that the derivative of -the function $e^x$ is the function itself}, -parent=romanletter} - -\newglossaryentry{C}{name={C}, -description={Euler's constant}, -parent=romanletter} - -\begin{document} -This is a sample document illustrating hierarchical glossary -entries. - -\chapter{Greek Letters Used in Mathematics} - -Some information about \glspl{greekletter}. -The letter \gls{pi} is used to represent the ratio of a circle's -circumference to its diameter. -The letter \gls{sigma} is used to represent summation. - -\chapter{Roman Letters Used in Mathematics} - -Some information about \glspl{romanletter}. -The letter \gls{e} is the unique real number such that -the derivative of the function $e^x$ is the function itself. -The letter \gls{C} represents Euler's constant. - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampletree.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleutf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[xindy,nonumberlist,style=listgroup]{glossaries} - -\makeglossaries - -% Note that because the é is the first letter of the -% name, it needs to be grouped or it will cause a -% problem for \makefirstuc due to expansion issues. -\newglossaryentry{elite}{name={{é}lite}, -description={select group or class}} - -\newglossaryentry{elephant}{name=elephant, -description={large animal with trunk and tusks}} - -\newglossaryentry{elk}{name=elk, -description=large deer} - -\newglossaryentry{mannerly}{name=mannerly, -description=polite} - -% The œ is not the first letter, so it doesn't need to -% be grouped. -\newglossaryentry{manoeuvre}{name={manœuvre}, -description=planned and controlled movement} - -\newglossaryentry{manor}{name=manor, -description=large landed estate or its house} - -\newglossaryentry{odometer}{name=odometer, -description=instrument for measuring distance travelled by -a wheeled vehicle} - -\newglossaryentry{oesophagus}{name={{œ}sophagus}, -plural={{œ}sophagi}, -description={canal from mouth to stomach}} - -\newglossaryentry{ogre}{name=ogre, -description=man-eating giant} - -\begin{document} -\glsaddall - -\printglossaries - -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</sampleutf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain. -% -% This is a sample document illustrating how to use the -% glossaries package with xindy. To create the document: -% -% latex samplexdy -% makeglossaries samplexdy -% latex samplexdy -% -% If you don't have Perl installed, then use one of the -% following instead of makeglossaries: -% -% If you want to have a separate "Mc" letter group do: -% -% xindy -I xindy -M samplexdy-mc -t samplexdy.glg -o samplexdy.gls samplexdy.glo -% -% Otherwise do: -% -% xindy -L english -C utf8 -I xindy -M samplexdy -t samplexdy.glg -o samplexdy.gls samplexdy.glo -% -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{article} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[notext,notextcomp]{stix} - -\usepackage[colorlinks,plainpages]{hyperref} -\usepackage[xindy,style=altlistgroup]{glossaries} - -% Define a new command to do bold italic: - -\newcommand*{\hyperbfit}[1]{\textit{\hyperbf{#1}}} - -% Need to add this to the list of attributes in order -% to use it with xindy: -% (This command will have no effect if \noist is used) - -\GlsAddXdyAttribute{hyperbfit} - -% Redefine the page numbers to a custom format (requires stix -% package for the dice commands): - -% \tallynum{n} displays a die or dice where the dots add up to n -\newrobustcmd{\tallynum}[1]{% - \ifnum\number#1<7 - $\csname dice\romannumeral#1\endcsname$% - \else - $\dicevi$% - \expandafter\tallynum\expandafter{\numexpr#1-6}% - \fi -} - -% \tally{counter} expands to \tallynum{n} where n is the counter -% value. In order to work with glossaries and xindy this requires -% a very specific format. (See the glossaries user manual for more -% details.) - -\newcommand{\tally}[1]{\tallynum{\arabic{page}}} - -% Now redefine \thepage -% (\texorpdfstring is used in case the page number ends up in a PDF -% bookmark, although this is unlikely) -\renewcommand*{\thepage}{\texorpdfstring{\tally{page}}{\arabic{page}}} - -% Need to add this to the list of location styles. -% This requires knowing how \thepage expands when written to a file. -% You can check by inspecting the ':locref' attributes in the .glo -% file. In this case, \thepage expands to \tallynum {n} -% (the space is significant) where n is an arabic number. -% (This command will have no effect if \noist is used) - -\GlsAddXdyLocation{tally}{% tally location format - :sep "\string\tallynum\space\glsopenbrace" % -> \tallynum { - "arabic-numbers" % -> arabic number (0, 1, 2, etc) - :sep "\glsclosebrace" % -> } -} - -% If the definition of \tally changes so that it expands to -% something slightly different then the above will have to be -% changed accordingly. - -% (Need to redefine \glsXpageXhyperbfit and -% \glsXpageXglsnumberformat after \makeglossaries to get the -% hyperlinks working correctly.) - -% To have Mc as a separate group uncomment the following three -% lines: - -%\setStyleFile{samplexdy-mc} % note no extension -%\noist -%\GlsSetXdyLanguage{} - -% The above three lines specify to use samplexdy-mc.xdy (supplied -% with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language -% dependent information is contained in samplexdy-mc.xdy -% Note that using \noist means that commands like -% \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have -% an effect. - -% Write the style file (if \noist isn't used) -% and activate glossary entries - -\makeglossaries - -% Each page location will be specified in the form: -% -% "\glsXpageXglsnumberformat{}{\tallynum {" number "}}" -% or -% "\glsXpageXhyperbfit{}{\tallynum {" number "}}" -% -% Knowing this, we can redefine \glsXpageXglsnumberformat -% and \glsXpageXhyperbfit to grab the number part to work out the -% location's numeric value. If the definition of \tally changes -% so that it expands to something slightly different then this -% code will no longer work. -% -% Redefine to allow hyperlinks: - -\renewcommand{\glsXpageXglsnumberformat}[2]{% - % remember that #2 is in the form \tallynum {n} - % so this does \linkpagenumber\tallynum{n} - \linkpagenumber#2% -} - -\renewcommand{\glsXpageXhyperbfit}[2]{% - \textbf{\em\linkpagenumber#2}% -} - -% Syntax: \linkpagenumber\tallynum{page number} -% This creates hyperlink to the given page. -\newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} - -% Define glossary entries -% \glshyperlink is used instead of \gls to prevent the glossary -% page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the -% glossary via commands that use \glslink, \glsadd or \glssee - -\newglossaryentry{mcadam}{name={McAdam, John Loudon}, -first={John Loudon McAdam},text={McAdam}, -description={Scottish engineer}} - -\newglossaryentry{maclaurin}{name={Maclaurin, Colin}, -first={Colin Maclaurin},text={Maclaurin}, -description={Scottish mathematician best known for the -\gls{maclaurinseries}}} - -\newglossaryentry{maclaurinseries}{name={Maclaurin series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylorstheorem}{name={Taylor's theorem}, -description={Theorem expressing a function $f(x)$ as the sum of -a polynomial and a remainder: -\[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] -If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a -\gls{maclaurinseries}}} - -\newglossaryentry{taylorseries}{name={Taylor series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylor}{name={Taylor, Brook}, -first={Brook Taylor},text={Taylor}, -description={English mathematician}} - -\newglossaryentry{mcnemar}{name={McNemar, Quinn}, -first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced -\gls{mcnemarstest}. This entry has the number list -suppressed},nonumberlist} - -\newglossaryentry{mcnemarstest}{name={McNemar's test}, -description={A nonparametric test introduced by -\gls{mcnemar} in 1947}} - -\newglossaryentry{mach}{name={Mach, Ernst}, -first={Ernst Mach},text={Mach}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach, Ernst}, -description={Czech/Austrian physicist and philosopher}} - -\newglossaryentry{machnumber}{name={Mach number}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach number}, -description={Ratio of the speed of a body in a fluid to the -speed of sound in that fluid named after \gls{mach}}} - -\newglossaryentry{malthus}{name={Malthus, Thomas Robert}, -first={Thomas Robert Malthus},text={Malthus}, -description={English mathematician, sociologist and classicist}} - -\newglossaryentry{ampereandre}{name={Ampère, André-Marie}, -first={André-Marie Ampère},text={Ampère}, -description={French mathematician and physicist}} - -\newglossaryentry{ampere}{name={ampere}, -description={SI unit of electric current named after -\gls{ampereandre}}} - -\newglossaryentry{archimedes}{name={Archimedes of Syracuse}, -first={Archimedes of Syracuse},text={Archimedes}, -description={Greek mathematician}} - -\newglossaryentry{archimedesprinciple}{name={Archimedes' principle}, -description={Principle that if a body is submerged in a fluid -it experiences upthrust equal to the weight of the displaced -fluid. Named after \gls{archimedes}}} - -\newglossaryentry{galton}{name={Galton, Sir Francis}, -first={Sir Francis Galton},text={Galton}, -description={English anthropologist}} - -\newglossaryentry{gauss}{name={Gauss, Karl Friedrich}, -first={Karl Friedrich Gauss},text={Gauss}, -description={German mathematician}} - -\newglossaryentry{gaussianint}{name={Gaussian integer}, -description={Complex number where both real and imaginary -parts are integers}} - -\newglossaryentry{gaussianfn}{name={Gaussian function}, - description={A function of the form: - \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\] - for some constants $a$, $b$ and $c$}} - -\newglossaryentry{peano}{name={Peano, Giuseppe}, -first={Giuseppe Peano},text={Peano}, -description={Italian mathematician}} - -\newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by -\gls{peano}}} - -\newglossaryentry{pearson}{name={Pearson, Karl}, -first={Karl Pearson},text={Pearson}, -description={English mathematician}} - -\newglossaryentry{pearspmcc}{name={Pearson's product moment -correlation coefficient},description={Product moment correlation -coefficient named after \gls{pearson}}} - -\begin{document} -\title{Sample Document Using the Glossaries Package With Xindy} -\author{Nicola Talbot} -\maketitle - -\section{\glsentryfirst{gauss}} - -This is a section on \gls[format=(]{gauss}. This section spans -several pages. - -\rule{1pt}{0.6\textheight} - -This paragraph has been shoved to the bottom of the page using a rule. -This paragraph spans a page break for testing purposes to ensure the -glossary entry in this paragraph has the correct location. Here's -the glossary entry: \gls{gaussianfn}. Check that the location is -correct. - -This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is -used. - -\newpage - -The section on \gls[format=)]{gauss} ends here. - -\section{Series Expansions} - -This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses -\gls{taylorstheorem} which is related to the \gls{taylorseries}. -The \gls{maclaurinseries} is a special case of the -\gls{taylorseries}. - -\section{\glsentryname{archimedesprinciple}} - -This section discusses \gls{archimedesprinciple} which was -introduced by \gls{archimedes}. - -\section{Another section} - -This section covers \gls{mach} who introduced the \gls{machnumber}. -It also mentions \gls{ampereandre} after whom the -SI unit \gls{ampere} is named. It then discusses \gls{galton} -and \gls{malthus}. Finally it mentions \gls{mcadam}. - -\newpage -This page discusses \gls{mcnemar} who introduced -\gls{mcnemarstest} and \gls{peano} who discovered \gls{peanoscurve}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</samplexdy.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain -% -% This is a sample document illustrating how to use the -% glossaries package with xindy. To create the document: -% -% pdflatex samplexdy2 -% makeglossaries samplexdy2 -% pdflatex samplexdy2 -% -% This sample file won't work with makeindex -% -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } -\documentclass{report} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[colorlinks]{hyperref} -\usepackage[xindy,counter=section]{glossaries} - -% Set up somewhat eccentric section numbering system: - -\renewcommand*{\thesection}{[\thechapter]\arabic{section}} - -\renewcommand*{\theHsection}{\thepart.\thesection} -\renewcommand*{\thepart}{\Roman{part}} - -\GlsAddXdyLocation["roman-numbers-uppercase"]{section}{:sep "[" - "arabic-numbers" :sep "]" "arabic-numbers" -} - -% If part is 0, then \thepart will be empty, so add an extra -% case to catch this: - -\GlsAddXdyLocation{zero.section}{:sep "[" - "arabic-numbers" :sep "]" "arabic-numbers" -} - -% (Note that the above will stop xindy giving a warning, but the -% location hyper links will be invalid if no \part is used.) - -\makeglossaries - -\newglossaryentry{sample}{name=sample,description={an example}} -\newglossaryentry{sample2}{name=sample2,description={another example}} - -\begin{document} -This is a sample document illustrating Xindy specific commands in -the glossaries package. - -\part{First Part} - -\chapter{Sample Chapter} -This example document has an eccentric section numbering system -where the section number is prefixed by the chapter number in square -brackets. - -\section{First Section} - -\gls{sample}. \gls{sample2}. - -\section{Second Section} - -\gls{sample2}. - -\section{Third Section} - -\gls{sample}. \gls{sample2}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</samplexdy2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy3.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<<COMMENT -% This file is public domain. -% -% This is a sample document illustrating how to use the -% glossaries package with xindy. To create the document: -% -% latex samplexdy -% makeglossaries samplexdy -% latex samplexdy -% -% If you don't have Perl installed, then use one of the -% following instead of makeglossaries: -% -% If you want to have a separate "Mc" letter group do: -% -% xindy -I xindy -M samplexdy-mc -t samplexdy.glg -o samplexdy.gls samplexdy.glo -% -% Otherwise do: -% -% xindy -L english -C utf8 -I xindy -M samplexdy -t samplexdy.glg -o samplexdy.gls samplexdy.glo -% -% If you want to use arara, you need the following directives: -% arara: pdflatex: { synctex: on } -% arara: makeglossaries -% arara: pdflatex: { synctex: on } - \documentclass{article} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{fmtcount} - -\usepackage[colorlinks,plainpages]{hyperref} -\usepackage[xindy,style=altlistgroup]{glossaries} - -% Define a new command to do bold italic: - -\newcommand*{\hyperbfit}[1]{\textit{\hyperbf{#1}}} - -% Need to add this to the list of attributes in order -% to use it with xindy: -% (This command will have no effect if \noist is used) - -\GlsAddXdyAttribute{hyperbfit} - -% Redefine the page numbers so that they appear as a word: - -\renewcommand*{\thepage}{\texorpdfstring{\customfmt{page}}{\arabic{page}}} - -\newcommand{\customfmt}[1]{\customfmtnum{\arabic{#1}}} -\newrobustcmd{\customfmtnum}[1]{\Numberstringnum{#1}} - -% Need to add this to the list of location styles. -% \customfmt{page} gets expanded to -% \custommfmtnum {<n>} (where <n> is the page number) -% so need to define the location in that format: -% (This command will have no effect if \noist is used) - -\GlsAddXdyLocation{customfmt}{:sep "\string\customfmtnum\space\glsopenbrace" - "arabic-numbers" :sep "\glsclosebrace"} - -% (Need to redefine \glsXpageXhyperbfit and -% \glsXpageXglsnumberformat after \makeglossaries to get the -% hyperlinks working correctly.) - -% To have Mc as a separate group uncomment the following three -% lines: - -%\setStyleFile{samplexdy-mc} % note no extension -%\noist -%\GlsSetXdyLanguage{} - -% The above three lines specify to use samplexdy-mc.xdy (supplied -% with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language -% dependent information is contained in samplexdy-mc.xdy -% Note that using \noist means that commands like -% \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have -% an effect. - -% Write the style file (if \noist isn't used) -% and activate glossary entries - -\makeglossaries - -% Each page location will be specified in the form: -% -% "\glsXpageXglsnumberformat{}{\customfmtnum "\marg{n}"}" -% or -% "\glsXpageXhyperbfit{}{\customfmtnum "\marg{n}"}" -% -% Redefine to allow hyperlinks: - -\renewcommand{\glsXpageXglsnumberformat}[2]{% - \linkpagenumber#2% -} - -\renewcommand{\glsXpageXhyperbfit}[2]{% - \textbf{\em\linkpagenumber#2}% -} - -% The arguments of \linkpagenumber will be -% #1 -> \customfmtnum -% #2 -> n -% This means that the page number (n) can be used to -% form the hyperlink target. -\newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} - -% Define glossary entries -% \glshyperlink is used instead of \gls to prevent the glossary -% page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the -% glossary via commands that use \glslink, \glsadd or \glssee - -\newglossaryentry{mcadam}{name={McAdam, John Loudon}, -first={John Loudon McAdam},text={McAdam}, -description={Scottish engineer}} - -\newglossaryentry{maclaurin}{name={Maclaurin, Colin}, -first={Colin Maclaurin},text={Maclaurin}, -description={Scottish mathematician best known for the -\gls{maclaurinseries}}} - -\newglossaryentry{maclaurinseries}{name={Maclaurin series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylorstheorem}{name={Taylor's theorem}, -description={Theorem expressing a function $f(x)$ as the sum of -a polynomial and a remainder: -\[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] -If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a -\gls{maclaurinseries}}} - -\newglossaryentry{taylorseries}{name={Taylor series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylor}{name={Taylor, Brook}, -first={Brook Taylor},text={Taylor}, -description={English mathematician}} - -\newglossaryentry{mcnemar}{name={McNemar, Quinn}, -first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced -\gls{mcnemarstest}. This entry has the number list -suppressed},nonumberlist} - -\newglossaryentry{mcnemarstest}{name={McNemar's test}, -description={A nonparametric test introduced by -\gls{mcnemar} in 1947}} - -\newglossaryentry{mach}{name={Mach, Ernst}, -first={Ernst Mach},text={Mach}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach, Ernst}, -description={Czech/Austrian physicist and philosopher}} - -\newglossaryentry{machnumber}{name={Mach number}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach number}, -description={Ratio of the speed of a body in a fluid to the -speed of sound in that fluid named after \gls{mach}}} - -\newglossaryentry{malthus}{name={Malthus, Thomas Robert}, -first={Thomas Robert Malthus},text={Malthus}, -description={English mathematician, sociologist and classicist}} - -\newglossaryentry{ampereandre}{name={Ampère, André-Marie}, -first={André-Marie Ampère},text={Ampère}, -description={French mathematician and physicist}} - -\newglossaryentry{ampere}{name={ampere}, -description={SI unit of electric current named after -\gls{ampereandre}}} - -\newglossaryentry{archimedes}{name={Archimedes of Syracuse}, -first={Archimedes of Syracuse},text={Archimedes}, -description={Greek mathematician}} - -\newglossaryentry{archimedesprinciple}{name={Archimedes' principle}, -description={Principle that if a body is submerged in a fluid -it experiences upthrust equal to the weight of the displaced -fluid. Named after \gls{archimedes}}} - -\newglossaryentry{galton}{name={Galton, Sir Francis}, -first={Sir Francis Galton},text={Galton}, -description={English anthropologist}} - -\newglossaryentry{gauss}{name={Gauss, Karl Friedrich}, -first={Karl Friedrich Gauss},text={Gauss}, -description={German mathematician}} - -\newglossaryentry{gaussianint}{name={Gaussian integer}, -description={Complex number where both real and imaginary -parts are integers}} - -\newglossaryentry{gaussianfn}{name={Gaussian function}, - description={A function of the form: - \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\] - for some constants $a$, $b$ and $c$}} - -\newglossaryentry{peano}{name={Peano, Giuseppe}, -first={Giuseppe Peano},text={Peano}, -description={Italian mathematician}} - -\newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by -\gls{peano}}} - -\newglossaryentry{pearson}{name={Pearson, Karl}, -first={Karl Pearson},text={Pearson}, -description={English mathematician}} - -\newglossaryentry{pearspmcc}{name={Pearson's product moment -correlation coefficient},description={Product moment correlation -coefficient named after \gls{pearson}}} - -\begin{document} -\title{Sample Document Using the Glossaries Package With Xindy} -\author{Nicola Talbot} -\maketitle - -\section{\glsentryfirst{gauss}} - -This is a section on -\gls[format=(]{gauss}. This section spans -several pages. - -\rule{1pt}{0.6\textheight} - -This paragraph has been shoved to the bottom of the page using a rule. -This paragraph spans a page break for testing purposes to ensure the -glossary entry in this paragraph has the correct location. Here's -the glossary entry: \gls{gaussianfn}. - -This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is -used. - -\newpage - -The section on \gls[format=)]{gauss} ends here. - -\section{Series Expansions} - -This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses -\gls{taylorstheorem} which is related to the \gls{taylorseries}. -The \gls{maclaurinseries} is a special case of the -\gls{taylorseries}. - -\section{\glsentryname{archimedesprinciple}} - -This section discusses \gls{archimedesprinciple} which was -introduced by \gls{archimedes}. - -\section{Another section} - -This section covers \gls{mach} who introduced the \gls{machnumber}. -It also mentions \gls{ampereandre} after whom the -SI unit \gls{ampere} is named. It then discusses \gls{galton} -and \gls{malthus}. Finally it mentions \gls{mcadam}. - -\newpage -This page discusses \gls{mcnemar} who introduced -\gls{mcnemarstest} and \gls{peano} who discovered \gls{peanoscurve}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</samplexdy3.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-acr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\setacronymstyle{short-long-desc} - -\newacronym[description={a device that emits a narrow beam of -light}]{laser}{laser}{light amplification by stimulated -emission of radiation} - -\begin{document} - -First use: \gls{laser}. - -Next use: \gls{laser} or \glspl{laser}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</mwe-acr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-acr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\setacronymstyle{long-short} - -\newacronym{laser}{laser}{light amplification by stimulated -emission of radiation} - -\begin{document} - -First use: \gls{laser}. - -Next use: \gls{laser} or \glspl{laser}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</mwe-acr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-gls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\newglossaryentry{apple}{name={apple},description={a fruit}} - -\begin{document} - -\Gls{apple} or \gls{apple} or \glspl{apple}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</mwe-gls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy-mc.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -;; xindy style file for samplexdy.tex that has Mc letter group - -(define-letter-group "A" :prefixes ("")) -(define-letter-group "B" :after "A" :prefixes ("")) -(define-letter-group "C" :after "B" :prefixes ("")) -(define-letter-group "D" :after "C" :prefixes ("")) -(define-letter-group "E" :after "D" :prefixes ("")) -(define-letter-group "F" :after "E" :prefixes ("")) -(define-letter-group "G" :after "F" :prefixes ("")) -(define-letter-group "H" :after "G" :prefixes ("¤")) -(define-letter-group "I" :after "H" :prefixes ("¨")) -(define-letter-group "J" :after "I" :prefixes ("¬")) -(define-letter-group "K" :after "J" :prefixes ("®")) -(define-letter-group "L" :after "K" :prefixes ("´")) -(define-letter-group "Mc" :after "L" :prefixes ("»")) -(define-letter-group "M" :after "Mc" :prefixes ("»")) -(define-letter-group "N" :after "M" :prefixes ("¼")) -(define-letter-group "O" :after "N" :prefixes ("Ã")) -(define-letter-group "P" :after "O" :prefixes ("È")) -(define-letter-group "Q" :after "P" :prefixes ("Ê")) -(define-letter-group "R" :after "Q" :prefixes ("Ë")) -(define-letter-group "S" :after "R" :prefixes ("Ð")) -(define-letter-group "T" :after "S" :prefixes ("Ú")) -(define-letter-group "U" :after "T" :prefixes ("à")) -(define-letter-group "V" :after "U" :prefixes ("å")) -(define-letter-group "W" :after "V" :prefixes ("æ")) -(define-letter-group "X" :after "W" :prefixes ("ë")) -(define-letter-group "Y" :after "X" :prefixes ("í")) -(define-letter-group "È" :after "Y" :prefixes ("ï")) -(define-letter-group "Z" :after "È" :prefixes ("ð")) -(define-letter-group "Ã" :after "Z" :prefixes ("ö")) -(define-letter-group "Æ¿" :after "Ã" :prefixes ("÷")) - -(define-rule-set "en-alphabetize" - - :rules (("à " "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("æ" "" :string) - ("Ã" "" :string) - ("ç" "" :string) - ("ð" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("è" "" :string) - ("ë" "" :string) - ("ê" "" :string) - ("é" "" :string) - ("Ã" "¨" :string) - ("ï" "¨" :string) - ("Ã" "¼" :string) - ("ñ" "¼" :string) - ("Ã" "Ã" :string) - ("Ã" "Ã" :string) - ("ô" "Ã" :string) - ("ö" "Ã" :string) - ("Å" "Ã" :string) - ("Å" "Ã" :string) - ("È" "ï" :string) - ("È" "ï" :string) - ("þ" "ö" :string) - ("Ã" "ö" :string) - ("Ç·" "÷" :string) - ("Æ¿" "÷" :string) - ("a" "" :string) - ("A" "" :string) - ("b" "" :string) - ("B" "" :string) - ("C" "" :string) - ("c" "" :string) - ("d" "" :string) - ("D" "" :string) - ("E" "" :string) - ("e" "" :string) - ("F" "" :string) - ("f" "" :string) - ("g" "" :string) - ("G" "" :string) - ("H" "¤" :string) - ("h" "¤" :string) - ("I" "¨" :string) - ("i" "¨" :string) - ("J" "¬" :string) - ("j" "¬" :string) - ("K" "®" :string) - ("k" "®" :string) - ("L" "´" :string) - ("l" "´" :string) - ("Mc" "»" :string) - ("Mac" "»" :string) - ("M" "»" :string) - ("m" "»" :string) - ("N" "¼" :string) - ("n" "¼" :string) - ("O" "Ã" :string) - ("o" "Ã" :string) - ("P" "È" :string) - ("p" "È" :string) - ("q" "Ê" :string) - ("Q" "Ê" :string) - ("r" "Ë" :string) - ("R" "Ë" :string) - ("S" "Ð" :string) - ("s" "Ð" :string) - ("T" "Ú" :string) - ("t" "Ú" :string) - ("u" "à" :string) - ("U" "à" :string) - ("v" "å" :string) - ("V" "å" :string) - ("w" "æ" :string) - ("W" "æ" :string) - ("X" "ë" :string) - ("x" "ë" :string) - ("Y" "í" :string) - ("y" "í" :string) - ("z" "ð" :string) - ("Z" "ð" :string) - )) - -(define-rule-set "en-resolve-diacritics" - - :rules (("È" "¢" :string) - ("þ" "¢" :string) - ("Ç·" "¢" :string) - ("Ã" "¢" :string) - ("È" "¢" :string) - ("Æ¿" "¢" :string) - ("Ã" "£" :string) - ("Ã" "£" :string) - ("ð" "£" :string) - ("Ã" "£" :string) - ("Ã" "£" :string) - ("Ã" "£" :string) - ("ï" "£" :string) - ("ö" "£" :string) - ("ñ" "£" :string) - ("ç" "£" :string) - ("à " "£" :string) - ("Ã" "£" :string) - ("é" "£" :string) - ("Ã" "£" :string) - ("Ã" "¤" :string) - ("ô" "¤" :string) - ("Ã" "¤" :string) - ("è" "¤" :string) - ("Ã" "¥" :string) - ("ë" "¥" :string) - ("Ã" "¦" :string) - ("ê" "¦" :string) - ("Å" "ÿ" :string) - ("Ã" "ÿ" :string) - ("Å" "ÿ" :string) - ("æ" "ÿ" :string) - ("S" "¢" :string) - ("K" "¢" :string) - ("d" "¢" :string) - ("Y" "¢" :string) - ("E" "¢" :string) - ("y" "¢" :string) - ("g" "¢" :string) - ("e" "¢" :string) - ("J" "¢" :string) - ("q" "¢" :string) - ("D" "¢" :string) - ("b" "¢" :string) - ("z" "¢" :string) - ("w" "¢" :string) - ("Q" "¢" :string) - ("M" "¢" :string) - ("C" "¢" :string) - ("L" "¢" :string) - ("X" "¢" :string) - ("P" "¢" :string) - ("T" "¢" :string) - ("a" "¢" :string) - ("N" "¢" :string) - ("j" "¢" :string) - ("Z" "¢" :string) - ("u" "¢" :string) - ("k" "¢" :string) - ("t" "¢" :string) - ("W" "¢" :string) - ("v" "¢" :string) - ("s" "¢" :string) - ("B" "¢" :string) - ("H" "¢" :string) - ("c" "¢" :string) - ("I" "¢" :string) - ("G" "¢" :string) - ("U" "¢" :string) - ("F" "¢" :string) - ("r" "¢" :string) - ("x" "¢" :string) - ("V" "¢" :string) - ("h" "¢" :string) - ("f" "¢" :string) - ("i" "¢" :string) - ("A" "¢" :string) - ("O" "¢" :string) - ("n" "¢" :string) - ("m" "¢" :string) - ("l" "¢" :string) - ("p" "¢" :string) - ("R" "¢" :string) - ("o" "¢" :string) - )) - -(define-rule-set "en-resolve-case" - - :rules (("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ç·" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("È" "8" :string) - ("Ã" "8" :string) - ("Ã" "89" :string) - ("Å" "89" :string) - ("ð" "9" :string) - ("ô" "9" :string) - ("È" "9" :string) - ("ï" "9" :string) - ("ö" "9" :string) - ("ñ" "9" :string) - ("ç" "9" :string) - ("à " "9" :string) - ("þ" "9" :string) - ("è" "9" :string) - ("ë" "9" :string) - ("ê" "9" :string) - ("é" "9" :string) - ("Æ¿" "9" :string) - ("Å" "99" :string) - ("æ" "99" :string) - ("S" "8" :string) - ("K" "8" :string) - ("Y" "8" :string) - ("E" "8" :string) - ("J" "8" :string) - ("D" "8" :string) - ("Q" "8" :string) - ("M" "8" :string) - ("C" "8" :string) - ("L" "8" :string) - ("X" "8" :string) - ("P" "8" :string) - ("T" "8" :string) - ("N" "8" :string) - ("Z" "8" :string) - ("W" "8" :string) - ("B" "8" :string) - ("H" "8" :string) - ("I" "8" :string) - ("G" "8" :string) - ("U" "8" :string) - ("F" "8" :string) - ("V" "8" :string) - ("A" "8" :string) - ("O" "8" :string) - ("R" "8" :string) - ("d" "9" :string) - ("y" "9" :string) - ("g" "9" :string) - ("e" "9" :string) - ("q" "9" :string) - ("b" "9" :string) - ("z" "9" :string) - ("w" "9" :string) - ("a" "9" :string) - ("j" "9" :string) - ("u" "9" :string) - ("k" "9" :string) - ("t" "9" :string) - ("v" "9" :string) - ("s" "9" :string) - ("c" "9" :string) - ("r" "9" :string) - ("x" "9" :string) - ("h" "9" :string) - ("f" "9" :string) - ("i" "9" :string) - ("n" "9" :string) - ("m" "9" :string) - ("l" "9" :string) - ("p" "9" :string) - ("o" "9" :string) - )) - -(define-rule-set "en-ignore-special" - - :rules (("-" "" :string) - ("!" "" :string) - ("{" "" :string) - ("'" "" :string) - ("}" "" :string) - ("?" "" :string) - ("." "" :string) - )) - -(define-rule-set "en-resolve-special" - - :rules (("Ã" "¤" :string) - ("Ã" "¤" :string) - ("ð" "¤" :string) - ("Ã" "¤" :string) - ("Ã" "¤" :string) - ("Ã" "¤" :string) - ("ô" "¤" :string) - ("Ã" "¤" :string) - ("È" "¤" :string) - ("ï" "¤" :string) - ("Ã" "¤" :string) - ("ö" "¤" :string) - ("ñ" "¤" :string) - ("Ã" "¤" :string) - ("ç" "¤" :string) - ("Ã" "¤" :string) - ("à " "¤" :string) - ("þ" "¤" :string) - ("Ç·" "¤" :string) - ("è" "¤" :string) - ("Ã" "¤" :string) - ("ë" "¤" :string) - ("Ã" "¤" :string) - ("ê" "¤" :string) - ("é" "¤" :string) - ("È" "¤" :string) - ("Æ¿" "¤" :string) - ("Ã" "¤" :string) - ("Å" "¤¤" :string) - ("Ã" "¤¤" :string) - ("Å" "¤¤" :string) - ("æ" "¤¤" :string) - ("?" "¡" :string) - ("!" "¢" :string) - ("." "£" :string) - ("S" "¤" :string) - ("K" "¤" :string) - ("d" "¤" :string) - ("Y" "¤" :string) - ("E" "¤" :string) - ("y" "¤" :string) - ("g" "¤" :string) - ("e" "¤" :string) - ("J" "¤" :string) - ("q" "¤" :string) - ("D" "¤" :string) - ("b" "¤" :string) - ("z" "¤" :string) - ("w" "¤" :string) - ("Q" "¤" :string) - ("M" "¤" :string) - ("C" "¤" :string) - ("L" "¤" :string) - ("X" "¤" :string) - ("P" "¤" :string) - ("T" "¤" :string) - ("a" "¤" :string) - ("N" "¤" :string) - ("j" "¤" :string) - ("Z" "¤" :string) - ("u" "¤" :string) - ("k" "¤" :string) - ("t" "¤" :string) - ("W" "¤" :string) - ("v" "¤" :string) - ("s" "¤" :string) - ("B" "¤" :string) - ("H" "¤" :string) - ("c" "¤" :string) - ("I" "¤" :string) - ("G" "¤" :string) - ("U" "¤" :string) - ("F" "¤" :string) - ("r" "¤" :string) - ("x" "¤" :string) - ("V" "¤" :string) - ("h" "¤" :string) - ("f" "¤" :string) - ("i" "¤" :string) - ("A" "¤" :string) - ("O" "¤" :string) - ("n" "¤" :string) - ("m" "¤" :string) - ("l" "¤" :string) - ("p" "¤" :string) - ("R" "¤" :string) - ("o" "¤" :string) - ("-" "¥" :string) - ("'" "¦" :string) - ("{" "§" :string) - ("}" "¨" :string) - )) - -; The following section is customised for samplexdy.tex -; (copied from samplexdy.xdy automatically generated by -; samplexdy.tex) - -; required styles - -(require "tex.xdy") - -; list of allowed attributes (number formats) - -(define-attributes (("default" - "hyperbfit" - "pagehyperbfit" - "glsnumberformat" - "pageglsnumberformat" - "textrm" - "pagetextrm" - "textsf" - "pagetextsf" - "texttt" - "pagetexttt" - "textbf" - "pagetextbf" - "textmd" - "pagetextmd" - "textit" - "pagetextit" - "textup" - "pagetextup" - "textsl" - "pagetextsl" - "textsc" - "pagetextsc" - "emph" - "pageemph" - "glshypernumber" - "pageglshypernumber" - "hyperrm" - "pagehyperrm" - "hypersf" - "pagehypersf" - "hypertt" - "pagehypertt" - "hyperbf" - "pagehyperbf" - "hypermd" - "pagehypermd" - "hyperit" - "pagehyperit" - "hyperup" - "pagehyperup" - "hypersl" - "pagehypersl" - "hypersc" - "pagehypersc" - "hyperemph" - "pagehyperemph"))) - -; user defined alphabets - - - -; location class definitions - -(define-location-class "roman-page-numbers" - ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers" - ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers" - ( :sep "{}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers" - ( :sep "{}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers" - ( :sep "{}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers" - ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers" - ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) - -; user defined location classes - -(define-location-class "Numberstring" - (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) - -; define cross-reference class - -(define-crossref-class "see" :unverified ) -(markup-crossref-list :class "see" - :open "\glsseeformat" :close "{}") - -; define the order of the location classes -(define-location-class-order ( - "roman-page-numbers" - "arabic-page-numbers" - "arabic-section-numbers" - "alpha-page-numbers" - "Roman-page-numbers" - "Alpha-page-numbers" - "Appendix-page-numbers" - "see" )) - -; define the glossary markup - -(markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble -\providecommand*\glsXpageXhyperbfit[2]{\setentrycounter[#1]{page}\hyperbfit{#2}} -\providecommand*\glsXpageXglsnumberformat[2]{\setentrycounter[#1]{page}\glsnumberformat{#2}} -\providecommand*\glsXpageXtextrm[2]{\setentrycounter[#1]{page}\textrm{#2}} -\providecommand*\glsXpageXtextsf[2]{\setentrycounter[#1]{page}\textsf{#2}} -\providecommand*\glsXpageXtexttt[2]{\setentrycounter[#1]{page}\texttt{#2}} -\providecommand*\glsXpageXtextbf[2]{\setentrycounter[#1]{page}\textbf{#2}} -\providecommand*\glsXpageXtextmd[2]{\setentrycounter[#1]{page}\textmd{#2}} -\providecommand*\glsXpageXtextit[2]{\setentrycounter[#1]{page}\textit{#2}} -\providecommand*\glsXpageXtextup[2]{\setentrycounter[#1]{page}\textup{#2}} -\providecommand*\glsXpageXtextsl[2]{\setentrycounter[#1]{page}\textsl{#2}} -\providecommand*\glsXpageXtextsc[2]{\setentrycounter[#1]{page}\textsc{#2}} -\providecommand*\glsXpageXemph[2]{\setentrycounter[#1]{page}\emph{#2}} -\providecommand*\glsXpageXglshypernumber[2]{\setentrycounter[#1]{page}\glshypernumber{#2}} -\providecommand*\glsXpageXhyperrm[2]{\setentrycounter[#1]{page}\hyperrm{#2}} -\providecommand*\glsXpageXhypersf[2]{\setentrycounter[#1]{page}\hypersf{#2}} -\providecommand*\glsXpageXhypertt[2]{\setentrycounter[#1]{page}\hypertt{#2}} -\providecommand*\glsXpageXhyperbf[2]{\setentrycounter[#1]{page}\hyperbf{#2}} -\providecommand*\glsXpageXhypermd[2]{\setentrycounter[#1]{page}\hypermd{#2}} -\providecommand*\glsXpageXhyperit[2]{\setentrycounter[#1]{page}\hyperit{#2}} -\providecommand*\glsXpageXhyperup[2]{\setentrycounter[#1]{page}\hyperup{#2}} -\providecommand*\glsXpageXhypersl[2]{\setentrycounter[#1]{page}\hypersl{#2}} -\providecommand*\glsXpageXhypersc[2]{\setentrycounter[#1]{page}\hypersc{#2}} -\providecommand*\glsXpageXhyperemph[2]{\setentrycounter[#1]{page}\hyperemph{#2}} -\begin{theglossary}\glossaryheader~n" - :close "%~n\end{theglossary}\glossarypostamble~n" - :tree) -(markup-letter-group-list :sep "\glsgroupskip~n") -(markup-indexentry :open "\relax\glsresetentrylist~n") -(markup-locclass-list :open "{\glossaryentrynumbers{\relax " - :sep ", " :close "}}") -(markup-locref-list :sep "\delimN ") -(markup-range :sep "\delimR ") - -; define format to use for locations - - -(markup-locref :open "~n\glsXpageXhyperbfit" - :close "" - :attr "pagehyperbfit") -(markup-locref :open "~n\glsXpageXglsnumberformat" - :close "" - :attr "pageglsnumberformat") -(markup-locref :open "~n\glsXpageXtextrm" - :close "" - :attr "pagetextrm") -(markup-locref :open "~n\glsXpageXtextsf" - :close "" - :attr "pagetextsf") -(markup-locref :open "~n\glsXpageXtexttt" - :close "" - :attr "pagetexttt") -(markup-locref :open "~n\glsXpageXtextbf" - :close "" - :attr "pagetextbf") -(markup-locref :open "~n\glsXpageXtextmd" - :close "" - :attr "pagetextmd") -(markup-locref :open "~n\glsXpageXtextit" - :close "" - :attr "pagetextit") -(markup-locref :open "~n\glsXpageXtextup" - :close "" - :attr "pagetextup") -(markup-locref :open "~n\glsXpageXtextsl" - :close "" - :attr "pagetextsl") -(markup-locref :open "~n\glsXpageXtextsc" - :close "" - :attr "pagetextsc") -(markup-locref :open "~n\glsXpageXemph" - :close "" - :attr "pageemph") -(markup-locref :open "~n\glsXpageXglshypernumber" - :close "" - :attr "pageglshypernumber") -(markup-locref :open "~n\glsXpageXhyperrm" - :close "" - :attr "pagehyperrm") -(markup-locref :open "~n\glsXpageXhypersf" - :close "" - :attr "pagehypersf") -(markup-locref :open "~n\glsXpageXhypertt" - :close "" - :attr "pagehypertt") -(markup-locref :open "~n\glsXpageXhyperbf" - :close "" - :attr "pagehyperbf") -(markup-locref :open "~n\glsXpageXhypermd" - :close "" - :attr "pagehypermd") -(markup-locref :open "~n\glsXpageXhyperit" - :close "" - :attr "pagehyperit") -(markup-locref :open "~n\glsXpageXhyperup" - :close "" - :attr "pagehyperup") -(markup-locref :open "~n\glsXpageXhypersl" - :close "" - :attr "pagehypersl") -(markup-locref :open "~n\glsXpageXhypersc" - :close "" - :attr "pagehypersc") -(markup-locref :open "~n\glsXpageXhyperemph" - :close "" - :attr "pagehyperemph") - -; define letter group list format - -(markup-letter-group-list :sep "\glsgroupskip~n") - -; letter group headings - -(markup-letter-group :open-head "\glsgroupheading{" - :close-head "}") - -; additional letter groups - -(define-letter-group "glsnumbers" - :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") - :before "A") - -; additional sort rules - - -; The following is copied from xindy/lang/english/utf8-lang.xdy - -(define-sort-rule-orientations (forward backward forward forward)) -(use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) -(use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) -(use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) -(use-rule-set :run 3 - :rule-set ("en-resolve-special")) - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</samplexdy-mc.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy-mc207.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -;; xindy style file for samplexdy.tex that has Mc letter group - -(define-letter-group "A" :prefixes ("")) -(define-letter-group "B" :after "A" :prefixes ("")) -(define-letter-group "C" :after "B" :prefixes ("")) -(define-letter-group "D" :after "C" :prefixes ("")) -(define-letter-group "E" :after "D" :prefixes ("")) -(define-letter-group "F" :after "E" :prefixes ("")) -(define-letter-group "G" :after "F" :prefixes ("")) -(define-letter-group "H" :after "G" :prefixes ("¤")) -(define-letter-group "I" :after "H" :prefixes ("¨")) -(define-letter-group "J" :after "I" :prefixes ("¬")) -(define-letter-group "K" :after "J" :prefixes ("®")) -(define-letter-group "L" :after "K" :prefixes ("´")) -(define-letter-group "Mc" :after "L" :prefixes ("»")) -(define-letter-group "M" :after "Mc" :prefixes ("»")) -(define-letter-group "N" :after "M" :prefixes ("¼")) -(define-letter-group "O" :after "N" :prefixes ("Ã")) -(define-letter-group "P" :after "O" :prefixes ("È")) -(define-letter-group "Q" :after "P" :prefixes ("Ê")) -(define-letter-group "R" :after "Q" :prefixes ("Ë")) -(define-letter-group "S" :after "R" :prefixes ("Ð")) -(define-letter-group "T" :after "S" :prefixes ("Ú")) -(define-letter-group "U" :after "T" :prefixes ("à")) -(define-letter-group "V" :after "U" :prefixes ("å")) -(define-letter-group "W" :after "V" :prefixes ("æ")) -(define-letter-group "X" :after "W" :prefixes ("ë")) -(define-letter-group "Y" :after "X" :prefixes ("í")) -(define-letter-group "È" :after "Y" :prefixes ("ï")) -(define-letter-group "Z" :after "È" :prefixes ("ð")) -(define-letter-group "Ã" :after "Z" :prefixes ("ö")) -(define-letter-group "Æ¿" :after "Ã" :prefixes ("÷")) - -(define-rule-set "en-alphabetize" - - :rules (("à " "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("æ" "" :string) - ("Ã" "" :string) - ("ç" "" :string) - ("ð" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("Ã" "" :string) - ("è" "" :string) - ("ë" "" :string) - ("ê" "" :string) - ("é" "" :string) - ("Ã" "¨" :string) - ("ï" "¨" :string) - ("Ã" "¼" :string) - ("ñ" "¼" :string) - ("Ã" "Ã" :string) - ("Ã" "Ã" :string) - ("ô" "Ã" :string) - ("ö" "Ã" :string) - ("Å" "Ã" :string) - ("Å" "Ã" :string) - ("È" "ï" :string) - ("È" "ï" :string) - ("þ" "ö" :string) - ("Ã" "ö" :string) - ("Ç·" "÷" :string) - ("Æ¿" "÷" :string) - ("a" "" :string) - ("A" "" :string) - ("b" "" :string) - ("B" "" :string) - ("C" "" :string) - ("c" "" :string) - ("d" "" :string) - ("D" "" :string) - ("E" "" :string) - ("e" "" :string) - ("F" "" :string) - ("f" "" :string) - ("g" "" :string) - ("G" "" :string) - ("H" "¤" :string) - ("h" "¤" :string) - ("I" "¨" :string) - ("i" "¨" :string) - ("J" "¬" :string) - ("j" "¬" :string) - ("K" "®" :string) - ("k" "®" :string) - ("L" "´" :string) - ("l" "´" :string) - ("Mc" "»" :string) - ("Mac" "»" :string) - ("M" "»" :string) - ("m" "»" :string) - ("N" "¼" :string) - ("n" "¼" :string) - ("O" "Ã" :string) - ("o" "Ã" :string) - ("P" "È" :string) - ("p" "È" :string) - ("q" "Ê" :string) - ("Q" "Ê" :string) - ("r" "Ë" :string) - ("R" "Ë" :string) - ("S" "Ð" :string) - ("s" "Ð" :string) - ("T" "Ú" :string) - ("t" "Ú" :string) - ("u" "à" :string) - ("U" "à" :string) - ("v" "å" :string) - ("V" "å" :string) - ("w" "æ" :string) - ("W" "æ" :string) - ("X" "ë" :string) - ("x" "ë" :string) - ("Y" "í" :string) - ("y" "í" :string) - ("z" "ð" :string) - ("Z" "ð" :string) - )) - -(define-rule-set "en-resolve-diacritics" - - :rules (("È" "¢" :string) - ("þ" "¢" :string) - ("Ç·" "¢" :string) - ("Ã" "¢" :string) - ("È" "¢" :string) - ("Æ¿" "¢" :string) - ("Ã" "£" :string) - ("Ã" "£" :string) - ("ð" "£" :string) - ("Ã" "£" :string) - ("Ã" "£" :string) - ("Ã" "£" :string) - ("ï" "£" :string) - ("ö" "£" :string) - ("ñ" "£" :string) - ("ç" "£" :string) - ("à " "£" :string) - ("Ã" "£" :string) - ("é" "£" :string) - ("Ã" "£" :string) - ("Ã" "¤" :string) - ("ô" "¤" :string) - ("Ã" "¤" :string) - ("è" "¤" :string) - ("Ã" "¥" :string) - ("ë" "¥" :string) - ("Ã" "¦" :string) - ("ê" "¦" :string) - ("Å" "ÿ" :string) - ("Ã" "ÿ" :string) - ("Å" "ÿ" :string) - ("æ" "ÿ" :string) - ("S" "¢" :string) - ("K" "¢" :string) - ("d" "¢" :string) - ("Y" "¢" :string) - ("E" "¢" :string) - ("y" "¢" :string) - ("g" "¢" :string) - ("e" "¢" :string) - ("J" "¢" :string) - ("q" "¢" :string) - ("D" "¢" :string) - ("b" "¢" :string) - ("z" "¢" :string) - ("w" "¢" :string) - ("Q" "¢" :string) - ("M" "¢" :string) - ("C" "¢" :string) - ("L" "¢" :string) - ("X" "¢" :string) - ("P" "¢" :string) - ("T" "¢" :string) - ("a" "¢" :string) - ("N" "¢" :string) - ("j" "¢" :string) - ("Z" "¢" :string) - ("u" "¢" :string) - ("k" "¢" :string) - ("t" "¢" :string) - ("W" "¢" :string) - ("v" "¢" :string) - ("s" "¢" :string) - ("B" "¢" :string) - ("H" "¢" :string) - ("c" "¢" :string) - ("I" "¢" :string) - ("G" "¢" :string) - ("U" "¢" :string) - ("F" "¢" :string) - ("r" "¢" :string) - ("x" "¢" :string) - ("V" "¢" :string) - ("h" "¢" :string) - ("f" "¢" :string) - ("i" "¢" :string) - ("A" "¢" :string) - ("O" "¢" :string) - ("n" "¢" :string) - ("m" "¢" :string) - ("l" "¢" :string) - ("p" "¢" :string) - ("R" "¢" :string) - ("o" "¢" :string) - )) - -(define-rule-set "en-resolve-case" - - :rules (("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("Ç·" "8" :string) - ("Ã" "8" :string) - ("Ã" "8" :string) - ("È" "8" :string) - ("Ã" "8" :string) - ("Ã" "89" :string) - ("Å" "89" :string) - ("ð" "9" :string) - ("ô" "9" :string) - ("È" "9" :string) - ("ï" "9" :string) - ("ö" "9" :string) - ("ñ" "9" :string) - ("ç" "9" :string) - ("à " "9" :string) - ("þ" "9" :string) - ("è" "9" :string) - ("ë" "9" :string) - ("ê" "9" :string) - ("é" "9" :string) - ("Æ¿" "9" :string) - ("Å" "99" :string) - ("æ" "99" :string) - ("S" "8" :string) - ("K" "8" :string) - ("Y" "8" :string) - ("E" "8" :string) - ("J" "8" :string) - ("D" "8" :string) - ("Q" "8" :string) - ("M" "8" :string) - ("C" "8" :string) - ("L" "8" :string) - ("X" "8" :string) - ("P" "8" :string) - ("T" "8" :string) - ("N" "8" :string) - ("Z" "8" :string) - ("W" "8" :string) - ("B" "8" :string) - ("H" "8" :string) - ("I" "8" :string) - ("G" "8" :string) - ("U" "8" :string) - ("F" "8" :string) - ("V" "8" :string) - ("A" "8" :string) - ("O" "8" :string) - ("R" "8" :string) - ("d" "9" :string) - ("y" "9" :string) - ("g" "9" :string) - ("e" "9" :string) - ("q" "9" :string) - ("b" "9" :string) - ("z" "9" :string) - ("w" "9" :string) - ("a" "9" :string) - ("j" "9" :string) - ("u" "9" :string) - ("k" "9" :string) - ("t" "9" :string) - ("v" "9" :string) - ("s" "9" :string) - ("c" "9" :string) - ("r" "9" :string) - ("x" "9" :string) - ("h" "9" :string) - ("f" "9" :string) - ("i" "9" :string) - ("n" "9" :string) - ("m" "9" :string) - ("l" "9" :string) - ("p" "9" :string) - ("o" "9" :string) - )) - -(define-rule-set "en-ignore-special" - - :rules (("-" "" :string) - ("!" "" :string) - ("{" "" :string) - ("'" "" :string) - ("}" "" :string) - ("?" "" :string) - ("." "" :string) - )) - -(define-rule-set "en-resolve-special" - - :rules (("Ã" "¤" :string) - ("Ã" "¤" :string) - ("ð" "¤" :string) - ("Ã" "¤" :string) - ("Ã" "¤" :string) - ("Ã" "¤" :string) - ("ô" "¤" :string) - ("Ã" "¤" :string) - ("È" "¤" :string) - ("ï" "¤" :string) - ("Ã" "¤" :string) - ("ö" "¤" :string) - ("ñ" "¤" :string) - ("Ã" "¤" :string) - ("ç" "¤" :string) - ("Ã" "¤" :string) - ("à " "¤" :string) - ("þ" "¤" :string) - ("Ç·" "¤" :string) - ("è" "¤" :string) - ("Ã" "¤" :string) - ("ë" "¤" :string) - ("Ã" "¤" :string) - ("ê" "¤" :string) - ("é" "¤" :string) - ("È" "¤" :string) - ("Æ¿" "¤" :string) - ("Ã" "¤" :string) - ("Å" "¤¤" :string) - ("Ã" "¤¤" :string) - ("Å" "¤¤" :string) - ("æ" "¤¤" :string) - ("?" "¡" :string) - ("!" "¢" :string) - ("." "£" :string) - ("S" "¤" :string) - ("K" "¤" :string) - ("d" "¤" :string) - ("Y" "¤" :string) - ("E" "¤" :string) - ("y" "¤" :string) - ("g" "¤" :string) - ("e" "¤" :string) - ("J" "¤" :string) - ("q" "¤" :string) - ("D" "¤" :string) - ("b" "¤" :string) - ("z" "¤" :string) - ("w" "¤" :string) - ("Q" "¤" :string) - ("M" "¤" :string) - ("C" "¤" :string) - ("L" "¤" :string) - ("X" "¤" :string) - ("P" "¤" :string) - ("T" "¤" :string) - ("a" "¤" :string) - ("N" "¤" :string) - ("j" "¤" :string) - ("Z" "¤" :string) - ("u" "¤" :string) - ("k" "¤" :string) - ("t" "¤" :string) - ("W" "¤" :string) - ("v" "¤" :string) - ("s" "¤" :string) - ("B" "¤" :string) - ("H" "¤" :string) - ("c" "¤" :string) - ("I" "¤" :string) - ("G" "¤" :string) - ("U" "¤" :string) - ("F" "¤" :string) - ("r" "¤" :string) - ("x" "¤" :string) - ("V" "¤" :string) - ("h" "¤" :string) - ("f" "¤" :string) - ("i" "¤" :string) - ("A" "¤" :string) - ("O" "¤" :string) - ("n" "¤" :string) - ("m" "¤" :string) - ("l" "¤" :string) - ("p" "¤" :string) - ("R" "¤" :string) - ("o" "¤" :string) - ("-" "¥" :string) - ("'" "¦" :string) - ("{" "§" :string) - ("}" "¨" :string) - )) - -; The following section is customised for samplexdy.tex -; (copied from samplexdy.xdy automatically generated by -; samplexdy.tex) - -; required styles - -(require "tex.xdy") - -; list of allowed attributes (number formats) - -(define-attributes (("default" - "glsnumberformat" - "textrm" - "textsf" - "texttt" - "textbf" - "textmd" - "textit" - "textup" - "textsl" - "textsc" - "emph" - "glshypernumber" - "hyperrm" - "hypersf" - "hypertt" - "hyperbf" - "hypermd" - "hyperit" - "hyperup" - "hypersl" - "hypersc" - "hyperemph" - "hyperbfit"))) - -; user defined alphabets - - - -; location class definitions - -(define-location-class "roman-page-numbers" - ("roman-numbers-lowercase")) -(define-location-class "Roman-page-numbers" - ("roman-numbers-uppercase")) -(define-location-class "arabic-page-numbers" - ("arabic-numbers")) -(define-location-class "alpha-page-numbers" - ("alpha")) -(define-location-class "Alpha-page-numbers" - ("ALPHA")) -(define-location-class "Appendix-page-numbers" - ("ALPHA" :sep "." "arabic-numbers")) -(define-location-class "arabic-section-numbers" - ("arabic-numbers" :sep "." "arabic-numbers")) - -; user defined location classes - -(define-location-class "Numberstring" - (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) - -; define cross-reference class - -(define-crossref-class "see" :unverified ) -(markup-crossref-list :class "see" - :open "\glsseeformat" :close "{}") - -; define the order of the location classes -(define-location-class-order ( - "roman-page-numbers" - "arabic-page-numbers" - "arabic-section-numbers" - "alpha-page-numbers" - "Roman-page-numbers" - "Alpha-page-numbers" - "Appendix-page-numbers" - "see" )) - -; define the glossary markup - -(markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" - :close "~n\end{theglossary}~n\glossarypostamble~n" - :tree) -(markup-letter-group-list :sep "\glsgroupskip~n") -(markup-indexentry :open "~n" :depth 0) -(markup-locclass-list :open "{\glossaryentrynumbers{\relax " - :sep ", " :close "}}") -(markup-locref-list :sep "\delimN ") -(markup-range :sep "\delimR ") - -; define format to use for locations - - -(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" - :close "}" - :attr "glsnumberformat") -(markup-locref :open "~n\setentrycounter{page}\textrm{" - :close "}" - :attr "textrm") -(markup-locref :open "~n\setentrycounter{page}\textsf{" - :close "}" - :attr "textsf") -(markup-locref :open "~n\setentrycounter{page}\texttt{" - :close "}" - :attr "texttt") -(markup-locref :open "~n\setentrycounter{page}\textbf{" - :close "}" - :attr "textbf") -(markup-locref :open "~n\setentrycounter{page}\textmd{" - :close "}" - :attr "textmd") -(markup-locref :open "~n\setentrycounter{page}\textit{" - :close "}" - :attr "textit") -(markup-locref :open "~n\setentrycounter{page}\textup{" - :close "}" - :attr "textup") -(markup-locref :open "~n\setentrycounter{page}\textsl{" - :close "}" - :attr "textsl") -(markup-locref :open "~n\setentrycounter{page}\textsc{" - :close "}" - :attr "textsc") -(markup-locref :open "~n\setentrycounter{page}\emph{" - :close "}" - :attr "emph") -(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" - :close "}" - :attr "glshypernumber") -(markup-locref :open "~n\setentrycounter{page}\hyperrm{" - :close "}" - :attr "hyperrm") -(markup-locref :open "~n\setentrycounter{page}\hypersf{" - :close "}" - :attr "hypersf") -(markup-locref :open "~n\setentrycounter{page}\hypertt{" - :close "}" - :attr "hypertt") -(markup-locref :open "~n\setentrycounter{page}\hyperbf{" - :close "}" - :attr "hyperbf") -(markup-locref :open "~n\setentrycounter{page}\hypermd{" - :close "}" - :attr "hypermd") -(markup-locref :open "~n\setentrycounter{page}\hyperit{" - :close "}" - :attr "hyperit") -(markup-locref :open "~n\setentrycounter{page}\hyperup{" - :close "}" - :attr "hyperup") -(markup-locref :open "~n\setentrycounter{page}\hypersl{" - :close "}" - :attr "hypersl") -(markup-locref :open "~n\setentrycounter{page}\hypersc{" - :close "}" - :attr "hypersc") -(markup-locref :open "~n\setentrycounter{page}\hyperemph{" - :close "}" - :attr "hyperemph") -(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" - :close "}" - :attr "hyperbfit") - -; define letter group list format - -(markup-letter-group-list :sep "\glsgroupskip~n") - -; letter group headings - -(markup-letter-group :open-head "\glsgroupheading{" - :close-head "}") - -(define-letter-group "glsnumbers" - :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") - :before "A") - -; The following is copied from xindy/lang/english/utf8-lang.xdy - -(define-sort-rule-orientations (forward backward forward forward)) -(use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) -(use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) -(use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) -(use-rule-set :run 3 - :rule-set ("en-resolve-special")) - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</samplexdy-mc207.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*database1.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries - -\newglossaryentry{array}{name=array, -description={A list of values identified by a numeric value}} - -\newglossaryentry{binary}{name=binary, -description={Pertaining to numbers represented in base 2}} - -\newglossaryentry{comment}{name=comment, -description={A remark that doesn't affect the meaning of the -code}} - -\newglossaryentry{global}{name=global, -description={Something that maintains its state when it leaves -the current group}} - -\newglossaryentry{local}{name=local, -description={Something that only maintains its state until -it leaves the group in which it was defined/changed}} - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</database1.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*database2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries - - % Don't need to worry about makeindex special characters -\newglossaryentry{quote}{name={"}, -description={the double quote symbol}} - -\newglossaryentry{at}{name={@}, -description={the ``at'' symbol}} - -\newglossaryentry{excl}{name={!}, -description={the exclamation mark symbol}} - -\newglossaryentry{bar}{name={\ensuremath{|}}, -description={the vertical bar symbol}} - -\newglossaryentry{hash}{name={\#}, -description={the hash symbol}} - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%</database2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*glossaries.perl> % \end{macrocode} %\fi diff --git a/macros/latex/contrib/glossaries/glossaries.ins b/macros/latex/contrib/glossaries/glossaries.ins index f46dd99a7a..6539fc8046 100644 --- a/macros/latex/contrib/glossaries/glossaries.ins +++ b/macros/latex/contrib/glossaries/glossaries.ins @@ -1,4 +1,4 @@ -% glossaries.ins generated using makedtx version 1.2 2019/9/28 15:01 +% glossaries.ins generated using makedtx version 1.2 2019/12/6 14:57 \input docstrip \preamble @@ -18,7 +18,7 @@ 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, glossaries-prefix.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-compatible-207.sty, glossaries-compatible-307.sty, glossaries-accsupp.sty, glossaries-babel.sty, glossaries-polyglossia.sty, minimalgls.tex, glossary-lipsum-examples.tex, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, sample-chap-hyperfirst.tex, sample-crossref.tex, sample-custom-acronym.tex, sample-dot-abbr.tex, sample-dual.tex, sample-entrycount.tex, sample-entryfmt.tex, sample-FnDesc.tex, sample-font-abbr.tex, sample-ignored.tex, sample-index.tex, sample-inline.tex, sample-langdict.tex, sample-newkeys.tex, sample-noidxapp-utf8.tex, sample-noidxapp.tex, sample-nomathhyper.tex, sample-numberlist.tex, sample-prefix.tex, sample-si.tex, sample-storage-abbr-desc.tex, sample-storage-abbr.tex, sample.tex, sample4col.tex, sampleaccsupp.tex, sampleAcr.tex, sampleAcrDesc.tex, sampleacronyms.tex, sampleCustomAcr.tex, sampleDB.tex, sampleDesc.tex, sampleEq.tex, sampleEqPg.tex, sampleFnAcrDesc.tex, sampleNtn.tex, samplePeople.tex, sampleSec.tex, sampleSort.tex, sampletree.tex, sampleutf8.tex, samplexdy.tex, samplexdy2.tex, samplexdy3.tex, mwe-acr-desc.tex, mwe-acr.tex, mwe-gls.tex, samplexdy-mc.xdy, samplexdy-mc207.xdy, database1.tex, database2.tex, glossaries.perl. + This work consists of the files glossaries.dtx and glossaries.ins and the derived files glossaries.sty, glossaries-prefix.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-compatible-207.sty, glossaries-compatible-307.sty, glossaries-accsupp.sty, glossaries-babel.sty, glossaries-polyglossia.sty, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, glossaries.perl. \endpreamble @@ -58,8 +58,6 @@ \usepostamble\defaultpostamble\from{glossaries.dtx}{glossaries-babel.sty,package}} \file{glossaries-polyglossia.sty}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{glossaries.dtx}{glossaries-polyglossia.sty,package}} -\file{minimalgls.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{minimalgls.tex}} -\file{glossary-lipsum-examples.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{glossary-lipsum-examples.tex}} \file{example-glossaries-acronym-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronym-desc.tex}} \file{example-glossaries-acronym.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronym.tex}} \file{example-glossaries-acronyms-lang.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronyms-lang.tex}} @@ -73,56 +71,6 @@ \file{example-glossaries-symbolnames.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-symbolnames.tex}} \file{example-glossaries-symbols.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-symbols.tex}} \file{example-glossaries-url.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-url.tex}} -\file{sample-chap-hyperfirst.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-chap-hyperfirst.tex}} -\file{sample-crossref.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-crossref.tex}} -\file{sample-custom-acronym.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-custom-acronym.tex}} -\file{sample-dot-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-dot-abbr.tex}} -\file{sample-dual.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-dual.tex}} -\file{sample-entrycount.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-entrycount.tex}} -\file{sample-entryfmt.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-entryfmt.tex}} -\file{sample-FnDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-FnDesc.tex}} -\file{sample-font-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-font-abbr.tex}} -\file{sample-ignored.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-ignored.tex}} -\file{sample-index.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-index.tex}} -\file{sample-inline.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-inline.tex}} -\file{sample-langdict.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-langdict.tex}} -\file{sample-newkeys.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-newkeys.tex}} -\file{sample-noidxapp-utf8.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-noidxapp-utf8.tex}} -\file{sample-noidxapp.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-noidxapp.tex}} -\file{sample-nomathhyper.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-nomathhyper.tex}} -\file{sample-numberlist.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-numberlist.tex}} -\file{sample-prefix.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-prefix.tex}} -\file{sample-si.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-si.tex}} -\file{sample-storage-abbr-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-storage-abbr-desc.tex}} -\file{sample-storage-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-storage-abbr.tex}} -\file{sample.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample.tex}} -\file{sample4col.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample4col.tex}} -\file{sampleaccsupp.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleaccsupp.tex}} -\file{sampleAcr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleAcr.tex}} -\file{sampleAcrDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleAcrDesc.tex}} -\file{sampleacronyms.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleacronyms.tex}} -\file{sampleCustomAcr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleCustomAcr.tex}} -\file{sampleDB.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleDB.tex}} -\file{sampleDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleDesc.tex}} -\file{sampleEq.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleEq.tex}} -\file{sampleEqPg.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleEqPg.tex}} -\file{sampleFnAcrDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleFnAcrDesc.tex}} -\file{sampleNtn.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleNtn.tex}} -\file{samplePeople.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplePeople.tex}} -\file{sampleSec.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleSec.tex}} -\file{sampleSort.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleSort.tex}} -\file{sampletree.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampletree.tex}} -\file{sampleutf8.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleutf8.tex}} -\file{samplexdy.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy.tex}} -\file{samplexdy2.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy2.tex}} -\file{samplexdy3.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy3.tex}} -\file{mwe-acr-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-acr-desc.tex}} -\file{mwe-acr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-acr.tex}} -\file{mwe-gls.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-gls.tex}} -\file{samplexdy-mc.xdy}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy-mc.xdy}} -\file{samplexdy-mc207.xdy}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy-mc207.xdy}} -\file{database1.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{database1.tex}} -\file{database2.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{database2.tex}} \file{glossaries.perl}{\nopreamble\nopostamble\from{glossaries.dtx}{glossaries.perl}} } diff --git a/macros/latex/contrib/glossaries/glossariesbegin.html b/macros/latex/contrib/glossaries/glossariesbegin.html index b45260805c..a3835bfd2e 100644 --- a/macros/latex/contrib/glossaries/glossariesbegin.html +++ b/macros/latex/contrib/glossaries/glossariesbegin.html @@ -109,7 +109,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} span.TEX {letter-spacing: -0.125em; } span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} @@ -119,8 +121,9 @@ span.LATEX span.TEX{ position:relative; left: -0.4em; } div.float, div.figure {margin-left: auto; margin-right: auto;} div.float img {text-align:center;} div.figure img {text-align:center;} -.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} -.marginpar p{margin-top:0.4em; margin-bottom:0.4em;} +.marginpar,.reversemarginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} +.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;} +.reversemarginpar{float:left;} table.equation {width:100%;} .equation td{text-align:center; } td.equation { margin-top:1em; margin-bottom:1em; } @@ -173,7 +176,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} div.array {text-align:center;} .equation td{text-align:center; } .equation-star td{text-align:center; } @@ -190,6 +195,7 @@ table.gather {width:100%;} div.gather-star {text-align:center;} table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } div.longtable{text-align:center;} +table.longtable{margin-left:auto; margin-right: auto;} .supertabular {text-align:center} div.important { border : solid red; } div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;} @@ -255,7 +261,7 @@ span#textcolor40{color:#00FF00} > <!--l. 55--><p class="noindent" > </p><!--l. 55--><p class="noindent" ><span -class="cmr-17">The glossaries package v4.43: a guide for</span> +class="cmr-17">The glossaries package v4.44: a guide for</span> <span class="cmr-17">beginners</span> </p> @@ -268,7 +274,7 @@ class="td11"> <span class="cmr-12">Nicola L.C. Talbot </span></td></tr></table> </div> <!--l. 55--><p class="noindent" ><span -class="cmr-12">2019-09-28</span></p></div> +class="cmr-12">2019-12-06</span></p></div> <div class="abstract" > diff --git a/macros/latex/contrib/glossaries/glossariesbegin.pdf b/macros/latex/contrib/glossaries/glossariesbegin.pdf Binary files differindex 0a03bf1c66..b541ca9147 100644 --- a/macros/latex/contrib/glossaries/glossariesbegin.pdf +++ b/macros/latex/contrib/glossaries/glossariesbegin.pdf diff --git a/macros/latex/contrib/glossaries/glossariesbegin.tex b/macros/latex/contrib/glossaries/glossariesbegin.tex index 50a0bfccd9..03ab7be4ab 100644 --- a/macros/latex/contrib/glossaries/glossariesbegin.tex +++ b/macros/latex/contrib/glossaries/glossariesbegin.tex @@ -31,10 +31,10 @@ \texorpdfstring{{\frenchspacing\obeyspaces\ttfamily#1}}{#1}} \newcommand*{\file}[1]{\texorpdfstring{\texttt{#1}}{#1}} -\title{The glossaries package v4.43: +\title{The glossaries package v4.44: a guide for beginners} \author{Nicola L.C. Talbot} -\date{2019-09-28} +\date{2019-12-06} \ifpdf \externaldocument{glossaries-user} diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.html b/macros/latex/contrib/glossaries/glossary2glossaries.html index bc00961cad..38391e1d5a 100644 --- a/macros/latex/contrib/glossaries/glossary2glossaries.html +++ b/macros/latex/contrib/glossaries/glossary2glossaries.html @@ -116,7 +116,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} span.TEX {letter-spacing: -0.125em; } span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} @@ -201,7 +203,7 @@ class="td11"><span class="cmr-12">Nicola L.C. Talbot</span></td></tr></table> </div> <!--l. 52--><p class="noindent" ><span -class="cmr-12">2019-09-28</span></p></div> +class="cmr-12">2019-12-06</span></p></div> <div class="abstract" > diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.pdf b/macros/latex/contrib/glossaries/glossary2glossaries.pdf Binary files differindex 81d25e73d5..c3e3b4f504 100644 --- a/macros/latex/contrib/glossaries/glossary2glossaries.pdf +++ b/macros/latex/contrib/glossaries/glossary2glossaries.pdf diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.tex b/macros/latex/contrib/glossaries/glossary2glossaries.tex index f49eb809de..9dc8492091 100644 --- a/macros/latex/contrib/glossaries/glossary2glossaries.tex +++ b/macros/latex/contrib/glossaries/glossary2glossaries.tex @@ -34,7 +34,7 @@ \title{Upgrading from the glossary package to the glossaries package} \author{Nicola L.C. Talbot} -\date{2019-09-28} +\date{2019-12-06} \newenvironment{oldway}{% \begin{labelledbox}{\styfmt{glossary}}\ttfamily\obeylines diff --git a/macros/latex/contrib/glossaries/makeglossaries b/macros/latex/contrib/glossaries/makeglossaries index 643e36b3c1..d42214c5ff 100755 --- a/macros/latex/contrib/glossaries/makeglossaries +++ b/macros/latex/contrib/glossaries/makeglossaries @@ -2,13 +2,13 @@ # File : makeglossaries # Author : Nicola Talbot -# Version : 4.41 +# Version : 4.44 # Description: simple Perl script that calls makeindex or xindy. # Intended for use with "glossaries.sty" (saves having to remember # all the various switches) # This file is distributed as part of the glossaries LaTeX package. -# Copyright 2007 Nicola L.C. Talbot +# Copyright 2019 Nicola L.C. 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 any later version. @@ -31,9 +31,11 @@ # glossaries-babel.sty, glossaries-polyglossia.sty, glossaries.perl. # Also makeglossaries and makeglossaries-lite.lua. -my $version="4.41 (2018-07-23)"; +my $version="4.44 (2019-12-06)"; # History: +# v4.43: +# * No change. # v4.41: # * No change. # v4.40: diff --git a/macros/latex/contrib/glossaries/makeglossaries-lite.1 b/macros/latex/contrib/glossaries/makeglossaries-lite.1 index 6d4e3c1261..e94ad592da 100644 --- a/macros/latex/contrib/glossaries/makeglossaries-lite.1 +++ b/macros/latex/contrib/glossaries/makeglossaries-lite.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.12 (Pod::Simple 3.39) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "MAKEGLOSSARIES-LITE 1" -.TH MAKEGLOSSARIES-LITE 1 "2019-09-28" "perl v5.28.1" "makeglossaries-lite Lua Script" +.TH MAKEGLOSSARIES-LITE 1 "2019-12-06" "perl v5.30.1" "makeglossaries-lite Lua Script" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/macros/latex/contrib/glossaries/makeglossaries-lite.lua b/macros/latex/contrib/glossaries/makeglossaries-lite.lua index f812edacee..22b1c75147 100755 --- a/macros/latex/contrib/glossaries/makeglossaries-lite.lua +++ b/macros/latex/contrib/glossaries/makeglossaries-lite.lua @@ -14,7 +14,7 @@ use the Perl makeglossaries script. This file is distributed as part of the glossaries LaTeX package. - Copyright 2015 Nicola L.C. Talbot + Copyright 2019 Nicola L.C. 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 any later version. @@ -36,6 +36,8 @@ Also makeglossaries and makeglossaries-lite.lua. History: + * 4.44: + - no change. * 4.41: - no change. * 4.40: @@ -64,7 +66,7 @@ - changed first line from lua to texlua --]] -thisversion = "4.41 (2018-07-23)" +thisversion = "4.44 (2019-12-06)" quiet = false dryrun = false diff --git a/macros/latex/contrib/glossaries/makeglossaries.1 b/macros/latex/contrib/glossaries/makeglossaries.1 index b2606ee432..c6f103fe49 100644 --- a/macros/latex/contrib/glossaries/makeglossaries.1 +++ b/macros/latex/contrib/glossaries/makeglossaries.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.12 (Pod::Simple 3.39) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "MAKEGLOSSARIES 1" -.TH MAKEGLOSSARIES 1 "2019-09-28" "perl v5.28.1" "makeglossaries Perl Script" +.TH MAKEGLOSSARIES 1 "2019-12-06" "perl v5.30.1" "makeglossaries Perl Script" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/macros/latex/contrib/glossaries/samples/database1.tex b/macros/latex/contrib/glossaries/samples/database1.tex index f9ecc9a420..8a78ad6d78 100644 --- a/macros/latex/contrib/glossaries/samples/database1.tex +++ b/macros/latex/contrib/glossaries/samples/database1.tex @@ -1,8 +1,8 @@ - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries +% This is a sample database of glossary entries +% Only those entries used in the document with \glslink, \gls, +% \glspl, and uppercase variants will have entries in the +% glossary. Note that the type key is not used, as the +% glossary type can be specified in \loadglsentries \newglossaryentry{array}{name=array, description={A list of values identified by a numeric value}} @@ -11,7 +11,7 @@ description={A list of values identified by a numeric value}} description={Pertaining to numbers represented in base 2}} \newglossaryentry{comment}{name=comment, -description={A remark that doesn't affect the meaning of the +description={A remark that doesn't affect the meaning of the code}} \newglossaryentry{global}{name=global, diff --git a/macros/latex/contrib/glossaries/samples/database2.tex b/macros/latex/contrib/glossaries/samples/database2.tex index 55bc08a1c4..7b0e2995be 100644 --- a/macros/latex/contrib/glossaries/samples/database2.tex +++ b/macros/latex/contrib/glossaries/samples/database2.tex @@ -1,10 +1,10 @@ - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries +% This is a sample database of glossary entries +% Only those entries used in the document with \glslink, \gls, +% \glspl, and uppercase variants will have entries in the +% glossary. Note that the type key is not used, as the +% glossary type can be specified in \loadglsentries - % Don't need to worry about makeindex special characters +% Don't need to worry about makeindex special characters \newglossaryentry{quote}{name={"}, description={the double quote symbol}} diff --git a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf Binary files differindex af2c27e7db..76744ff2da 100644 --- a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf +++ b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf diff --git a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex index c8fa373feb..b75e0c6761 100644 --- a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex +++ b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex @@ -1,9 +1,9 @@ - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex - % arara: bibtex - % arara: pdflatex - % arara: pdflatex +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex +% arara: bibtex +% arara: pdflatex +% arara: pdflatex \documentclass{report} \usepackage{graphicx} diff --git a/macros/latex/contrib/glossaries/samples/minimalgls.pdf b/macros/latex/contrib/glossaries/samples/minimalgls.pdf Binary files differindex 613b44b89b..e81068446a 100644 --- a/macros/latex/contrib/glossaries/samples/minimalgls.pdf +++ b/macros/latex/contrib/glossaries/samples/minimalgls.pdf diff --git a/macros/latex/contrib/glossaries/samples/minimalgls.tex b/macros/latex/contrib/glossaries/samples/minimalgls.tex index 195b4a04e9..816007fd2e 100644 --- a/macros/latex/contrib/glossaries/samples/minimalgls.tex +++ b/macros/latex/contrib/glossaries/samples/minimalgls.tex @@ -1,7 +1,7 @@ % This file is public domain. % -% This is a minimal file for testing and debugging -% the glossaries package. Change the class file as +% This is a minimal file for testing and debugging +% the glossaries package. Change the class file as % desired, and add the relevant package options to % both the class file and the glossaries package. % Change the sample glossary entry and acronym if @@ -9,7 +9,7 @@ % glossary, add in the relevant \newglossary command % and a sample entry. % -% Only add extra packages or commands if they +% Only add extra packages or commands if they % contribute to whatever problem you are trying to % test. % @@ -57,9 +57,9 @@ description={a sample entry}} % This contrived acronym has non-standard plural forms. % These are specified in the optional argument. -% Remove the optional argument to revert to the default +% Remove the optional argument to revert to the default % plurals. -\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived +\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived acronyms]{aca}{aca}{a contrived acronym} % Keep all definitions in the preamble! diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf Binary files differindex 2eef686216..06ebb2b46c 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf +++ b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex index 1cb34e284f..be64f5cafa 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex +++ b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex @@ -1,8 +1,8 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex \documentclass{article} \usepackage{glossaries} @@ -11,7 +11,7 @@ \setacronymstyle{short-long-desc} -\newacronym[description={a device that emits a narrow beam of +\newacronym[description={a device that emits a narrow beam of light}]{laser}{laser}{light amplification by stimulated emission of radiation} diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr.pdf b/macros/latex/contrib/glossaries/samples/mwe-acr.pdf Binary files differindex dc4f70c518..02f3e50e86 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-acr.pdf +++ b/macros/latex/contrib/glossaries/samples/mwe-acr.pdf diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr.tex b/macros/latex/contrib/glossaries/samples/mwe-acr.tex index 46b36dcc25..d7dd581f60 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-acr.tex +++ b/macros/latex/contrib/glossaries/samples/mwe-acr.tex @@ -1,8 +1,8 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex \documentclass{article} \usepackage{glossaries} diff --git a/macros/latex/contrib/glossaries/samples/mwe-gls.pdf b/macros/latex/contrib/glossaries/samples/mwe-gls.pdf Binary files differindex 75781ecb5b..14208cc5da 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-gls.pdf +++ b/macros/latex/contrib/glossaries/samples/mwe-gls.pdf diff --git a/macros/latex/contrib/glossaries/samples/mwe-gls.tex b/macros/latex/contrib/glossaries/samples/mwe-gls.tex index 9c5e7c6bc4..59dacdd4d1 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-gls.tex +++ b/macros/latex/contrib/glossaries/samples/mwe-gls.tex @@ -1,8 +1,8 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex \documentclass{article} \usepackage{glossaries} diff --git a/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf b/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf Binary files differindex e7b5016362..0ac18e640f 100644 --- a/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf b/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf Binary files differindex 5ae0a14a80..891ae8db65 100644 --- a/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-crossref.pdf b/macros/latex/contrib/glossaries/samples/sample-crossref.pdf Binary files differindex bd89fff0b2..7033120a7b 100644 --- a/macros/latex/contrib/glossaries/samples/sample-crossref.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-crossref.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf Binary files differindex 5ea60ec873..37de7552bb 100644 --- a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex index 992187f671..74ea760665 100644 --- a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex +++ b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex @@ -10,7 +10,7 @@ % The package option "nomain" is used here to suppress the % main glossary, since this example doesn't use it. If you % want to use the main glossary, remove the "nomain" option. - nomain + nomain ]{glossaries} \makeglossaries diff --git a/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf b/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf Binary files differindex 59e6a1b940..4722172d2c 100644 --- a/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-dual.pdf b/macros/latex/contrib/glossaries/samples/sample-dual.pdf Binary files differindex b3948a464c..44eb610a1c 100644 --- a/macros/latex/contrib/glossaries/samples/sample-dual.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-dual.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf b/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf Binary files differindex 9b28627e43..c7e9ec1a23 100644 --- a/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf b/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf Binary files differindex 64deb3490c..869b9204a5 100644 --- a/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf b/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf Binary files differindex 45e6dd0584..046347b87e 100644 --- a/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-ignored.pdf b/macros/latex/contrib/glossaries/samples/sample-ignored.pdf Binary files differindex 7185f4d455..2344c44f54 100644 --- a/macros/latex/contrib/glossaries/samples/sample-ignored.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-ignored.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-index.pdf b/macros/latex/contrib/glossaries/samples/sample-index.pdf Binary files differindex 18a83dfcd2..5baa6494f9 100644 --- a/macros/latex/contrib/glossaries/samples/sample-index.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-index.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-inline.pdf b/macros/latex/contrib/glossaries/samples/sample-inline.pdf Binary files differindex cadd7af539..df6e6f6556 100644 --- a/macros/latex/contrib/glossaries/samples/sample-inline.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-inline.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-inline.tex b/macros/latex/contrib/glossaries/samples/sample-inline.tex index c5d7220945..e6a6e94c87 100644 --- a/macros/latex/contrib/glossaries/samples/sample-inline.tex +++ b/macros/latex/contrib/glossaries/samples/sample-inline.tex @@ -38,7 +38,7 @@ parent={glossary}} \newglossaryentry{pagelist}{name=page list, % description value has to be enclosed in braces % because it contains commas -description={a list of individual pages or page ranges +description={a list of individual pages or page ranges (e.g.\ 1,2,4,7-9)}} \newglossaryentry{mtrx}{name=matrix, @@ -49,10 +49,10 @@ plural=matrices} % entry with a paragraph break in the description \newglossaryentry{par}{name=paragraph, -description={distinct section of piece of +description={distinct section of piece of writing. Beginning on new, usually indented, line}} -% entry with two types of plural. Set the plural form to the +% entry with two types of plural. Set the plural form to the % form most likely to be used. If you want to use a different % plural, you will need to explicity specify it in \glslink \newglossaryentry{cow}{name=cow, @@ -107,9 +107,9 @@ Once you have run your document through \LaTeX, you will then need to run the \texttt{.glo} file through \texttt{makeindex}. You will need to set the output file so that it creates a \texttt{.gls} file instead -of an \texttt{.ind} file, and change the name of +of an \texttt{.ind} file, and change the name of the log file so that it doesn't overwrite the index -log file (if you have an index for your document). +log file (if you have an index for your document). Rather than having to remember all the command line switches, you can call the \gls{Perl} script \texttt{makeglossaries} which provides a convenient @@ -123,7 +123,7 @@ must be used, e.g.\ in the description of \gls{pagelist}. Plurals are assumed to have the letter s appended, but if this is not the case, as in \glspl{mtrx}, then you need to specify the plural when you define the entry. If a term may have multiple -plurals (for example \glspl{cow}/\glslink{cow}{kine}) then +plurals (for example \glspl{cow}/\glslink{cow}{kine}) then define the entry with the plural form most likely to be used and explicitly specify the alternative form using \verb|\glslink|. \Glspl{seal} and \glspl{sealion} have regular plural forms. diff --git a/macros/latex/contrib/glossaries/samples/sample-langdict.pdf b/macros/latex/contrib/glossaries/samples/sample-langdict.pdf Binary files differindex 5d85d6c143..585c4a96ea 100644 --- a/macros/latex/contrib/glossaries/samples/sample-langdict.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-langdict.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf b/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf Binary files differindex a15f6e32c6..b9d3912b1b 100644 --- a/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-newkeys.tex b/macros/latex/contrib/glossaries/samples/sample-newkeys.tex index d2830fc6bf..ee93bcb22e 100644 --- a/macros/latex/contrib/glossaries/samples/sample-newkeys.tex +++ b/macros/latex/contrib/glossaries/samples/sample-newkeys.tex @@ -52,11 +52,11 @@ The duck was \glsing{waddle} round the dog. The dog \glsed{run} away from the duck. -First letter uppercase: \Glsed{jump}, \Glsing{jump}, +First letter uppercase: \Glsed{jump}, \Glsing{jump}, \Glsed{waddle}, \Glsing{waddle}, \Glsed{run}, \Glsing{run}. -All uppercase: \GLSed{jump}, \GLSing{jump}, +All uppercase: \GLSed{jump}, \GLSing{jump}, \GLSed{waddle}, \GLSing{waddle}, \GLSed{run}, \GLSing{run}. diff --git a/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf b/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf Binary files differindex 5cac8cf6e8..d94e24a152 100644 --- a/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf b/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf Binary files differindex 16c254d9ed..ed705c0fe4 100644 --- a/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf b/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf Binary files differindex 67fc47f4b0..0954a5014c 100644 --- a/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf b/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf Binary files differindex 5b8fa5e678..9e46a428b6 100644 --- a/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-prefix.pdf b/macros/latex/contrib/glossaries/samples/sample-prefix.pdf Binary files differindex 2fe7792920..881252f458 100644 --- a/macros/latex/contrib/glossaries/samples/sample-prefix.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-prefix.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-si.pdf b/macros/latex/contrib/glossaries/samples/sample-si.pdf Binary files differindex af7aa9f693..c2aef74cde 100644 --- a/macros/latex/contrib/glossaries/samples/sample-si.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-si.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf Binary files differindex 2da749d357..3b517bf24f 100644 --- a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex index 39a6eb6721..39fcb8c8dd 100644 --- a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex +++ b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex @@ -87,15 +87,15 @@ % The default for "abbrtype" is "acronym" so we don't need % this new key for acronyms: -\newacronym[description={system for detecting the position and -speed of aircraft, ships, etc}]{radar}{radar}{radio detecting +\newacronym[description={system for detecting the position and +speed of aircraft, ships, etc}]{radar}{radar}{radio detecting and ranging} \newacronym[description={device that creates a narrow beam -of intense light}]{laser}{laser}{light amplification by +of intense light}]{laser}{laser}{light amplification by stimulated emission of radiation} -\newacronym[description={portable breathing device for +\newacronym[description={portable breathing device for divers}]{scuba}{scuba}{self-contained underwater breathing apparatus} @@ -105,7 +105,7 @@ apparatus} \newinitialism[description={mathematical manipulation of an information signal}]{dsp}{DSP}{digital signal processing} -\newinitialism[description={device that allows customers of +\newinitialism[description={device that allows customers of financial institutions to perform transactions, such as cash withdrawal, without the need for a teller}]{atm}{ATM} {automated teller machine} diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf Binary files differindex c547306b25..d8115a22da 100644 --- a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf +++ b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex index 7ea6faadd1..fbde7ef10b 100644 --- a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex +++ b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex @@ -88,7 +88,7 @@ % The default for "abbrtype" is "acronym" so we don't need % this new key for acronyms: \newacronym{radar}{radar}{radio detecting and ranging} -\newacronym{laser}{laser}{light amplification by stimulated +\newacronym{laser}{laser}{light amplification by stimulated emission of radiation} \newacronym{scuba}{scuba}{self-contained underwater breathing apparatus} diff --git a/macros/latex/contrib/glossaries/samples/sample.pdf b/macros/latex/contrib/glossaries/samples/sample.pdf Binary files differindex f5736bbae1..2bf39bd56e 100644 --- a/macros/latex/contrib/glossaries/samples/sample.pdf +++ b/macros/latex/contrib/glossaries/samples/sample.pdf diff --git a/macros/latex/contrib/glossaries/samples/sample.tex b/macros/latex/contrib/glossaries/samples/sample.tex index 9478e16f2e..eca1464585 100644 --- a/macros/latex/contrib/glossaries/samples/sample.tex +++ b/macros/latex/contrib/glossaries/samples/sample.tex @@ -32,7 +32,7 @@ parent={glossary}} \newglossaryentry{pagelist}{name=page list, % description value has to be enclosed in braces % because it contains commas -description={a list of individual pages or page ranges +description={a list of individual pages or page ranges (e.g.\ 1,2,4,7-9)}} \newglossaryentry{mtrx}{name=matrix, @@ -52,7 +52,7 @@ distinct section of a piece of writing. Beginning on new, usually indented, line} -% entry with two types of plural. Set the plural form to the +% entry with two types of plural. Set the plural form to the % form most likely to be used. If you want to use a different % plural, you will need to explicity specify it in \glslink \newglossaryentry{cow}{name=cow, @@ -91,7 +91,7 @@ parent=bravo} % accidentally introducing unwanted space as leading and trailing % spaces within the braces aren't stripped. For example, % text={ spurious space } will result in extra space appearing -% when the entry is referenced. +% when the entry is referenced. \newglossaryentry{spuriousspace}{% name={space, spurious}, text={spurious space}, @@ -139,7 +139,7 @@ Be careful about \glspl{spuriousspace} appearing in your code. Plurals are assumed to have the letter s appended, but if this is not the case, as in \glspl{mtrx}, then you need to specify the plural when you define the entry. If a term may have multiple -plurals (for example \glspl{cow}/\glslink{cow}{kine}) then +plurals (for example \glspl{cow}/\glslink{cow}{kine}) then define the entry with the plural form most likely to be used and explicitly specify the alternative form using \verb|\glslink| (e.g.\ \glslink{cow}{kine}) diff --git a/macros/latex/contrib/glossaries/samples/sample4col.pdf b/macros/latex/contrib/glossaries/samples/sample4col.pdf Binary files differindex 9942f1b6af..a9e88dfadf 100644 --- a/macros/latex/contrib/glossaries/samples/sample4col.pdf +++ b/macros/latex/contrib/glossaries/samples/sample4col.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleAcr.pdf b/macros/latex/contrib/glossaries/samples/sampleAcr.pdf Binary files differindex 8c346877a0..cef9f80d86 100644 --- a/macros/latex/contrib/glossaries/samples/sampleAcr.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleAcr.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleAcr.tex b/macros/latex/contrib/glossaries/samples/sampleAcr.tex index 12801f7d95..572b95d6ea 100644 --- a/macros/latex/contrib/glossaries/samples/sampleAcr.tex +++ b/macros/latex/contrib/glossaries/samples/sampleAcr.tex @@ -45,7 +45,7 @@ acronyms. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{ksvm}. \chapter{Short, Long and Full Forms} diff --git a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf Binary files differindex bd045debe9..96222c6f12 100644 --- a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex index 0bec67636f..e2170feb16 100644 --- a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex +++ b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex @@ -11,7 +11,7 @@ % The package option "nomain" is used here to suppress the % main glossary, since this example doesn't use it. If you % want to use the main glossary, remove the "nomain" option. - nomain,% + nomain,% style=altlist, % use altlist style toc, % add the glossary to the table of contents ]{glossaries} @@ -29,7 +29,7 @@ \renewcommand*{\glsnamefont}[1]{\textmd{#1}} -\newacronym[description={Statistical pattern recognition +\newacronym[description={Statistical pattern recognition technique~\protect\cite{svm}}, % acronym's description ]{svm}{svm}{support vector machine} @@ -48,10 +48,10 @@ technique~\protect\cite{svm}}, % acronym's description The \gls{svm} is used widely in the area of pattern recognition. % plural form with initial letter in uppercase: \Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered +upper case for a small caps acronym is sometimes considered poor style). -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full +Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full version: \acrfull{svm}. Description: \glsentrydesc{svm}. This is the entry in uppercase: \GLS{svm}. @@ -64,7 +64,7 @@ a link: \glsentrydesc{ksvm}. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf Binary files differindex f3a6c9f22f..a7d8af989a 100644 --- a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex index bc32d1329a..eda408e02c 100644 --- a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex +++ b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex @@ -11,7 +11,7 @@ % The package option "nomain" is used here to suppress the % main glossary, since this example doesn't use it. If you % want to use the main glossary, remove the "nomain" option. - nomain, + nomain, style=altlist, % use altlist style toc, % add the glossary to the table of contents ]{glossaries} @@ -68,14 +68,14 @@ % Change the "see" items so that they use \acronymfont: \renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} -\newacronym[description={Statistical pattern recognition +\newacronym[description={Statistical pattern recognition technique~\protect\cite{svm}}, % acronym's description ]{svm}{svm}{support vector machine} \newacronym[description={Statistical pattern recognition technique using the ``kernel trick''},% acronym's description see={[see also]{svm}}, -]{ksvm}{ksvm}{kernel +]{ksvm}{ksvm}{kernel support vector machine} \begin{document} @@ -86,10 +86,10 @@ support vector machine} The \gls{svm} is used widely in the area of pattern recognition. % plural form with initial letter in uppercase: \Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered +upper case for a small caps acronym is sometimes considered poor style). -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full +Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full version: \acrfull{svm}. Description: \glsentrydesc{svm}. This is the entry in uppercase: \GLS{svm}. @@ -103,7 +103,7 @@ a link: \glsentrydesc{ksvm}. \glsresetall (Reset all.) Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleDB.pdf b/macros/latex/contrib/glossaries/samples/sampleDB.pdf Binary files differindex 44217f42b9..9a06139e72 100644 --- a/macros/latex/contrib/glossaries/samples/sampleDB.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleDB.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleDesc.pdf b/macros/latex/contrib/glossaries/samples/sampleDesc.pdf Binary files differindex 788bb043e6..9eb6db4814 100644 --- a/macros/latex/contrib/glossaries/samples/sampleDesc.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleDesc.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleDesc.tex b/macros/latex/contrib/glossaries/samples/sampleDesc.tex index 09e408f906..bcf7e4444e 100644 --- a/macros/latex/contrib/glossaries/samples/sampleDesc.tex +++ b/macros/latex/contrib/glossaries/samples/sampleDesc.tex @@ -59,7 +59,7 @@ the so called ``kernel trick''. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleEq.pdf b/macros/latex/contrib/glossaries/samples/sampleEq.pdf Binary files differindex e8c8bbdfab..ebcb74a296 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEq.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleEq.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleEq.tex b/macros/latex/contrib/glossaries/samples/sampleEq.tex index fb577e9874..403930a97e 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEq.tex +++ b/macros/latex/contrib/glossaries/samples/sampleEq.tex @@ -98,8 +98,8 @@ description=Catalan's constant,sort=G} This is a sample document illustrating the use of the \textsf{glossaries} package. The functions here have been taken from ``Tables of Integrals, Series, and Products'' by I.S.~Gradshteyn and I.M~Ryzhik. -The glossary is a list of special functions, so -the equation number has been used rather than the page number. This +The glossary is a list of special functions, so +the equation number has been used rather than the page number. This can be done using the \texttt{counter=equation} package option. \end{abstract} @@ -112,7 +112,7 @@ option. \gls{Gamma} = \int_{0}^{\infty}e^{-t}t^{z-1}\,dt \end{equation} -\verb|\ensuremath| is only required here if using +\verb|\ensuremath| is only required here if using hyperlinks. \begin{equation} \glslink{Gamma}{\ensuremath{\Gamma(x+1)}} = x\Gamma(x) @@ -185,7 +185,7 @@ Alternatively: \section{Laguerre polynomials} \begin{equation} -L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} +L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} \frac{d^n}{dx^n}(e^{-x}x^{n+\alpha}) \end{equation} @@ -193,8 +193,8 @@ L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} Bessel functions $Z_\nu$ are solutions of \begin{equation} -\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} -+ \frac{1}{z}\,\frac{dZ_\nu}{dz} + +\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} ++ \frac{1}{z}\,\frac{dZ_\nu}{dz} + \left( 1-\frac{\nu^2}{z^2}Z_\nu = 0 \right) \end{equation} diff --git a/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf b/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf Binary files differindex d8f45efa45..1285f4cc16 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleEqPg.tex b/macros/latex/contrib/glossaries/samples/sampleEqPg.tex index 980cb82f34..6061bb72d9 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEqPg.tex +++ b/macros/latex/contrib/glossaries/samples/sampleEqPg.tex @@ -137,15 +137,15 @@ This is a sample document illustrating the use of the \textsf{glossaries} package. The functions here have been taken from ``Tables of Integrals, Series, and Products'' by I.S.~Gradshteyn and I.M~Ryzhik. -The glossary lists both page numbers and equation numbers. +The glossary lists both page numbers and equation numbers. Since the majority of the entries use the equation number, \texttt{counter=equation} was used as a package option. Note that this example will only work where the -page number and equation number compositor is the same. So -it won't work if, say, the page numbers are of the form -2-4 and the equation numbers are of the form 4.6. -As most of the glossary entries should have an italic -format, it is easiest to set the default format to +page number and equation number compositor is the same. So +it won't work if, say, the page numbers are of the form +2-4 and the equation numbers are of the form 4.6. +As most of the glossary entries should have an italic +format, it is easiest to set the default format to italic. \end{abstract} @@ -156,7 +156,7 @@ italic. \chapter{Gamma Functions} -The \glslink[format=hyperbf,counter=page]{Gamma}{gamma function} is +The \glslink[format=hyperbf,counter=page]{Gamma}{gamma function} is defined as \begin{equation} \gls{Gamma} = \int_{0}^{\infty}e^{-t}t^{z-1}\,dt @@ -177,7 +177,7 @@ defined as \newpage \begin{equation} -\glslink{Gamma}{\ensuremath{\Gamma(\alpha)}} = +\glslink{Gamma}{\ensuremath{\Gamma(\alpha)}} = \Gamma(\alpha, x) + \gamma(\alpha, x) \end{equation} @@ -233,7 +233,7 @@ Alternatively: \chapter{Laguerre polynomials} \begin{equation} -\gls{Lna} = \frac{1}{n!}e^x x^{-\alpha} +\gls{Lna} = \frac{1}{n!}e^x x^{-\alpha} \frac{d^n}{dx^n}(e^{-x}x^{n+\alpha}) \end{equation} @@ -241,7 +241,7 @@ Alternatively: Bessel functions $Z_\nu(z)$ are solutions of \begin{equation} -\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} + \frac{1}{z}\,\frac{dZ_\nu}{dz} + +\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} + \frac{1}{z}\,\frac{dZ_\nu}{dz} + \left( 1-\frac{\nu^2}{z^2}Z_\nu = 0 \right) @@ -278,7 +278,7 @@ Bessel functions $Z_\nu(z)$ are solutions of \chapter{Elliptical Integral of the First Kind} \begin{equation} -\gls{Fpk} = \int_0^\phi +\gls{Fpk} = \int_0^\phi \frac{d\alpha}{\sqrt{1-k^2\sin^2\alpha}} \end{equation} diff --git a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf Binary files differindex c29aff931f..e654508453 100644 --- a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex index c1a24c8f17..0f3d868166 100644 --- a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex +++ b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex @@ -34,14 +34,14 @@ \renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} -\newacronym[description={Statistical pattern recognition +\newacronym[description={Statistical pattern recognition technique~\protect\cite{svm}}, % acronym's description ]{svm}{svm}{support vector machine} \newacronym[description={Statistical pattern recognition technique using the ``kernel trick''},% acronym's description see={[see also]{svm}}, -]{ksvm}{ksvm}{kernel +]{ksvm}{ksvm}{kernel support vector machine} \begin{document} @@ -52,10 +52,10 @@ support vector machine} The \gls{svm} is used widely in the area of pattern recognition. % plural form with initial letter in uppercase: \Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered +upper case for a small caps acronym is sometimes considered poor style). -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full +Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full version: \acrfull{svm}. Description: \glsentrydesc{svm}. This is the entry in uppercase: \GLS{svm}. @@ -68,7 +68,7 @@ a link: \glsentrydesc{ksvm}. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleNtn.pdf b/macros/latex/contrib/glossaries/samples/sampleNtn.pdf Binary files differindex c0ff5ea069..3db806aea9 100644 --- a/macros/latex/contrib/glossaries/samples/sampleNtn.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleNtn.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleNtn.tex b/macros/latex/contrib/glossaries/samples/sampleNtn.tex index 997f518f9a..9b3841cc33 100644 --- a/macros/latex/contrib/glossaries/samples/sampleNtn.tex +++ b/macros/latex/contrib/glossaries/samples/sampleNtn.tex @@ -7,7 +7,7 @@ \documentclass{report} % If you want to add babel to this document, you may have to -% replace the : character in the labels if you are using a +% replace the : character in the labels if you are using a % language setting (e.g. french) that makes : active. \usepackage[plainpages=false,colorlinks]{hyperref} @@ -60,7 +60,7 @@ description={The number of elements in the specified set}} \pagenumbering{Alph} This is a sample document illustrating the use of the \textsf{glossaries} package. In this example, a new glossary type -called \texttt{notation} is defined, so that the document can have a +called \texttt{notation} is defined, so that the document can have a separate glossary of terms and index of notation. The index of notation doesn't have associated numbers. \end{abstract} @@ -74,12 +74,12 @@ doesn't have associated numbers. \chapter{Introduction} \pagenumbering{arabic} -\Glspl{gls:set} are denoted by a calligraphic font +\Glspl{gls:set} are denoted by a calligraphic font e.g.\ \gls{not:set}. Let \gls[format=hyperit]{not:U} denote the universal set. -The \gls{gls:card} of a set $\mathcal{S}$ is denoted +The \gls{gls:card} of a set $\mathcal{S}$ is denoted \gls{not:card}. \chapter{Another Chapter} diff --git a/macros/latex/contrib/glossaries/samples/samplePeople.pdf b/macros/latex/contrib/glossaries/samples/samplePeople.pdf Binary files differindex d5c7d3a3fc..bdd7bb5d2a 100644 --- a/macros/latex/contrib/glossaries/samples/samplePeople.pdf +++ b/macros/latex/contrib/glossaries/samples/samplePeople.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleSec.pdf b/macros/latex/contrib/glossaries/samples/sampleSec.pdf Binary files differindex 10f71ff8bc..219ec0f535 100644 --- a/macros/latex/contrib/glossaries/samples/sampleSec.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleSec.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleSort.pdf b/macros/latex/contrib/glossaries/samples/sampleSort.pdf Binary files differindex 4b3be13c50..d771b7d591 100644 --- a/macros/latex/contrib/glossaries/samples/sampleSort.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleSort.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleSort.tex b/macros/latex/contrib/glossaries/samples/sampleSort.tex index 6f83926710..960dc22f0f 100644 --- a/macros/latex/contrib/glossaries/samples/sampleSort.tex +++ b/macros/latex/contrib/glossaries/samples/sampleSort.tex @@ -7,7 +7,7 @@ \documentclass{report} % If you want to add babel to this document, you may have to -% replace the : character in the labels if you are using a +% replace the : character in the labels if you are using a % language setting (e.g. french) that makes : active. \usepackage[plainpages=false,colorlinks]{hyperref} @@ -75,7 +75,7 @@ description={The number of elements in the specified set}} \pagenumbering{Alph} This is a sample document illustrating the use of the \textsf{glossaries} package. In this example, a new glossary type -called \texttt{notation} is defined, so that the document can have a +called \texttt{notation} is defined, so that the document can have a separate glossary of terms, list of acronyms and index of notation. \end{abstract} @@ -88,10 +88,10 @@ separate glossary of terms, list of acronyms and index of notation. \chapter{Introduction} \pagenumbering{arabic} -\Glspl{gls:set} are denoted by a calligraphic font +\Glspl{gls:set} are denoted by a calligraphic font e.g.\ $\gls{not:set}$. -The \gls{gls:card} of a set $\mathcal{S}$ is denoted +The \gls{gls:card} of a set $\mathcal{S}$ is denoted $\gls{not:card}$. The empty set is denoted $\gls{not:emptyset}$. diff --git a/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf b/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf Binary files differindex b4b75549e1..185bfcd745 100644 --- a/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf b/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf Binary files differindex c89060bb16..15a119ffc2 100644 --- a/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampletree.pdf b/macros/latex/contrib/glossaries/samples/sampletree.pdf Binary files differindex fe99e848e0..1d1e1dcc2e 100644 --- a/macros/latex/contrib/glossaries/samples/sampletree.pdf +++ b/macros/latex/contrib/glossaries/samples/sampletree.pdf diff --git a/macros/latex/contrib/glossaries/samples/sampleutf8.pdf b/macros/latex/contrib/glossaries/samples/sampleutf8.pdf Binary files differindex 888b1a9928..93e155d97f 100644 --- a/macros/latex/contrib/glossaries/samples/sampleutf8.pdf +++ b/macros/latex/contrib/glossaries/samples/sampleutf8.pdf diff --git a/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy b/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy index 22f392f9aa..8e9c52deb7 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy +++ b/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy @@ -414,286 +414,288 @@ ; list of allowed attributes (number formats) (define-attributes (("default" - "hyperbfit" + "hyperbfit" "pagehyperbfit" - "glsnumberformat" + "glsnumberformat" "pageglsnumberformat" - "textrm" + "textrm" "pagetextrm" - "textsf" + "textsf" "pagetextsf" - "texttt" + "texttt" "pagetexttt" - "textbf" + "textbf" "pagetextbf" - "textmd" + "textmd" "pagetextmd" - "textit" + "textit" "pagetextit" - "textup" + "textup" "pagetextup" - "textsl" + "textsl" "pagetextsl" - "textsc" + "textsc" "pagetextsc" - "emph" + "emph" "pageemph" - "glshypernumber" + "glshypernumber" "pageglshypernumber" - "hyperrm" + "hyperrm" "pagehyperrm" - "hypersf" + "hypersf" "pagehypersf" - "hypertt" + "hypertt" "pagehypertt" - "hyperbf" + "hyperbf" "pagehyperbf" - "hypermd" + "hypermd" "pagehypermd" - "hyperit" + "hyperit" "pagehyperit" - "hyperup" + "hyperup" "pagehyperup" - "hypersl" + "hypersl" "pagehypersl" - "hypersc" + "hypersc" "pagehypersc" - "hyperemph" + "hyperemph" "pagehyperemph"))) ; user defined alphabets + + ; location class definitions (define-location-class "roman-page-numbers" - ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) + ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "roman-page-numbers-roman-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "Roman-page-numbers-roman-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "arabic-page-numbers-roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "alpha-page-numbers-roman-page-numbers" + ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-roman-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-roman-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "arabic-section-numbers-roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) +) (define-location-class "Roman-page-numbers" - ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) + ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "roman-page-numbers-Roman-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "Roman-page-numbers-Roman-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "arabic-page-numbers-Roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "alpha-page-numbers-Roman-page-numbers" + ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-Roman-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-Roman-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "arabic-section-numbers-Roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) +) (define-location-class "arabic-page-numbers" - ( :sep "{}{" "arabic-numbers" :sep "}" ) + ( :sep "{}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "roman-page-numbers-arabic-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "Roman-page-numbers-arabic-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-page-numbers-arabic-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "alpha-page-numbers-arabic-page-numbers" + ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-arabic-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-arabic-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-section-numbers-arabic-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) +) (define-location-class "alpha-page-numbers" - ( :sep "{}{" "alpha" :sep "}" ) + ( :sep "{}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "roman-page-numbers-alpha-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "Roman-page-numbers-alpha-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "arabic-page-numbers-alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "alpha-page-numbers-alpha-page-numbers" + ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "arabic-section-numbers-alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) +) (define-location-class "Alpha-page-numbers" - ( :sep "{}{" "ALPHA" :sep "}" ) + ( :sep "{}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "roman-page-numbers-Alpha-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "Roman-page-numbers-Alpha-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "arabic-page-numbers-Alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "alpha-page-numbers-Alpha-page-numbers" + ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-Alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-Alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "arabic-section-numbers-Alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) +) (define-location-class "Appendix-page-numbers" - ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) + ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "roman-page-numbers-Appendix-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Roman-page-numbers-Appendix-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-page-numbers-Appendix-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "alpha-page-numbers-Appendix-page-numbers" + ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-Appendix-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-Appendix-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-section-numbers-Appendix-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) +) (define-location-class "arabic-section-numbers" - ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) + ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "roman-page-numbers-arabic-section-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Roman-page-numbers-arabic-section-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-page-numbers-arabic-section-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "alpha-page-numbers-arabic-section-numbers" + ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-arabic-section-numbers" + ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-arabic-section-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-section-numbers-arabic-section-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) +) ; user defined location classes (define-location-class "Numberstring" - (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) + (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) ; define cross-reference class @@ -709,7 +711,7 @@ "alpha-page-numbers" "Roman-page-numbers" "Alpha-page-numbers" - "Appendix-page-numbers" + "Appendix-page-numbers" "see" )) ; define the glossary markup @@ -739,8 +741,8 @@ \providecommand*\glsXpageXhypersl[2]{\setentrycounter[#1]{page}\hypersl{#2}} \providecommand*\glsXpageXhypersc[2]{\setentrycounter[#1]{page}\hypersc{#2}} \providecommand*\glsXpageXhyperemph[2]{\setentrycounter[#1]{page}\hyperemph{#2}} -\begin{theglossary}\glossaryheader~n" - :close "%~n\end{theglossary}\glossarypostamble~n" +\begin{theglossary}\glossaryheader~n" + :close "%~n\end{theglossary}\glossarypostamble~n" :tree) (markup-letter-group-list :sep "\glsgroupskip~n") (markup-indexentry :open "\relax\glsresetentrylist~n") @@ -751,74 +753,75 @@ ; define format to use for locations -(markup-locref :open "~n\glsXpageXhyperbfit" - :close "" + +(markup-locref :open "~n\glsXpageXhyperbfit" + :close "" :attr "pagehyperbfit") -(markup-locref :open "~n\glsXpageXglsnumberformat" - :close "" +(markup-locref :open "~n\glsXpageXglsnumberformat" + :close "" :attr "pageglsnumberformat") -(markup-locref :open "~n\glsXpageXtextrm" - :close "" +(markup-locref :open "~n\glsXpageXtextrm" + :close "" :attr "pagetextrm") -(markup-locref :open "~n\glsXpageXtextsf" - :close "" +(markup-locref :open "~n\glsXpageXtextsf" + :close "" :attr "pagetextsf") -(markup-locref :open "~n\glsXpageXtexttt" - :close "" +(markup-locref :open "~n\glsXpageXtexttt" + :close "" :attr "pagetexttt") -(markup-locref :open "~n\glsXpageXtextbf" - :close "" +(markup-locref :open "~n\glsXpageXtextbf" + :close "" :attr "pagetextbf") -(markup-locref :open "~n\glsXpageXtextmd" - :close "" +(markup-locref :open "~n\glsXpageXtextmd" + :close "" :attr "pagetextmd") -(markup-locref :open "~n\glsXpageXtextit" - :close "" +(markup-locref :open "~n\glsXpageXtextit" + :close "" :attr "pagetextit") -(markup-locref :open "~n\glsXpageXtextup" - :close "" +(markup-locref :open "~n\glsXpageXtextup" + :close "" :attr "pagetextup") -(markup-locref :open "~n\glsXpageXtextsl" - :close "" +(markup-locref :open "~n\glsXpageXtextsl" + :close "" :attr "pagetextsl") -(markup-locref :open "~n\glsXpageXtextsc" - :close "" +(markup-locref :open "~n\glsXpageXtextsc" + :close "" :attr "pagetextsc") -(markup-locref :open "~n\glsXpageXemph" - :close "" +(markup-locref :open "~n\glsXpageXemph" + :close "" :attr "pageemph") -(markup-locref :open "~n\glsXpageXglshypernumber" - :close "" +(markup-locref :open "~n\glsXpageXglshypernumber" + :close "" :attr "pageglshypernumber") -(markup-locref :open "~n\glsXpageXhyperrm" - :close "" +(markup-locref :open "~n\glsXpageXhyperrm" + :close "" :attr "pagehyperrm") -(markup-locref :open "~n\glsXpageXhypersf" - :close "" +(markup-locref :open "~n\glsXpageXhypersf" + :close "" :attr "pagehypersf") -(markup-locref :open "~n\glsXpageXhypertt" - :close "" +(markup-locref :open "~n\glsXpageXhypertt" + :close "" :attr "pagehypertt") -(markup-locref :open "~n\glsXpageXhyperbf" - :close "" +(markup-locref :open "~n\glsXpageXhyperbf" + :close "" :attr "pagehyperbf") -(markup-locref :open "~n\glsXpageXhypermd" - :close "" +(markup-locref :open "~n\glsXpageXhypermd" + :close "" :attr "pagehypermd") -(markup-locref :open "~n\glsXpageXhyperit" - :close "" +(markup-locref :open "~n\glsXpageXhyperit" + :close "" :attr "pagehyperit") -(markup-locref :open "~n\glsXpageXhyperup" - :close "" +(markup-locref :open "~n\glsXpageXhyperup" + :close "" :attr "pagehyperup") -(markup-locref :open "~n\glsXpageXhypersl" - :close "" +(markup-locref :open "~n\glsXpageXhypersl" + :close "" :attr "pagehypersl") -(markup-locref :open "~n\glsXpageXhypersc" - :close "" +(markup-locref :open "~n\glsXpageXhypersc" + :close "" :attr "pagehypersc") -(markup-locref :open "~n\glsXpageXhyperemph" - :close "" +(markup-locref :open "~n\glsXpageXhyperemph" + :close "" :attr "pagehyperemph") ; define letter group list format @@ -838,15 +841,16 @@ ; additional sort rules + ; The following is copied from xindy/lang/english/utf8-lang.xdy (define-sort-rule-orientations (forward backward forward forward)) (use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) + :rule-set ("en-alphabetize" "en-ignore-special")) (use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) + :rule-set ("en-resolve-diacritics" "en-ignore-special")) (use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) + :rule-set ("en-resolve-case" "en-ignore-special")) (use-rule-set :run 3 - :rule-set ("en-resolve-special")) + :rule-set ("en-resolve-special")) diff --git a/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy b/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy index 7c8d2b9e48..318205d8ff 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy +++ b/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy @@ -440,6 +440,8 @@ ; user defined alphabets + + ; location class definitions (define-location-class "roman-page-numbers" @@ -460,7 +462,7 @@ ; user defined location classes (define-location-class "Numberstring" - (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) + (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) ; define cross-reference class @@ -476,14 +478,14 @@ "alpha-page-numbers" "Roman-page-numbers" "Alpha-page-numbers" - "Appendix-page-numbers" + "Appendix-page-numbers" "see" )) ; define the glossary markup (markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" - :close "~n\end{theglossary}~n\glossarypostamble~n" + :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" + :close "~n\end{theglossary}~n\glossarypostamble~n" :tree) (markup-letter-group-list :sep "\glsgroupskip~n") (markup-indexentry :open "~n" :depth 0) @@ -494,74 +496,75 @@ ; define format to use for locations -(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" - :close "}" + +(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" + :close "}" :attr "glsnumberformat") -(markup-locref :open "~n\setentrycounter{page}\textrm{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textrm{" + :close "}" :attr "textrm") -(markup-locref :open "~n\setentrycounter{page}\textsf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textsf{" + :close "}" :attr "textsf") -(markup-locref :open "~n\setentrycounter{page}\texttt{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\texttt{" + :close "}" :attr "texttt") -(markup-locref :open "~n\setentrycounter{page}\textbf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textbf{" + :close "}" :attr "textbf") -(markup-locref :open "~n\setentrycounter{page}\textmd{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textmd{" + :close "}" :attr "textmd") -(markup-locref :open "~n\setentrycounter{page}\textit{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textit{" + :close "}" :attr "textit") -(markup-locref :open "~n\setentrycounter{page}\textup{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textup{" + :close "}" :attr "textup") -(markup-locref :open "~n\setentrycounter{page}\textsl{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textsl{" + :close "}" :attr "textsl") -(markup-locref :open "~n\setentrycounter{page}\textsc{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textsc{" + :close "}" :attr "textsc") -(markup-locref :open "~n\setentrycounter{page}\emph{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\emph{" + :close "}" :attr "emph") -(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" + :close "}" :attr "glshypernumber") -(markup-locref :open "~n\setentrycounter{page}\hyperrm{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperrm{" + :close "}" :attr "hyperrm") -(markup-locref :open "~n\setentrycounter{page}\hypersf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypersf{" + :close "}" :attr "hypersf") -(markup-locref :open "~n\setentrycounter{page}\hypertt{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypertt{" + :close "}" :attr "hypertt") -(markup-locref :open "~n\setentrycounter{page}\hyperbf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperbf{" + :close "}" :attr "hyperbf") -(markup-locref :open "~n\setentrycounter{page}\hypermd{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypermd{" + :close "}" :attr "hypermd") -(markup-locref :open "~n\setentrycounter{page}\hyperit{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperit{" + :close "}" :attr "hyperit") -(markup-locref :open "~n\setentrycounter{page}\hyperup{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperup{" + :close "}" :attr "hyperup") -(markup-locref :open "~n\setentrycounter{page}\hypersl{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypersl{" + :close "}" :attr "hypersl") -(markup-locref :open "~n\setentrycounter{page}\hypersc{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypersc{" + :close "}" :attr "hypersc") -(markup-locref :open "~n\setentrycounter{page}\hyperemph{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperemph{" + :close "}" :attr "hyperemph") -(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" + :close "}" :attr "hyperbfit") ; define letter group list format @@ -581,11 +584,11 @@ (define-sort-rule-orientations (forward backward forward forward)) (use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) + :rule-set ("en-alphabetize" "en-ignore-special")) (use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) + :rule-set ("en-resolve-diacritics" "en-ignore-special")) (use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) + :rule-set ("en-resolve-case" "en-ignore-special")) (use-rule-set :run 3 - :rule-set ("en-resolve-special")) + :rule-set ("en-resolve-special")) diff --git a/macros/latex/contrib/glossaries/samples/samplexdy.pdf b/macros/latex/contrib/glossaries/samples/samplexdy.pdf Binary files differindex 93a35e09cc..8db6ac5ddf 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy.pdf +++ b/macros/latex/contrib/glossaries/samples/samplexdy.pdf diff --git a/macros/latex/contrib/glossaries/samples/samplexdy.tex b/macros/latex/contrib/glossaries/samples/samplexdy.tex index 808a1ac5ee..2effb0da1b 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy.tex +++ b/macros/latex/contrib/glossaries/samples/samplexdy.tex @@ -17,7 +17,7 @@ % Otherwise do: % % xindy -L english -C utf8 -I xindy -M samplexdy -t samplexdy.glg -o samplexdy.gls samplexdy.glo -% +% % If you want to use arara, you need the following directives: % arara: pdflatex: { synctex: on } % arara: makeglossaries @@ -74,7 +74,7 @@ % (This command will have no effect if \noist is used) \GlsAddXdyLocation{tally}{% tally location format - :sep "\string\tallynum\space\glsopenbrace" % -> \tallynum { + :sep "\string\tallynum\space\glsopenbrace" % -> \tallynum { "arabic-numbers" % -> arabic number (0, 1, 2, etc) :sep "\glsclosebrace" % -> } } @@ -96,7 +96,7 @@ % The above three lines specify to use samplexdy-mc.xdy (supplied % with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language +% unset using \GlsSetXdyLanguage{} as all the language % dependent information is contained in samplexdy-mc.xdy % Note that using \noist means that commands like % \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have @@ -138,7 +138,7 @@ % Define glossary entries % \glshyperlink is used instead of \gls to prevent the glossary % page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the +% to ensure that the referenced entries are added to the % glossary via commands that use \glslink, \glsadd or \glssee \newglossaryentry{mcadam}{name={McAdam, John Loudon}, @@ -158,7 +158,7 @@ description={Theorem expressing a function $f(x)$ as the sum of a polynomial and a remainder: \[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a +and if $a=0$, the series is called a \gls{maclaurinseries}}} \newglossaryentry{taylorseries}{name={Taylor series}, @@ -170,7 +170,7 @@ description={English mathematician}} \newglossaryentry{mcnemar}{name={McNemar, Quinn}, first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced +description={Mathematician who introduced \gls{mcnemarstest}. This entry has the number list suppressed},nonumberlist} @@ -235,7 +235,7 @@ first={Giuseppe Peano},text={Peano}, description={Italian mathematician}} \newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by +description={A space-filling curve discovered by \gls{peano}}} \newglossaryentry{pearson}{name={Pearson, Karl}, @@ -258,14 +258,14 @@ several pages. \rule{1pt}{0.6\textheight} -This paragraph has been shoved to the bottom of the page using a rule. +This paragraph has been shoved to the bottom of the page using a rule. This paragraph spans a page break for testing purposes to ensure the glossary entry in this paragraph has the correct location. Here's the glossary entry: \gls{gaussianfn}. Check that the location is correct. This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is +it's the principle definition, the user-defined hyperbfit format is used. \newpage @@ -275,7 +275,7 @@ The section on \gls[format=)]{gauss} ends here. \section{Series Expansions} This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses +\gls{maclaurin} and \gls{taylor}. It also discusses \gls{taylorstheorem} which is related to the \gls{taylorseries}. The \gls{maclaurinseries} is a special case of the \gls{taylorseries}. diff --git a/macros/latex/contrib/glossaries/samples/samplexdy2.pdf b/macros/latex/contrib/glossaries/samples/samplexdy2.pdf Binary files differindex 7519f29bae..de19ce8acb 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy2.pdf +++ b/macros/latex/contrib/glossaries/samples/samplexdy2.pdf diff --git a/macros/latex/contrib/glossaries/samples/samplexdy2.tex b/macros/latex/contrib/glossaries/samples/samplexdy2.tex index f8d707849f..6225fb4d9f 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy2.tex +++ b/macros/latex/contrib/glossaries/samples/samplexdy2.tex @@ -1,6 +1,6 @@ % This file is public domain % -% This is a sample document illustrating how to use the +% This is a sample document illustrating how to use the % glossaries package with xindy. To create the document: % % pdflatex samplexdy2 @@ -27,14 +27,14 @@ \renewcommand*{\theHsection}{\thepart.\thesection} \renewcommand*{\thepart}{\Roman{part}} -\GlsAddXdyLocation["roman-numbers-uppercase"]{section}{:sep "[" +\GlsAddXdyLocation["roman-numbers-uppercase"]{section}{:sep "[" "arabic-numbers" :sep "]" "arabic-numbers" } % If part is 0, then \thepart will be empty, so add an extra % case to catch this: -\GlsAddXdyLocation{zero.section}{:sep "[" +\GlsAddXdyLocation{zero.section}{:sep "[" "arabic-numbers" :sep "]" "arabic-numbers" } diff --git a/macros/latex/contrib/glossaries/samples/samplexdy3.pdf b/macros/latex/contrib/glossaries/samples/samplexdy3.pdf Binary files differindex 323bc80c80..b715c047b4 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy3.pdf +++ b/macros/latex/contrib/glossaries/samples/samplexdy3.pdf diff --git a/macros/latex/contrib/glossaries/samples/samplexdy3.tex b/macros/latex/contrib/glossaries/samples/samplexdy3.tex index dcdc327b37..8a28f1c3f9 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy3.tex +++ b/macros/latex/contrib/glossaries/samples/samplexdy3.tex @@ -98,9 +98,9 @@ } % The arguments of \linkpagenumber will be -% #1 -> \customfmtnum +% #1 -> \customfmtnum % #2 -> n -% This means that the page number (n) can be used to +% This means that the page number (n) can be used to % form the hyperlink target. \newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} diff --git a/macros/latex/contrib/hologo/README.md b/macros/latex/contrib/hologo/README.md new file mode 100644 index 0000000000..ab6a141e0b --- /dev/null +++ b/macros/latex/contrib/hologo/README.md @@ -0,0 +1,7 @@ +# hologo + +hologo package for LaTeX + +This package starts a collection of logos with support for bookmarks +strings. + diff --git a/macros/latex/contrib/oberdiek/hologo.dtx b/macros/latex/contrib/hologo/hologo.dtx index 0985ff21d9..a8a8260c8a 100644 --- a/macros/latex/contrib/oberdiek/hologo.dtx +++ b/macros/latex/contrib/hologo/hologo.dtx @@ -1,13 +1,13 @@ % \iffalse meta-comment % % File: hologo.dtx -% Version: 2017/05/01 v1.13 +% Version: 2019/12/05 v1.14 % Info: A logo collection with bookmark support % % Copyright (C) % 2010-2012 Heiko Oberdiek % 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/hologo/issues % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -23,7 +23,7 @@ % % The Current Maintainers of this work are % Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/hologo/issues % % The Base Interpreter refers to any `TeX-Format', % because some files are installed in TDS:tex/generic//. @@ -35,8 +35,8 @@ % hologo-test-list.tex. % % Distribution: -% CTAN:macros/latex/contrib/oberdiek/hologo.dtx -% CTAN:macros/latex/contrib/oberdiek/hologo.pdf +% CTAN:macros/latex/contrib/hologo/hologo.dtx +% CTAN:macros/latex/contrib/hologo/hologo.pdf % % Unpacking: % (a) If hologo.ins is present: @@ -65,10 +65,10 @@ % pdflatex hologo.dtx % % Installation: -% TDS:tex/generic/oberdiek/hologo.sty -% TDS:doc/latex/oberdiek/hologo.pdf -% TDS:doc/latex/oberdiek/example/hologo-example.tex -% TDS:source/latex/oberdiek/hologo.dtx +% TDS:tex/generic/hologo/hologo.sty +% TDS:doc/latex/hologo/hologo.pdf +% TDS:doc/latex/hologo/example/hologo-example.tex +% TDS:source/latex/hologo/hologo.dtx % %<*ignore> \begingroup @@ -85,7 +85,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: hologo 2017/05/01 v1.13 A logo collection with bookmark support (HO)} +\Msg{* Package: hologo 2019/12/05 v1.14 A logo collection with bookmark support (HO)} \Msg{************************************************************************} \keepsilent @@ -97,7 +97,7 @@ This is a generated file. Project: hologo -Version: 2017/05/01 v1.13 +Version: 2019/12/05 v1.14 Copyright (C) 2010-2012 Heiko Oberdiek @@ -117,7 +117,7 @@ This work has the LPPL maintenance status "maintained". The Current Maintainers of this work are Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues +https://github.com/ho-tex/hologo/issues The Base Interpreter refers to any `TeX-Format', @@ -135,14 +135,10 @@ and the derived files \generate{% \file{hologo.ins}{\from{hologo.dtx}{install}}% \file{hologo.drv}{\from{hologo.dtx}{driver}}% - \usedir{tex/generic/oberdiek}% + \usedir{tex/generic/hologo}% \file{hologo.sty}{\from{hologo.dtx}{package}}% - \usedir{doc/latex/oberdiek/example}% + \usedir{doc/latex/hologo/example}% \file{hologo-example.tex}{\from{hologo.dtx}{example}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{hologo-test1.tex}{\from{hologo.dtx}{test1}}% -% \file{hologo-test-spacefactor.tex}{\from{hologo.dtx}{test-spacefactor}}% -% \file{hologo-test-list.tex}{\from{hologo.dtx}{test-list}}% } \catcode32=13\relax% active space @@ -169,10 +165,10 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{hologo.drv}% - [2017/05/01 v1.13 A logo collection with bookmark support (HO)]% + [2019/12/05 v1.14 A logo collection with bookmark support (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] -\usepackage{hologo}[2017/05/01] +\usepackage{hologo}[2019/12/05] \usepackage{longtable} \usepackage{array} \usepackage{paralist} @@ -189,9 +185,9 @@ and the derived files % \GetFileInfo{hologo.drv} % % \title{The \xpackage{hologo} package} -% \date{2017/05/01 v1.13} +% \date{2019/12/05 v1.14} % \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} +% {Please report any issues at \url{https://github.com/ho-tex/hologo/issues}}} % % \maketitle % @@ -461,7 +457,7 @@ and the derived files vmargin=20mm, ]{geometry} \pagestyle{empty} -\usepackage{hologo}[2017/05/01] +\usepackage{hologo}[2019/12/05] \usepackage{longtable} \usepackage{array} \setlength{\extrarowheight}{2pt} @@ -654,7 +650,7 @@ and the derived files \fi \expandafter\x\csname ver@hologo.sty\endcsname \ProvidesPackage{hologo}% - [2017/05/01 v1.13 A logo collection with bookmark support (HO)]% + [2019/12/05 v1.14 A logo collection with bookmark support (HO)]% % \end{macrocode} % % \begin{macrocode} @@ -812,23 +808,17 @@ and the derived files \TMP@RequirePackage{kvsetkeys}[2010/03/01]% \TMP@RequirePackage{kvdefinekeys}[2010/03/01]% \TMP@RequirePackage{pdftexcmds}[2010/04/01]% - \TMP@RequirePackage{ifpdf}[2010/01/28]% - \TMP@RequirePackage{ifluatex}[2010/03/01]% + \TMP@RequirePackage{iftex}[2019/11/07]% \ltx@IfUndefined{newif}{% \expandafter\let\csname newif\endcsname\ltx@newif }{}% - \TMP@RequirePackage{ifxetex}[2009/01/23]% - \TMP@RequirePackage{ifvtex}[2010/03/01]% \else \RequirePackage{ltxcmds}[2011/02/04]% \RequirePackage{infwarerr}[2010/04/08]% \RequirePackage{kvsetkeys}[2010/03/01]% \RequirePackage{kvdefinekeys}[2010/03/01]% \RequirePackage{pdftexcmds}[2010/04/01]% - \RequirePackage{ifpdf}[2010/01/28]% - \RequirePackage{ifluatex}[2010/03/01]% - \RequirePackage{ifxetex}[2009/01/23]% - \RequirePackage{ifvtex}[2010/03/01]% + \RequirePackage{iftex}[2019/11/07]% \fi % \end{macrocode} % @@ -4440,17 +4430,17 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % \paragraph{Package.} This package is available on % CTAN\footnote{\CTANpkg{hologo}}: % \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/hologo.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/hologo.pdf}] Documentation. +% \item[\CTAN{macros/latex/contrib/hologo/hologo.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/hologo/hologo.pdf}] Documentation. % \end{description} % % -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' +% \paragraph{Bundle.} All the packages of the bundle `hologo' % are also available in a TDS compliant ZIP archive. There % the packages are already unpacked and the documentation files % are generated. The files and directories obey the TDS standard. % \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] +% \item[\CTANinstall{install/macros/latex/contrib/hologo.tds.zip}] % \end{description} % \emph{TDS} refers to the standard ``A Directory Structure % for \TeX\ Files'' (\CTANpkg{tds}). Directories @@ -4458,11 +4448,11 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % % \subsection{Bundle installation} % -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the +% \paragraph{Unpacking.} Unpack the \xfile{hologo.tds.zip} in the % TDS tree (also known as \xfile{texmf} tree) of your choice. % Example (linux): % \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| +% |unzip hologo.tds.zip -d ~/texmf| % \end{quote} % % \subsection{Package installation} @@ -4480,10 +4470,10 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % \begin{quote} % \def\t{^^A % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% hologo.sty & tex/generic/oberdiek/hologo.sty\\ -% hologo.pdf & doc/latex/oberdiek/hologo.pdf\\ -% example/hologo-example.tex & doc/latex/oberdiek/example/hologo-example.tex\\ -% hologo.dtx & source/latex/oberdiek/hologo.dtx\\ +% hologo.sty & tex/generic/hologo/hologo.sty\\ +% hologo.pdf & doc/latex/hologo/hologo.pdf\\ +% example/hologo-example.tex & doc/latex/hologo/example/hologo-example.tex\\ +% hologo.dtx & source/latex/hologo/hologo.dtx\\ % \end{tabular}^^A % }^^A % \sbox0{\t}^^A @@ -4600,7 +4590,7 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % Oren Patashnik, % \textit{\hologo{BibTeX}ing}, % 1988-02-08.\\ -% \CTANpkg{base} +% \CTANpkg{bibtex} % % \bibitem{dtklogos} % Gerd Neugebauer, DANTE, @@ -4612,7 +4602,7 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % The \hologo{NTS} Team, % \textit{The \hologo{eTeX} manual}, % 1998-02.\\ -% \CTANpkg{doc} +% \CTANpkg{etex} % % \bibitem{ExTeX-FAQ} % The \hologo{ExTeX} group, @@ -4632,7 +4622,7 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % The \hologo{LyX} Team, % \textit{\hologo{LyX} -- The Document Processor}, % 2011-05-08.\\ -% \url{http://www.lyx.org/} +% \url{https://www.lyx.org/} % % \bibitem{OzTeX} % Andrew Trevorrow, @@ -4778,6 +4768,10 @@ $ #1{\string ^^^^0395}{\string ^^^^03b5}% % \item % Removing spurious comments in bibliography. (github PR from yudai-nkt) % \end{Version} +% \begin{Version}{2019/12/05 v1.14} +% \item +% Documentation updates. +% \end{Version} % \end{History} % % \PrintIndex diff --git a/macros/latex/contrib/oberdiek/hologo.pdf b/macros/latex/contrib/hologo/hologo.pdf Binary files differindex 2a5dbfc9b7..a5f4b321a4 100644 --- a/macros/latex/contrib/oberdiek/hologo.pdf +++ b/macros/latex/contrib/hologo/hologo.pdf diff --git a/macros/latex/contrib/mathcommand/README.md b/macros/latex/contrib/mathcommand/README.md index fe154ad579..ee2f7779ca 100644 --- a/macros/latex/contrib/mathcommand/README.md +++ b/macros/latex/contrib/mathcommand/README.md @@ -3,8 +3,8 @@ This directory contains the package name: mathcommand license: LaTeX Project Public License version 1.2 or above - version: v1.02 - date: 2019/07/03 + version: v1.03 + date: 2019/12/06 author: Thomas Colcombet mail: thomas.colcombet@irif.fr web: - diff --git a/macros/latex/contrib/mathcommand/mathcommand.dtx b/macros/latex/contrib/mathcommand/mathcommand.dtx index ca621c869d..e269646e1f 100644 --- a/macros/latex/contrib/mathcommand/mathcommand.dtx +++ b/macros/latex/contrib/mathcommand/mathcommand.dtx @@ -23,7 +23,7 @@ % % \iffalse %<head>\usepackage{expl3} -%<head>\ProvidesExplPackage{mathcommand}{2019/07/03}{1.02}{} +%<head>\ProvidesExplPackage{mathcommand}{2019/12/06}{1.03}{} %<*driver> \documentclass{ltxdoc} \usepackage[utf8]{inputenc} @@ -33,12 +33,13 @@ \usepackage{expl3} \usepackage{mathcommand} \usepackage[hidelinks]{hyperref} -\usepackage[quotation,scope,electronic]{knowledge} +\usepackage[quotation,scope,notion,electronic]{knowledge} \usepackage{enumitem} \CheckSum{0} \changes{1.01}{2019/05/12}{Initial version} % \changes{1.02}{2019/07/03}{Bug correction} % +\changes{1.03}{2019/12/06}{added disabling commands} % \GetFileInfo{mathcommand.sty} % \DoNotIndex{} \edef\mathcommandversiondate{\fileversion--\filedate} @@ -166,6 +167,17 @@ \knowledge{PIE}[PIEs]{doc notion} \knowledge{PIE command}[PIE commands]{doc notion} +\knowledge{notion} + | Disabling + | deactivated + | Deactivating + +\knowledge{notion} + | disabled=warning +\knowledge{notion} + | disabled=error +\knowledge{notion} + | disabled=silent \begin{document} \title{The \texttt{mathcommand} package for \LaTeX\\ @@ -177,8 +189,9 @@ \noindent The "mathcommand" package provides functionalities for defining macros \begin{compactenum} \item that have different behaviors depending on whether in math or text mode, - \item that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code, and - \item offers some iteration facilities for defining macros with similar code. + \item that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code, + \item offers some iteration facilities for defining macros with similar code, + \item and deactivating macros. \end{compactenum} The primary objective of this package is to be used together with the "knowledge" package for a proper handling of mathematical notations. @@ -190,6 +203,7 @@ \item[2019-05-12] First version of the package. V1.01 on CTAN, \item[2019-05-14] New macros \cs\IfEmptyTF, \cs\GetExponent, and \cs\GetIndex. \item[2019-07-03] Corrects bug of functions declaring PIE's issuing an error when already existing. Version 1.02 on CTAN. +\item[2019-12-06] Added disabling commands, and package options. Version 1.03 on CTAN. \end{compactdesc} @@ -333,9 +347,9 @@ For instance: \knowledge{name 7}{doc notion} \knowledge{code}{doc notion} The "mathcommand" package offer also some capabilities for automatically defining multiple - similar macros. This is done using only one command: + similar macros. This is done using only one command:\AP \begin{center} - \AP\csintro{\LoopCommands}\{"list on which to iterate"\}["name 1"]["name 2"]\dots["name 7"]\{"code@@LoopCommands"\} + \csintro{\LoopCommands}\{"list on which to iterate"\}["name 1"]["name 2"]\dots["name 7"]\{"code@@LoopCommands"\} \end{center} \AP The ""list on which to iterate"" is a list of letters or braced sequences of letters. \AP the ""name 1"", ""name 2"" up to ""name 7"" optional parameters are expandable @@ -410,6 +424,56 @@ defined with as main body \texttt{\cs\overline\{u\#2\}\#1\#3} be displayed in blue (with the "xcolor" package loaded). Note in the last case the use of the third parameter used for accessing the macros \cs\LaTeXalpha,\dots\ that are automatically generated by the \cs\renewmathcommand\ macro. + +\section{Disabling command} + +The package "mathcommand" has some facilities for deactivating commands, and suggesting replacements. +This can be useful when working with coauthors and help them using the same macros. +"Disabling" a command is achieved using \AP +\begin{center} + \csintro{\disablecommand}\{sequence of control sequences\} + \end{center} + +The result of this command is that the control sequences appearing in the sequence are "deactivated". \AP ""Deactivating"" a macro~\cs\macro\ means that: +\begin{itemize} +\item The original macro is stored as \cs\LaTeXmacro, and thus can still be used. +\item Using \cs\macro\ now displays an error message explaining that it has been disabled, that~\cs\LaTeXmacro\ can be used instead, and also provides a list suggestions of replacement that are defined by the command \cs\suggestcommand. +\end{itemize} +However, be careful: disabling a command which is used in the system or in the the style will yield an error. +Hence, it is possible to disable all math symbols but macros like \cs\dagger\ would yield problem if used in footnotes or for the affiliation of the authors. +\AP The syntax of~\cs\suggestcommand\ is as follows: + \begin{center} + \csintro{\suggestcommand}\cs\macro\{suggestion to be displayed when~\cs\macro\ is used\} + \end{center} + For instance: + \begin{code}%[10cm] + \cs\disablecommand\{\cs\leq\cs\geq\}\\ + \cs\suggestcommand\{\cs\leq\}\{Use the better looking \cs\leqslant.\}\\ + \cs\suggestcommand\{\cs\geq\}\{Use the better looking \cs\geqslant.\} + \end{code} +Now, executing \cs\leq\ yields: +\begin{verbatim} +./filename.tex:linenumber: Package mathcommand Error: +(mathcommand) The command \geq is disabled. Instead: +(mathcommand) Use \LaTeXgeq for the original macro. +(mathcommand) Use the better looking \geqslant . +\end{verbatim} + + +\section{Options} + +\AP Options can either be triggered either when the package is loaded, or using: +\begin{center} + \csintro\mathcommandconfigure\{option list\} +\end{center} +The available options are: +\begin{itemize} +\item ""disabled=error"" makes "disabled" commands produce errors, +\item ""disabled=warning"" makes "disabled" commands produce warnings, +\item ""disabled=silent"" makes "disabled" commands work as before being disabled + (useful when including code that cannot be modified). +\end{itemize} + \newpage \DocInput{mathcommand.dtx} @@ -432,8 +496,8 @@ This directory contains the package name: mathcommand license: LaTeX Project Public License version 1.2 or above - version: v1.02 - date: 2019/07/03 + version: v1.03 + date: 2019/12/06 author: Thomas Colcombet mail: thomas.colcombet@irif.fr web: - @@ -469,7 +533,7 @@ Content of the file mathcommand-ctan.zip: %<*package> % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\RequirePackage{expl3} +\RequirePackage{expl3,l3keys2e} \RequirePackage{etoolbox} \RequirePackage{xparse} @@ -917,7 +981,7 @@ Content of the file mathcommand-ctan.zip: \__xparse_check_definable:nNT {#2} \storecommand { \cs_if_exist:NTF#2{ - \cs_set_eq:cN{\__mathcommand_prefix_store_tl\cs_to_str:N#2}#2 + \cs_set_eq:cN{#1\cs_to_str:N#2}#2 } { \PackageError{mathcommand} @@ -1152,6 +1216,102 @@ Content of the file mathcommand-ctan.zip: } % \end{macrocode} % +% \subsection{Deactivating macros} +% +% \begin{macrocode} +\bool_new:N\__mathcommand_disabled_error_bool +\bool_set_true:N\__mathcommand_disabled_error_bool +\bool_new:N\__mathcommand_disabled_suggest_original_bool +\bool_set_true:N\__mathcommand_disabled_suggest_original_bool +\bool_new:N\__mathcommand_force_enabled_bool +\bool_set_false:N\__mathcommand_force_enabled_bool +% \end{macrocode} +% \begin{macrocode} +\cs_new:Nn\__mathcommand_to_disabled_help_tl:N + {mathcommand_disabled_help_\cs_to_str:N#1_tl} +% \end{macrocode} +% \begin{macrocode} +\cs_new:Nn\__mathcommand_error:nn +{ \msg_new:nnn{mathcommand}{#1}{#2} + \msg_error:nn{mathcommand}{#1} +} +\cs_new:Nn\__mathcommand_dc_error:n +{ \msg_new:nnn{mathcommand}{disabled~command}{#1} + \msg_error:nn{mathcommand}{disabled~command} +} +\cs_new:Nn\__mathcommand_dc_warning:n +{ \msg_set:nnn{mathcommand}{disabled~command}{#1} + \msg_warning:nn{mathcommand}{disabled~command} +} +\cs_new:Nn\mathcommand_disabled_error:N +{ \bool_if:NTF\__mathcommand_disabled_error_bool + {\exp_args:Nx\__mathcommand_dc_error:n} + {\exp_args:Nx\__mathcommand_dc_warning:n} + {\exp_not:n{\\The~command~\string#1~is~disabled.~Instead:\\ } + \bool_if:NT\__mathcommand_disabled_suggest_original_bool + {Use~\exp_not:c{\__mathcommand_to_storetl:N#1} for~the~original~macro.} + \exp_not:v{\__mathcommand_to_disabled_help_tl:N#1}} +} +% \end{macrocode} +% \begin{macrocode} +\msg_new:nnn{mathcommand}{unknown~command} + {\\The~control~sequence~#1 is~not~defined \\Origin~macro:~#2} +% \end{macrocode} +% \begin{macrocode} +\NewDocumentCommand\disablecommand{m}{ + \tl_map_function:nN{#1}\mathcommand_disablecommand:N +} + + +\cs_new:Nn\mathcommand_disablecommand:N + { \cs_if_exist:NTF#1{ + \__xparse_check_definable:nNT#1\disablecommand + {\tl_if_exist:cTF{\__mathcommand_to_disabled_help_tl:N#1} + {} + {\storecommand#1 + \tl_new:c{\__mathcommand_to_disabled_help_tl:N#1} + \renewcommand#1 + {\bool_if:NF + \__mathcommand_force_enabled_bool + {\mathcommand_disabled_error:N#1} + \use:c{\__mathcommand_to_storetl:N#1}}} + } + }{ + \msg_error:nnnn{mathcommand}{unknown~command}{#1}{\disablecommand} + } +} +% \end{macrocode} +% \begin{macrocode} +\NewDocumentCommand\suggestcommand{mm} + { \cs_if_exist:NTF#1{ + \cs_if_exist:cTF{\__mathcommand_to_disabled_help_tl:N#1}{ + \tl_put_right:cx{\__mathcommand_to_disabled_help_tl:N#1}{\exp_not:N\\\tl_to_str:n{#2}} + }{ + \__mathcommand_error:nn{command~not~disabled} + {\\\string\suggestcommand :~Command~#1~has~not~been~disabled.} + } + } + { \__mathcommand_error:nn{unknown~command} + {\\\string\suggestcommand :~Unknown~command~#1.} + } +} +% \end{macrocode} +% +% \subsection{Options} +% +% \begin{macrocode} +\keys_define:nn { mathcommand }{ + disabled .multichoice:, + disabled / silent .code:n = {\bool_set_true:N\__mathcommand_force_enabled_bool }, + disabled / error .code:n = {\bool_set_false:N\__mathcommand_force_enabled_bool + \bool_set_true:N\__mathcommand_disabled_error_bool}, + disabled / warning .code:n = {\bool_set_false:N\__mathcommand_force_enabled_bool + \bool_set_false:N\__mathcommand_disabled_error_bool}, +} +\ProcessKeysOptions { mathcommand } % Parses the option list +\NewDocumentCommand\mathcommandconfigure{ m } + {\keys_set:nn{ mathcommand}{ #1} } +% \end{macrocode} % \begin{macrocode} \ExplSyntaxOff % \end{macrocode} diff --git a/macros/latex/contrib/mathcommand/mathcommand.pdf b/macros/latex/contrib/mathcommand/mathcommand.pdf Binary files differindex 1924fc0b59..8e836ed0e4 100644 --- a/macros/latex/contrib/mathcommand/mathcommand.pdf +++ b/macros/latex/contrib/mathcommand/mathcommand.pdf diff --git a/macros/latex/contrib/oberdiek/README.txt b/macros/latex/contrib/oberdiek/README.txt index 238e572c18..9abb0caf69 100644 --- a/macros/latex/contrib/oberdiek/README.txt +++ b/macros/latex/contrib/oberdiek/README.txt @@ -1,4 +1,4 @@ -README 2019/12/03 +README 2019/12/05 This file describes the directory CTAN:macros/latex/contrib/oberdiek/ diff --git a/macros/latex/contrib/oberdiek/aliascnt.dtx b/macros/latex/contrib/oberdiek/aliascnt.dtx index 60289eaeaf..47bfec1ee2 100644 --- a/macros/latex/contrib/oberdiek/aliascnt.dtx +++ b/macros/latex/contrib/oberdiek/aliascnt.dtx @@ -530,7 +530,7 @@ and the derived files % \bibitem{remreset} % David Carlisle: \textit{The \xpackage{remreset} package}; % 1997/09/28; -% \CTAN{macros/latex/contrib/carlisle/remreset.sty}. +% \CTANpkg{remreset}. % % \bibitem{hyperref} % Sebastian Rahtz, Heiko Oberdiek: diff --git a/macros/latex/contrib/oberdiek/aliascnt.pdf b/macros/latex/contrib/oberdiek/aliascnt.pdf Binary files differindex 5fc66906c5..81d6089175 100644 --- a/macros/latex/contrib/oberdiek/aliascnt.pdf +++ b/macros/latex/contrib/oberdiek/aliascnt.pdf diff --git a/macros/latex/contrib/oberdiek/alphalph.pdf b/macros/latex/contrib/oberdiek/alphalph.pdf Binary files differindex 5f7559119b..91dc509bc1 100644 --- a/macros/latex/contrib/oberdiek/alphalph.pdf +++ b/macros/latex/contrib/oberdiek/alphalph.pdf diff --git a/macros/latex/contrib/oberdiek/askinclude.dtx b/macros/latex/contrib/oberdiek/askinclude.dtx index aa249c79fd..0fcab173eb 100644 --- a/macros/latex/contrib/oberdiek/askinclude.dtx +++ b/macros/latex/contrib/oberdiek/askinclude.dtx @@ -232,14 +232,14 @@ and the derived files title={makematch.sty: Pattern matching with wildcards}, date={2007-02-23}, version={1.7925}, - url={\CTANpkg{makematch}}, + url={https://ctan.org/pkg/qstest}, urldate={2011-12-02}, } @manual{excludeonly, author={Luecking, Daniel H. and Arseneau, Donald}, title={The excludeonly package}, date={2003-03-14}, - url={\CTANpkg{excludeonly}}, + url={https://ctan.org/pkg/excludeonly}, urldate={2011-12-02}, } %</bib> diff --git a/macros/latex/contrib/oberdiek/askinclude.pdf b/macros/latex/contrib/oberdiek/askinclude.pdf Binary files differindex fac4008a47..166088b282 100644 --- a/macros/latex/contrib/oberdiek/askinclude.pdf +++ b/macros/latex/contrib/oberdiek/askinclude.pdf diff --git a/macros/latex/contrib/oberdiek/auxhook.pdf b/macros/latex/contrib/oberdiek/auxhook.pdf Binary files differindex 03097c28c7..c40cf1c4b9 100644 --- a/macros/latex/contrib/oberdiek/auxhook.pdf +++ b/macros/latex/contrib/oberdiek/auxhook.pdf diff --git a/macros/latex/contrib/oberdiek/bigintcalc.pdf b/macros/latex/contrib/oberdiek/bigintcalc.pdf Binary files differindex 35efdbd674..fbcbd5f2f7 100644 --- a/macros/latex/contrib/oberdiek/bigintcalc.pdf +++ b/macros/latex/contrib/oberdiek/bigintcalc.pdf diff --git a/macros/latex/contrib/oberdiek/bitset.pdf b/macros/latex/contrib/oberdiek/bitset.pdf Binary files differindex 63ca003658..297aada2e4 100644 --- a/macros/latex/contrib/oberdiek/bitset.pdf +++ b/macros/latex/contrib/oberdiek/bitset.pdf diff --git a/macros/latex/contrib/oberdiek/bmpsize.pdf b/macros/latex/contrib/oberdiek/bmpsize.pdf Binary files differindex bd0bbf6032..d80f1cb3b8 100644 --- a/macros/latex/contrib/oberdiek/bmpsize.pdf +++ b/macros/latex/contrib/oberdiek/bmpsize.pdf diff --git a/macros/latex/contrib/oberdiek/catchfile.pdf b/macros/latex/contrib/oberdiek/catchfile.pdf Binary files differindex 79c8e5ec02..1b11040757 100644 --- a/macros/latex/contrib/oberdiek/catchfile.pdf +++ b/macros/latex/contrib/oberdiek/catchfile.pdf diff --git a/macros/latex/contrib/oberdiek/centernot.pdf b/macros/latex/contrib/oberdiek/centernot.pdf Binary files differindex c2bf34846a..abf3e1e0fd 100644 --- a/macros/latex/contrib/oberdiek/centernot.pdf +++ b/macros/latex/contrib/oberdiek/centernot.pdf diff --git a/macros/latex/contrib/oberdiek/chemarr.pdf b/macros/latex/contrib/oberdiek/chemarr.pdf Binary files differindex a6494f979f..01afbeb6f0 100644 --- a/macros/latex/contrib/oberdiek/chemarr.pdf +++ b/macros/latex/contrib/oberdiek/chemarr.pdf diff --git a/macros/latex/contrib/oberdiek/classlist.pdf b/macros/latex/contrib/oberdiek/classlist.pdf Binary files differindex 7aeefafc1f..00d23ad196 100644 --- a/macros/latex/contrib/oberdiek/classlist.pdf +++ b/macros/latex/contrib/oberdiek/classlist.pdf diff --git a/macros/latex/contrib/oberdiek/colonequals.pdf b/macros/latex/contrib/oberdiek/colonequals.pdf Binary files differindex 827f29fa40..261d0c1251 100644 --- a/macros/latex/contrib/oberdiek/colonequals.pdf +++ b/macros/latex/contrib/oberdiek/colonequals.pdf diff --git a/macros/latex/contrib/oberdiek/dvipscol.pdf b/macros/latex/contrib/oberdiek/dvipscol.pdf Binary files differindex 9b9773d2d4..b0299a1019 100644 --- a/macros/latex/contrib/oberdiek/dvipscol.pdf +++ b/macros/latex/contrib/oberdiek/dvipscol.pdf diff --git a/macros/latex/contrib/oberdiek/engord.pdf b/macros/latex/contrib/oberdiek/engord.pdf Binary files differindex 212962f233..a62c06bbfb 100644 --- a/macros/latex/contrib/oberdiek/engord.pdf +++ b/macros/latex/contrib/oberdiek/engord.pdf diff --git a/macros/latex/contrib/oberdiek/enparen.pdf b/macros/latex/contrib/oberdiek/enparen.pdf Binary files differindex dfd4019199..1982d8e4d4 100644 --- a/macros/latex/contrib/oberdiek/enparen.pdf +++ b/macros/latex/contrib/oberdiek/enparen.pdf diff --git a/macros/latex/contrib/oberdiek/eolgrab.pdf b/macros/latex/contrib/oberdiek/eolgrab.pdf Binary files differindex 9040b72738..aa92822406 100644 --- a/macros/latex/contrib/oberdiek/eolgrab.pdf +++ b/macros/latex/contrib/oberdiek/eolgrab.pdf diff --git a/macros/latex/contrib/oberdiek/etexcmds.pdf b/macros/latex/contrib/oberdiek/etexcmds.pdf Binary files differindex 4015fb4ca4..ec6137b3f2 100644 --- a/macros/latex/contrib/oberdiek/etexcmds.pdf +++ b/macros/latex/contrib/oberdiek/etexcmds.pdf diff --git a/macros/latex/contrib/oberdiek/fibnum.pdf b/macros/latex/contrib/oberdiek/fibnum.pdf Binary files differindex a4c0823fe5..d264ee2676 100644 --- a/macros/latex/contrib/oberdiek/fibnum.pdf +++ b/macros/latex/contrib/oberdiek/fibnum.pdf diff --git a/macros/latex/contrib/oberdiek/flags.pdf b/macros/latex/contrib/oberdiek/flags.pdf Binary files differindex 86af3a2b8a..f565eb626e 100644 --- a/macros/latex/contrib/oberdiek/flags.pdf +++ b/macros/latex/contrib/oberdiek/flags.pdf diff --git a/macros/latex/contrib/oberdiek/gettitlestring.pdf b/macros/latex/contrib/oberdiek/gettitlestring.pdf Binary files differindex 96c4bc13ae..2e26d964f3 100644 --- a/macros/latex/contrib/oberdiek/gettitlestring.pdf +++ b/macros/latex/contrib/oberdiek/gettitlestring.pdf diff --git a/macros/latex/contrib/oberdiek/holtxdoc.pdf b/macros/latex/contrib/oberdiek/holtxdoc.pdf Binary files differindex f59f98fc88..42b2ff13a0 100644 --- a/macros/latex/contrib/oberdiek/holtxdoc.pdf +++ b/macros/latex/contrib/oberdiek/holtxdoc.pdf diff --git a/macros/latex/contrib/oberdiek/hopatch.pdf b/macros/latex/contrib/oberdiek/hopatch.pdf Binary files differindex 73d35e1b27..cca48d5b2f 100644 --- a/macros/latex/contrib/oberdiek/hopatch.pdf +++ b/macros/latex/contrib/oberdiek/hopatch.pdf diff --git a/macros/latex/contrib/oberdiek/hycolor.pdf b/macros/latex/contrib/oberdiek/hycolor.pdf Binary files differindex 4dd03d9857..06d00f571b 100644 --- a/macros/latex/contrib/oberdiek/hycolor.pdf +++ b/macros/latex/contrib/oberdiek/hycolor.pdf diff --git a/macros/latex/contrib/oberdiek/hypbmsec.pdf b/macros/latex/contrib/oberdiek/hypbmsec.pdf Binary files differindex fa74435f4d..edbb170567 100644 --- a/macros/latex/contrib/oberdiek/hypbmsec.pdf +++ b/macros/latex/contrib/oberdiek/hypbmsec.pdf diff --git a/macros/latex/contrib/oberdiek/hypcap.pdf b/macros/latex/contrib/oberdiek/hypcap.pdf Binary files differindex 66f5284fa7..a8b46c2c1d 100644 --- a/macros/latex/contrib/oberdiek/hypcap.pdf +++ b/macros/latex/contrib/oberdiek/hypcap.pdf diff --git a/macros/latex/contrib/oberdiek/hypdestopt.pdf b/macros/latex/contrib/oberdiek/hypdestopt.pdf Binary files differindex 7d23392768..9d5bb19945 100644 --- a/macros/latex/contrib/oberdiek/hypdestopt.pdf +++ b/macros/latex/contrib/oberdiek/hypdestopt.pdf diff --git a/macros/latex/contrib/oberdiek/hypdoc.pdf b/macros/latex/contrib/oberdiek/hypdoc.pdf Binary files differindex 27d22afb5e..3186a4365a 100644 --- a/macros/latex/contrib/oberdiek/hypdoc.pdf +++ b/macros/latex/contrib/oberdiek/hypdoc.pdf diff --git a/macros/latex/contrib/oberdiek/hypgotoe.pdf b/macros/latex/contrib/oberdiek/hypgotoe.pdf Binary files differindex a6f500ff66..abbdfcda07 100644 --- a/macros/latex/contrib/oberdiek/hypgotoe.pdf +++ b/macros/latex/contrib/oberdiek/hypgotoe.pdf diff --git a/macros/latex/contrib/oberdiek/hyphsubst.pdf b/macros/latex/contrib/oberdiek/hyphsubst.pdf Binary files differindex b050f45e1f..b237a1f4d3 100644 --- a/macros/latex/contrib/oberdiek/hyphsubst.pdf +++ b/macros/latex/contrib/oberdiek/hyphsubst.pdf diff --git a/macros/latex/contrib/oberdiek/ifdraft.pdf b/macros/latex/contrib/oberdiek/ifdraft.pdf Binary files differindex 9d71e862eb..bdc21344bb 100644 --- a/macros/latex/contrib/oberdiek/ifdraft.pdf +++ b/macros/latex/contrib/oberdiek/ifdraft.pdf diff --git a/macros/latex/contrib/oberdiek/iflang.pdf b/macros/latex/contrib/oberdiek/iflang.pdf Binary files differindex e755675d02..3315aec095 100644 --- a/macros/latex/contrib/oberdiek/iflang.pdf +++ b/macros/latex/contrib/oberdiek/iflang.pdf diff --git a/macros/latex/contrib/oberdiek/intcalc.pdf b/macros/latex/contrib/oberdiek/intcalc.pdf Binary files differindex be33245d32..3173e157c4 100644 --- a/macros/latex/contrib/oberdiek/intcalc.pdf +++ b/macros/latex/contrib/oberdiek/intcalc.pdf diff --git a/macros/latex/contrib/oberdiek/kvdefinekeys.pdf b/macros/latex/contrib/oberdiek/kvdefinekeys.pdf Binary files differindex 04e7111c2d..23422cb58e 100644 --- a/macros/latex/contrib/oberdiek/kvdefinekeys.pdf +++ b/macros/latex/contrib/oberdiek/kvdefinekeys.pdf diff --git a/macros/latex/contrib/oberdiek/kvsetkeys.pdf b/macros/latex/contrib/oberdiek/kvsetkeys.pdf Binary files differindex c5afe2fbb5..06fcef8bc7 100644 --- a/macros/latex/contrib/oberdiek/kvsetkeys.pdf +++ b/macros/latex/contrib/oberdiek/kvsetkeys.pdf diff --git a/macros/latex/contrib/oberdiek/listingsutf8.dtx b/macros/latex/contrib/oberdiek/listingsutf8.dtx index 1cf8b78795..4912923a88 100644 --- a/macros/latex/contrib/oberdiek/listingsutf8.dtx +++ b/macros/latex/contrib/oberdiek/listingsutf8.dtx @@ -633,7 +633,7 @@ and the derived files % \bibitem{inputenc} % Alan Jeffrey, Frank Mittelbach, % \textit{inputenc.sty}, 2006/05/05 v1.1b. -% \CTANpkg{iputenc} +% \CTANpkg{inputenc} % % \bibitem{listings} % Carsten Heinz, Brooks Moses: diff --git a/macros/latex/contrib/oberdiek/listingsutf8.pdf b/macros/latex/contrib/oberdiek/listingsutf8.pdf Binary files differindex 3644e9b320..3adbbf83f3 100644 --- a/macros/latex/contrib/oberdiek/listingsutf8.pdf +++ b/macros/latex/contrib/oberdiek/listingsutf8.pdf diff --git a/macros/latex/contrib/oberdiek/ltxcmds.pdf b/macros/latex/contrib/oberdiek/ltxcmds.pdf Binary files differindex 5ad2de5379..a6f5e44662 100644 --- a/macros/latex/contrib/oberdiek/ltxcmds.pdf +++ b/macros/latex/contrib/oberdiek/ltxcmds.pdf diff --git a/macros/latex/contrib/oberdiek/oberdiek-bundle.bib b/macros/latex/contrib/oberdiek/oberdiek-bundle.bib index 8699846e18..447fce6508 100644 --- a/macros/latex/contrib/oberdiek/oberdiek-bundle.bib +++ b/macros/latex/contrib/oberdiek/oberdiek-bundle.bib @@ -1,10 +1,3 @@ -@manual{oberdiek:accsupp, - title={The accsupp package}, - author={Heiko Oberdiek}, - date={2018-03-28}, - version={0.5}, - url={https://ctan.org/pkg/accsupp}, -} @manual{oberdiek:aliascnt, title={The aliascnt package}, author={Heiko Oberdiek}, @@ -26,27 +19,6 @@ version={2.4}, url={https://ctan.org/pkg/askinclude}, } -@manual{oberdiek:atbegshi, - title={The atbegshi package}, - author={Heiko Oberdiek}, - date={2016-06-09}, - version={1.18}, - url={https://ctan.org/pkg/atbegshi}, -} -@manual{oberdiek:atenddvi, - title={The atenddvi package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.2}, - url={https://ctan.org/pkg/atenddvi}, -} -@manual{oberdiek:atveryend, - title={The atveryend package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.9}, - url={https://ctan.org/pkg/atveryend}, -} @manual{oberdiek:auxhook, title={The auxhook package}, author={Heiko Oberdiek}, @@ -166,13 +138,6 @@ version={1.5}, url={https://ctan.org/pkg/gettitlestring}, } -@manual{oberdiek:hologo, - title={The hologo package}, - author={Heiko Oberdiek}, - date={2017-05-01}, - version={1.13}, - url={https://ctan.org/pkg/hologo}, -} @manual{oberdiek:holtxdoc, title={The holtxdoc package}, author={Heiko Oberdiek}, @@ -341,13 +306,6 @@ version={1.14}, url={https://ctan.org/pkg/pdfescape}, } -@manual{oberdiek:pdflscape, - title={The pdflscape package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={0.11}, - url={https://ctan.org/pkg/pdflscape}, -} @manual{oberdiek:pdfrender, title={The pdfrender package}, author={Heiko Oberdiek}, @@ -362,13 +320,6 @@ version={1.4}, url={https://ctan.org/pkg/picture}, } -@manual{oberdiek:pmboxdraw, - title={The pmboxdraw package}, - author={Heiko Oberdiek}, - date={2019-02-28}, - version={1.3}, - url={https://ctan.org/pkg/pmboxdraw}, -} @manual{oberdiek:protecteddef, title={The protecteddef package}, author={Heiko Oberdiek}, @@ -383,13 +334,6 @@ version={3.5}, url={https://ctan.org/pkg/refcount}, } -@manual{oberdiek:rerunfilecheck, - title={The rerunfilecheck package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.8}, - url={https://ctan.org/pkg/rerunfilecheck}, -} @manual{oberdiek:resizegather, title={The resizegather package}, author={Heiko Oberdiek}, diff --git a/macros/latex/contrib/oberdiek/oberdiek.ins b/macros/latex/contrib/oberdiek/oberdiek.ins index d977aee442..304bd89a99 100644 --- a/macros/latex/contrib/oberdiek/oberdiek.ins +++ b/macros/latex/contrib/oberdiek/oberdiek.ins @@ -1,5 +1,5 @@ % oberdiek.ins -% 2019/12/03 +% 2019/12/05 % % Copyright (C) % 1999, 2001, 2006 Heiko Oberdiek @@ -26,13 +26,9 @@ % \input docstrip -\batchinput{accsupp.dtx} \batchinput{aliascnt.dtx} \batchinput{alphalph.dtx} \batchinput{askinclude.dtx} -\batchinput{atbegshi.dtx} -\batchinput{atenddvi.dtx} -\batchinput{atveryend.dtx} \batchinput{auxhook.dtx} \batchinput{bigintcalc.dtx} \batchinput{bitset.dtx} @@ -50,7 +46,6 @@ \batchinput{fibnum.dtx} \batchinput{flags.dtx} \batchinput{gettitlestring.dtx} -\batchinput{hologo.dtx} \batchinput{holtxdoc.dtx} \batchinput{hopatch.dtx} \batchinput{hycolor.dtx} @@ -75,13 +70,10 @@ \batchinput{pdfcolparcolumns.dtx} \batchinput{pdfcrypt.dtx} \batchinput{pdfescape.dtx} -\batchinput{pdflscape.dtx} \batchinput{pdfrender.dtx} \batchinput{picture.dtx} -\batchinput{pmboxdraw.dtx} \batchinput{protecteddef.dtx} \batchinput{refcount.dtx} -\batchinput{rerunfilecheck.dtx} \batchinput{resizegather.dtx} \batchinput{rotchiffre.dtx} \batchinput{scrindex.dtx} diff --git a/macros/latex/contrib/oberdiek/oberdiek.pdf b/macros/latex/contrib/oberdiek/oberdiek.pdf Binary files differindex c1b1fcd067..d497116d51 100644 --- a/macros/latex/contrib/oberdiek/oberdiek.pdf +++ b/macros/latex/contrib/oberdiek/oberdiek.pdf diff --git a/macros/latex/contrib/oberdiek/oberdiek.tex b/macros/latex/contrib/oberdiek/oberdiek.tex index 4de3c5bbee..2597af8c6f 100644 --- a/macros/latex/contrib/oberdiek/oberdiek.tex +++ b/macros/latex/contrib/oberdiek/oberdiek.tex @@ -10,7 +10,7 @@ \newcommand*{\Author}{Heiko Oberdiek} \newcommand*{\Email}{ho-tex at tug.org} -\newcommand*{\Date}{2019/12/15} +\newcommand*{\Date}{2019/12/05} % Copyright (C) 2006-2016 by % Heiko Oberdiek @@ -174,18 +174,12 @@ \section{Overview} \begin{overview} -\entry{accsupp}{Accessibility support by marked content}% -[\entrysep] \entry{aliascnt}{Alias counters}% [\entrysep] \entry{alphalph}{Convert numbers to letters}% [\entrysep] \entry{askinclude}{Interactive asking of included files}% [\entrysep] -\entry{atbegshi}{At begin shipout hook}% -[\entrysep] -\entry{atenddvi}{At end DVI hook}% -[\entrysep] \entry{atveryend}{Hooks at the very end of document}% [\entrysep] \entry{auxhook}{Hooks for auxiliary files}% @@ -222,8 +216,6 @@ [\entrysep] \entry{gettitlestring}{Cleanup title references}% [\entrysep] -\entry{hologo}{A logo collection with bookmark support}% -[\entrysep] \entry{holtxdoc}{Private additional ltxdoc support}% [\entrysep] \entry{hopatch}{Wrapper for package hooks}% @@ -272,20 +264,14 @@ [\entrysep] \entry{pdfescape}{Implements \hologo{pdfTeX}'s escape features}% [\entrysep] -\entry{pdflscape}{Display of landscape pages in PDF}% -[\entrysep] \entry{pdfrender}{Access to some PDF graphics parameters}% [\entrysep] \entry{picture}{Dimens for picture macros}% [\entrysep] -\entry{pmboxdraw}{Poor man's box drawing characters}% -[\entrysep] \entry{protecteddef}{Define protected commands}% [\entrysep] \entry{refcount}{Data extraction from label references}% [\entrysep] -\entry{rerunfilecheck}{Rerun checks for auxiliary files}% -[\entrysep] \entry{resizegather}{Resize overly large equations}% [\entrysep] \entry{rotchiffre}{Perform simple rotation ciphers}% @@ -320,18 +306,6 @@ \section{Packages} \hypersetup{bookmarksnumbered=false} -\subsection{\pkgsectformat{accsupp}} -\label{accsupp} -\begin{abstract} -Since PDF 1.5 portions of a page can be marked for better -accessibility support. -For example, replacement texts or expansions of abbreviations can be -provided. Package \xpackage{accsupp} starts with providing a minimal -low-level interface for programmers. Status is experimental. -\end{abstract} -\tocinclude{accsupp} - -\newpage \subsection{\pkgsectformat{aliascnt}} \label{aliascnt} \begin{abstract} @@ -359,42 +333,6 @@ interface. \tocinclude{askinclude} \newpage -\subsection{\pkgsectformat{atbegshi}} -\label{atbegshi} -\begin{abstract} -This package is a modern reimplementation of package \xpackage{everyshi} -without the burden of compatibility. It makes use of \eTeX's if available. -Both \LaTeX\ and \plainTeX\ are supported. -\end{abstract} -\tocinclude{atbegshi} - -\newpage -\subsection{\pkgsectformat{atenddvi}} -\label{atenddvi} -\begin{abstract} -\LaTeX\ offers \cs{AtBeginDvi}. This package \xpackage{atenddvi} -provides the counterpart \cs{AtEndDvi}. The execution of its -argument is delayed to the end of the document at the end of the -last page. Thus \cs{special} and \cs{write} remain effective, because -they are put into the last page. This is the main difference -to \cs{AtEndDocument}. -\end{abstract} -\tocinclude{atenddvi} - -\newpage -\subsection{\pkgsectformat{atveryend}} -\label{atveryend} -\begin{abstract} -This \LaTeX\ package provides two hooks for \verb|\end{document}| -that are executed after the hook of \cs{AtEndDocument}. -\cs{AfterLastShipout} can be used for code that is to be executed -right after the last \cs{clearpage} before the \xext{aux} file -is closed. \cs{AtVeryEndDocument} is used for code after closing -and final reading of the \xext{aux} file. -\end{abstract} -\tocinclude{atveryend} - -\newpage \subsection{\pkgsectformat{auxhook}} \label{auxhook} \begin{abstract} @@ -566,15 +504,6 @@ commands from title strings. \tocinclude{gettitlestring} \newpage -\subsection{\pkgsectformat{hologo}} -\label{hologo} -\begin{abstract} -This package starts a collection of logos with support for bookmarks -strings. -\end{abstract} -\tocinclude{hologo} - -\newpage \subsection{\pkgsectformat{holtxdoc}} \label{holtxdoc} \begin{abstract} @@ -820,16 +749,6 @@ This package implements \pdfTeX's escape features \tocinclude{pdfescape} \newpage -\subsection{\pkgsectformat{pdflscape}} -\label{pdflscape} -\begin{abstract} -Package \xpackage{pdflscape} adds PDF support to the -environment \texttt{landscape} of package \xpackage{lscape} -by setting the PDF page attribute \texttt{/Rotate}. -\end{abstract} -\tocinclude{pdflscape} - -\newpage \subsection{\pkgsectformat{pdfrender}} \label{pdfrender} \begin{abstract} @@ -852,15 +771,6 @@ dimens with calculation support can be added for these arguments. \tocinclude{picture} \newpage -\subsection{\pkgsectformat{pmboxdraw}} -\label{pmboxdraw} -\begin{abstract} -Package \xpackage{pmboxdraw} declares box drawings characters of -old code pages, e.g. cp437. It uses rules instead of using a font. -\end{abstract} -\tocinclude{pmboxdraw} - -\newpage \subsection{\pkgsectformat{protecteddef}} \label{protecteddef} \begin{abstract} @@ -887,16 +797,6 @@ from references. Packages \xpackage{hyperref}, \xpackage{nameref}, \tocinclude{refcount} \newpage -\subsection{\pkgsectformat{rerunfilecheck}} -\label{rerunfilecheck} -\begin{abstract} -The package provides additional rerun warnings if some -auxiliary files have changed. It is based on MD5 checksum, -provided by \pdfTeX. -\end{abstract} -\tocinclude{rerunfilecheck} - -\newpage \subsection{\pkgsectformat{resizegather}} \label{resizegather} \begin{abstract} diff --git a/macros/latex/contrib/oberdiek/pagegrid.pdf b/macros/latex/contrib/oberdiek/pagegrid.pdf Binary files differindex c39dc8c8fe..df8217c5f5 100644 --- a/macros/latex/contrib/oberdiek/pagegrid.pdf +++ b/macros/latex/contrib/oberdiek/pagegrid.pdf diff --git a/macros/latex/contrib/oberdiek/pagesel.pdf b/macros/latex/contrib/oberdiek/pagesel.pdf Binary files differindex 8d67402b44..f1b6ff3f2b 100644 --- a/macros/latex/contrib/oberdiek/pagesel.pdf +++ b/macros/latex/contrib/oberdiek/pagesel.pdf diff --git a/macros/latex/contrib/oberdiek/pdfcol.pdf b/macros/latex/contrib/oberdiek/pdfcol.pdf Binary files differindex 09162628ac..b06d916ed8 100644 --- a/macros/latex/contrib/oberdiek/pdfcol.pdf +++ b/macros/latex/contrib/oberdiek/pdfcol.pdf diff --git a/macros/latex/contrib/oberdiek/pdfcolfoot.pdf b/macros/latex/contrib/oberdiek/pdfcolfoot.pdf Binary files differindex df94353acb..d436446f13 100644 --- a/macros/latex/contrib/oberdiek/pdfcolfoot.pdf +++ b/macros/latex/contrib/oberdiek/pdfcolfoot.pdf diff --git a/macros/latex/contrib/oberdiek/pdfcolparallel.pdf b/macros/latex/contrib/oberdiek/pdfcolparallel.pdf Binary files differindex 60a21023c0..f009b264e1 100644 --- a/macros/latex/contrib/oberdiek/pdfcolparallel.pdf +++ b/macros/latex/contrib/oberdiek/pdfcolparallel.pdf diff --git a/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf b/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf Binary files differindex c5515f1ea3..d011accb92 100644 --- a/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf +++ b/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf diff --git a/macros/latex/contrib/oberdiek/pdfcrypt.pdf b/macros/latex/contrib/oberdiek/pdfcrypt.pdf Binary files differindex 621d52f08c..f1a7bda7d7 100644 --- a/macros/latex/contrib/oberdiek/pdfcrypt.pdf +++ b/macros/latex/contrib/oberdiek/pdfcrypt.pdf diff --git a/macros/latex/contrib/oberdiek/pdfescape.pdf b/macros/latex/contrib/oberdiek/pdfescape.pdf Binary files differindex 4100374575..b722009b2f 100644 --- a/macros/latex/contrib/oberdiek/pdfescape.pdf +++ b/macros/latex/contrib/oberdiek/pdfescape.pdf diff --git a/macros/latex/contrib/oberdiek/pdfrender.pdf b/macros/latex/contrib/oberdiek/pdfrender.pdf Binary files differindex 5379dd894b..7dbd6c2540 100644 --- a/macros/latex/contrib/oberdiek/pdfrender.pdf +++ b/macros/latex/contrib/oberdiek/pdfrender.pdf diff --git a/macros/latex/contrib/oberdiek/picture.pdf b/macros/latex/contrib/oberdiek/picture.pdf Binary files differindex 8d58447aa0..f2a3565297 100644 --- a/macros/latex/contrib/oberdiek/picture.pdf +++ b/macros/latex/contrib/oberdiek/picture.pdf diff --git a/macros/latex/contrib/oberdiek/protecteddef.pdf b/macros/latex/contrib/oberdiek/protecteddef.pdf Binary files differindex 09203fa0d1..a595477f2c 100644 --- a/macros/latex/contrib/oberdiek/protecteddef.pdf +++ b/macros/latex/contrib/oberdiek/protecteddef.pdf diff --git a/macros/latex/contrib/oberdiek/refcount.pdf b/macros/latex/contrib/oberdiek/refcount.pdf Binary files differindex a50de50a98..3f8b3f4aae 100644 --- a/macros/latex/contrib/oberdiek/refcount.pdf +++ b/macros/latex/contrib/oberdiek/refcount.pdf diff --git a/macros/latex/contrib/oberdiek/resizegather.pdf b/macros/latex/contrib/oberdiek/resizegather.pdf Binary files differindex a2535e2bd5..3ebed4c784 100644 --- a/macros/latex/contrib/oberdiek/resizegather.pdf +++ b/macros/latex/contrib/oberdiek/resizegather.pdf diff --git a/macros/latex/contrib/oberdiek/rotchiffre.pdf b/macros/latex/contrib/oberdiek/rotchiffre.pdf Binary files differindex 29808342d1..d80769cadb 100644 --- a/macros/latex/contrib/oberdiek/rotchiffre.pdf +++ b/macros/latex/contrib/oberdiek/rotchiffre.pdf diff --git a/macros/latex/contrib/oberdiek/scrindex.pdf b/macros/latex/contrib/oberdiek/scrindex.pdf Binary files differindex 887e13df7a..85f1f5ce4f 100644 --- a/macros/latex/contrib/oberdiek/scrindex.pdf +++ b/macros/latex/contrib/oberdiek/scrindex.pdf diff --git a/macros/latex/contrib/oberdiek/selinput.pdf b/macros/latex/contrib/oberdiek/selinput.pdf Binary files differindex f851f0385c..21478e37be 100644 --- a/macros/latex/contrib/oberdiek/selinput.pdf +++ b/macros/latex/contrib/oberdiek/selinput.pdf diff --git a/macros/latex/contrib/oberdiek/setouterhbox.pdf b/macros/latex/contrib/oberdiek/setouterhbox.pdf Binary files differindex be203061ab..12415ccf1c 100644 --- a/macros/latex/contrib/oberdiek/setouterhbox.pdf +++ b/macros/latex/contrib/oberdiek/setouterhbox.pdf diff --git a/macros/latex/contrib/oberdiek/settobox.pdf b/macros/latex/contrib/oberdiek/settobox.pdf Binary files differindex e9d22ad222..902aa99eee 100644 --- a/macros/latex/contrib/oberdiek/settobox.pdf +++ b/macros/latex/contrib/oberdiek/settobox.pdf diff --git a/macros/latex/contrib/oberdiek/soulutf8.pdf b/macros/latex/contrib/oberdiek/soulutf8.pdf Binary files differindex cf4409cdda..8eda2ea6bd 100644 --- a/macros/latex/contrib/oberdiek/soulutf8.pdf +++ b/macros/latex/contrib/oberdiek/soulutf8.pdf diff --git a/macros/latex/contrib/oberdiek/stackrel.pdf b/macros/latex/contrib/oberdiek/stackrel.pdf Binary files differindex 8457865306..c35d4499d3 100644 --- a/macros/latex/contrib/oberdiek/stackrel.pdf +++ b/macros/latex/contrib/oberdiek/stackrel.pdf diff --git a/macros/latex/contrib/oberdiek/stampinclude.pdf b/macros/latex/contrib/oberdiek/stampinclude.pdf Binary files differindex 3e72ead4ae..5a657155a0 100644 --- a/macros/latex/contrib/oberdiek/stampinclude.pdf +++ b/macros/latex/contrib/oberdiek/stampinclude.pdf diff --git a/macros/latex/contrib/oberdiek/tabularht.pdf b/macros/latex/contrib/oberdiek/tabularht.pdf Binary files differindex 92ea96cc84..3e22dfc27c 100644 --- a/macros/latex/contrib/oberdiek/tabularht.pdf +++ b/macros/latex/contrib/oberdiek/tabularht.pdf diff --git a/macros/latex/contrib/oberdiek/tabularkv.pdf b/macros/latex/contrib/oberdiek/tabularkv.pdf Binary files differindex 63951304d1..a51f2c8af3 100644 --- a/macros/latex/contrib/oberdiek/tabularkv.pdf +++ b/macros/latex/contrib/oberdiek/tabularkv.pdf diff --git a/macros/latex/contrib/oberdiek/telprint.pdf b/macros/latex/contrib/oberdiek/telprint.pdf Binary files differindex 090b5974ab..02fdbe6584 100644 --- a/macros/latex/contrib/oberdiek/telprint.pdf +++ b/macros/latex/contrib/oberdiek/telprint.pdf diff --git a/macros/latex/contrib/oberdiek/thepdfnumber.pdf b/macros/latex/contrib/oberdiek/thepdfnumber.pdf Binary files differindex b46cc89055..328d5b543b 100644 --- a/macros/latex/contrib/oberdiek/thepdfnumber.pdf +++ b/macros/latex/contrib/oberdiek/thepdfnumber.pdf diff --git a/macros/latex/contrib/oberdiek/twoopt.pdf b/macros/latex/contrib/oberdiek/twoopt.pdf Binary files differindex fcd3dea9b4..b339767c13 100644 --- a/macros/latex/contrib/oberdiek/twoopt.pdf +++ b/macros/latex/contrib/oberdiek/twoopt.pdf diff --git a/macros/latex/contrib/oberdiek/uniquecounter.pdf b/macros/latex/contrib/oberdiek/uniquecounter.pdf Binary files differindex 78158e1f15..e8e07a91ca 100644 --- a/macros/latex/contrib/oberdiek/uniquecounter.pdf +++ b/macros/latex/contrib/oberdiek/uniquecounter.pdf diff --git a/macros/latex/contrib/pdflscape/README.md b/macros/latex/contrib/pdflscape/README.md new file mode 100644 index 0000000000..89416f1b8d --- /dev/null +++ b/macros/latex/contrib/pdflscape/README.md @@ -0,0 +1,10 @@ +# pdflscape + +pdflscape package for LaTeX + + +Package pdflscape adds PDF support to the +environment landscape of package lscape +by setting the PDF page attribute /Rotate. + + diff --git a/macros/latex/contrib/oberdiek/pdflscape.dtx b/macros/latex/contrib/pdflscape/pdflscape.dtx index e808b973e3..d85ffb9bcd 100644 --- a/macros/latex/contrib/oberdiek/pdflscape.dtx +++ b/macros/latex/contrib/pdflscape/pdflscape.dtx @@ -1,13 +1,13 @@ % \iffalse meta-comment % % File: pdflscape.dtx -% Version: 2016/05/14 v0.11 +% Version: 2019/12/05 v0.12 % Info: Display of landscape pages in PDF % % Copyright (C) % 2001, 2004, 2006-2008 Heiko Oberdiek % 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/pdflscape/issues % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -23,19 +23,15 @@ % % The Current Maintainers of this work are % Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/pdflscape/issues % % This work consists of the main source file pdflscape.dtx % and the derived files % pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, -% pdflscape-test1.tex, pdflscape-test2.tex, -% pdflscape-test3.tex, pdflscape-test4.tex, -% pdflscape-test5.tex, pdflscape-test6.tex, -% pdflscape-test6.txt, ExtractRotate.java. % % Distribution: -% CTAN:macros/latex/contrib/oberdiek/pdflscape.dtx -% CTAN:macros/latex/contrib/oberdiek/pdflscape.pdf +% CTAN:macros/latex/contrib/pdflscape/pdflscape.dtx +% CTAN:macros/latex/contrib/pdflscape/pdflscape.pdf % % Unpacking: % (a) If pdflscape.ins is present: @@ -64,9 +60,9 @@ % pdflatex pdflscape.dtx % % Installation: -% TDS:tex/latex/oberdiek/pdflscape.sty -% TDS:doc/latex/oberdiek/pdflscape.pdf -% TDS:source/latex/oberdiek/pdflscape.dtx +% TDS:tex/latex/pdflscape/pdflscape.sty +% TDS:doc/latex/pdflscape/pdflscape.pdf +% TDS:source/latex/pdflscape/pdflscape.dtx % %<*ignore> \begingroup @@ -83,7 +79,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: pdflscape 2016/05/14 v0.11 Display of landscape pages in PDF (HO)} +\Msg{* Package: pdflscape 2019/12/05 v0.12 Display of landscape pages in PDF (HO)} \Msg{************************************************************************} \keepsilent @@ -95,7 +91,7 @@ This is a generated file. Project: pdflscape -Version: 2016/05/14 v0.11 +Version: 2019/12/05 v0.12 Copyright (C) 2001, 2004, 2006-2008 Heiko Oberdiek @@ -115,16 +111,12 @@ This work has the LPPL maintenance status "maintained". The Current Maintainers of this work are Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues +https://github.com/ho-tex/pdflscape/issues This work consists of the main source file pdflscape.dtx and the derived files pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, - pdflscape-test1.tex, pdflscape-test2.tex, - pdflscape-test3.tex, pdflscape-test4.tex, - pdflscape-test5.tex, pdflscape-test6.tex, - pdflscape-test6.txt, ExtractRotate.java. \endpreamble \let\MetaPrefix\DoubleperCent @@ -132,21 +124,8 @@ and the derived files \generate{% \file{pdflscape.ins}{\from{pdflscape.dtx}{install}}% \file{pdflscape.drv}{\from{pdflscape.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% + \usedir{tex/latex/pdflscape}% \file{pdflscape.sty}{\from{pdflscape.dtx}{package}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{pdflscape-test1.tex}{\from{pdflscape.dtx}{test0,test1}}% -% \file{pdflscape-test2.tex}{\from{pdflscape.dtx}{test0,test2}}% -% \file{pdflscape-test3.tex}{\from{pdflscape.dtx}{test0,test3}}% -% \file{pdflscape-test4.tex}{\from{pdflscape.dtx}{test0,test4}}% -% \file{pdflscape-test5.tex}{\from{pdflscape.dtx}{test5}}% -% \file{pdflscape-test6.tex}{\from{pdflscape.dtx}{test6}}% - \nopreamble - \nopostamble -% \file{pdflscape-test6.txt}{\from{pdflscape.dtx}{result6}}% -% \file{ExtractRotate.java}{\from{pdflscape.dtx}{ExtractRotate}}% -% \usedir{source/latex/oberdiek/catalogue}% -% \file{pdflscape.xml}{\from{pdflscape.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -173,7 +152,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{pdflscape.drv}% - [2016/05/14 v0.11 Display of landscape pages in PDF (HO)]% + [2019/12/05 v0.12 Display of landscape pages in PDF (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \usepackage{graphics} @@ -188,9 +167,9 @@ and the derived files % \GetFileInfo{pdflscape.drv} % % \title{The \xpackage{pdflscape} package} -% \date{2016/05/14 v0.11} +% \date{2019/12/05 v0.12} % \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} +% {Please report any issues at \url{https://github.com/ho-tex/pdflscape/issues}}} % % \maketitle % @@ -255,7 +234,7 @@ and the derived files % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pdflscape}% - [2016/05/14 v0.11 Display of landscape pages in PDF (HO)] + [2019/12/05 v0.12 Display of landscape pages in PDF (HO)] % \end{macrocode} % % \subsection{Driver options} @@ -294,6 +273,7 @@ and the derived files \else \expandafter\PassOptionsToPackage\expandafter{\PLS@temp}{lscape}% \fi +\RequirePackage{iftex}[2019/11/07]% \RequirePackage{lscape} % \end{macrocode} % @@ -302,7 +282,6 @@ and the derived files % \subsubsection{Driver \xoption{pdftex}} % % \begin{macrocode} -\RequirePackage{ifpdf}[2006/02/20] \def\PLS@temp{pdftex} \ifpdf \ifx\PLS@driver\@empty @@ -323,7 +302,6 @@ and the derived files % \subsubsection{Driver \xoption{xetex}} % % \begin{macrocode} -\RequirePackage{ifxetex}% \def\PLS@temp{dvipdfm} \ifxetex \ifx\PLS@driver\@empty @@ -601,17 +579,17 @@ and the derived files % \paragraph{Package.} This package is available on % CTAN\footnote{\CTANpkg{pdflscape}}: % \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/pdflscape.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/pdflscape.pdf}] Documentation. +% \item[\CTAN{macros/latex/contrib/pdflscape/pdflscape.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/pdflscape/pdflscape.pdf}] Documentation. % \end{description} % % -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' +% \paragraph{Bundle.} All the packages of the bundle `pdflscape' % are also available in a TDS compliant ZIP archive. There % the packages are already unpacked and the documentation files % are generated. The files and directories obey the TDS standard. % \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] +% \item[\CTANinstall{install/macros/latex/contrib/pdflscape.tds.zip}] % \end{description} % \emph{TDS} refers to the standard ``A Directory Structure % for \TeX\ Files'' (\CTANpkg{tds}). Directories @@ -619,11 +597,11 @@ and the derived files % % \subsection{Bundle installation} % -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the +% \paragraph{Unpacking.} Unpack the \xfile{pdflscape.tds.zip} in the % TDS tree (also known as \xfile{texmf} tree) of your choice. % Example (linux): % \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| +% |unzip pdflscape.tds.zip -d ~/texmf| % \end{quote} % % \subsection{Package installation} @@ -641,11 +619,9 @@ and the derived files % \begin{quote} % \def\t{^^A % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% pdflscape.sty & tex/latex/oberdiek/pdflscape.sty\\ -% pdflscape.pdf & doc/latex/oberdiek/pdflscape.pdf\\ -% test/pdflscape-test6.txt & doc/latex/oberdiek/test/pdflscape-test6.txt\\ -% test/ExtractRotate.java & doc/latex/oberdiek/test/ExtractRotate.java\\ -% pdflscape.dtx & source/latex/oberdiek/pdflscape.dtx\\ +% pdflscape.sty & tex/latex/pdflscape/pdflscape.sty\\ +% pdflscape.pdf & doc/latex/pdflscape/pdflscape.pdf\\ +% pdflscape.dtx & source/latex/pdflscape/pdflscape.dtx\\ % \end{tabular}^^A % }^^A % \sbox0{\t}^^A @@ -817,6 +793,11 @@ and the derived files % \item % LuaTeX Compatibility % \end{Version} +% \begin{Version}{2019/12/05 v0.12} +% \item +% Documentation updates. +% \item \xpackage{iftex} package. +% \end{Version} % \end{History} % % \PrintIndex diff --git a/macros/latex/contrib/oberdiek/pdflscape.pdf b/macros/latex/contrib/pdflscape/pdflscape.pdf Binary files differindex 39e9c4ff80..b94089a91e 100644 --- a/macros/latex/contrib/oberdiek/pdflscape.pdf +++ b/macros/latex/contrib/pdflscape/pdflscape.pdf diff --git a/macros/latex/contrib/pmboxdraw/README.md b/macros/latex/contrib/pmboxdraw/README.md new file mode 100644 index 0000000000..baf8179b57 --- /dev/null +++ b/macros/latex/contrib/pmboxdraw/README.md @@ -0,0 +1,10 @@ +# pmboxdraw + +pmboxdraw for LaTeX + + +Package pmboxdraw declares box drawings characters of +old code pages, e.g. cp437. It uses rules instead of using a font. + + + diff --git a/macros/latex/contrib/oberdiek/pmboxdraw.dtx b/macros/latex/contrib/pmboxdraw/pmboxdraw.dtx index 480eac755d..68e6ce8dc5 100644 --- a/macros/latex/contrib/oberdiek/pmboxdraw.dtx +++ b/macros/latex/contrib/pmboxdraw/pmboxdraw.dtx @@ -1,13 +1,13 @@ % \iffalse meta-comment % % File: pmboxdraw.dtx -% Version: 2019/02/28 v1.3 +% Version: 2019/12/05 v1.4 % Info: Poor man's box drawing characters % % Copyright (C) % 2006, 2011 Heiko Oberdiek % 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/pmboxdraw/issues % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -23,7 +23,7 @@ % % The Current Maintainers of this work are % Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/pmboxdraw/issues % % This work consists of the main source file pmboxdraw.dtx % and the derived files @@ -31,8 +31,8 @@ % pmboxdrawenc.dfu, pmboxdraw-test1.tex. % % Distribution: -% CTAN:macros/latex/contrib/oberdiek/pmboxdraw.dtx -% CTAN:macros/latex/contrib/oberdiek/pmboxdraw.pdf +% CTAN:macros/latex/contrib/pmboxdraw/pmboxdraw.dtx +% CTAN:macros/latex/contrib/pmboxdraw/pmboxdraw.pdf % % Unpacking: % (a) If pmboxdraw.ins is present: @@ -61,10 +61,10 @@ % pdflatex pmboxdraw.dtx % % Installation: -% TDS:tex/latex/oberdiek/pmboxdraw.sty -% TDS:tex/latex/oberdiek/pmboxdrawenc.dfu -% TDS:doc/latex/oberdiek/pmboxdraw.pdf -% TDS:source/latex/oberdiek/pmboxdraw.dtx +% TDS:tex/latex/pmboxdraw/pmboxdraw.sty +% TDS:tex/latex/pmboxdraw/pmboxdrawenc.dfu +% TDS:doc/latex/pmboxdraw/pmboxdraw.pdf +% TDS:source/latex/pmboxdraw/pmboxdraw.dtx % %<*ignore> \begingroup @@ -81,7 +81,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: pmboxdraw 2019/02/28 v1.3 Poor man's box drawing characters (HO)} +\Msg{* Package: pmboxdraw 2019/12/05 v1.4 Poor man's box drawing characters (HO)} \Msg{************************************************************************} \keepsilent @@ -93,7 +93,7 @@ This is a generated file. Project: pmboxdraw -Version: 2019/02/28 v1.3 +Version: 2019/12/05 v1.4 Copyright (C) 2006, 2011 Heiko Oberdiek @@ -113,7 +113,7 @@ This work has the LPPL maintenance status "maintained". The Current Maintainers of this work are Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues +https://github.com/ho-tex/pmboxdraw/issues This work consists of the main source file pmboxdraw.dtx @@ -127,11 +127,9 @@ and the derived files \generate{% \file{pmboxdraw.ins}{\from{pmboxdraw.dtx}{install}}% \file{pmboxdraw.drv}{\from{pmboxdraw.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% + \usedir{tex/latex/pmboxdraw}% \file{pmboxdraw.sty}{\from{pmboxdraw.dtx}{package}}% \file{pmboxdrawenc.dfu}{\from{pmboxdraw.dtx}{utf8}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{pmboxdraw-test1.tex}{\from{pmboxdraw.dtx}{test1}}% } \catcode32=13\relax% active space @@ -158,7 +156,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{pmboxdraw.drv}% - [2019/02/28 v1.3 Poor man's box drawing characters (HO)]% + [2019/12/05 v1.4 Poor man's box drawing characters (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \usepackage{color} @@ -180,9 +178,9 @@ and the derived files % \GetFileInfo{pmboxdraw.drv} % % \title{The \xpackage{pmboxdraw} package} -% \date{2019/02/28 v1.3} +% \date{2019/12/05 v1.4} % \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} +% {Please report any issues at \url{https://github.com/ho-tex/pmboxdraw/issues}}} % % \maketitle % @@ -211,7 +209,7 @@ and the derived files % \textSFxxxix===================\textSFxxv\\ % | P M B O X D R A W |\\ % \textSFxxxviii ==\textSFxlvii============\textSFxlvii===\textSFxxvi\\ -% ~~~\textSFxi~2019/02/28 \textSFxi\\ +% ~~~\textSFxi~2019/12/05 \textSFxi\\ % ~~~\textSFii------------\textSFiv % \end{quote} % @@ -547,7 +545,7 @@ and the derived files \fi \expandafter\x\csname ver@pmboxdraw.sty\endcsname \ProvidesPackage{pmboxdraw}% - [2019/02/28 v1.3 Poor man's box drawing characters (HO)]% + [2019/12/05 v1.4 Poor man's box drawing characters (HO)]% % \end{macrocode} % % \begin{macrocode} @@ -5103,7 +5101,7 @@ $ \kern.5\pmbd@C % \begin{macrocode} %<*utf8> \ProvidesFile{pmboxdrawenc.dfu}% - [2019/02/28 v1.3 UTF-8 support for box drawing characters]% + [2019/12/05 v1.4 UTF-8 support for box drawing characters]% % \end{macrocode} % % \begin{macrocode} @@ -5253,17 +5251,17 @@ $ \kern.5\pmbd@C % \paragraph{Package.} This package is available on % CTAN\footnote{\CTANpkg{pmboxdraw}}: % \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/pmboxdraw.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/pmboxdraw.pdf}] Documentation. +% \item[\CTAN{macros/latex/contrib/pmboxdraw/pmboxdraw.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/pmboxdraw/pmboxdraw.pdf}] Documentation. % \end{description} % % -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' +% \paragraph{Bundle.} All the packages of the bundle `pmboxdraw' % are also available in a TDS compliant ZIP archive. There % the packages are already unpacked and the documentation files % are generated. The files and directories obey the TDS standard. % \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] +% \item[\CTANinstall{install/macros/latex/contrib/pmboxdraw.tds.zip}] % \end{description} % \emph{TDS} refers to the standard ``A Directory Structure % for \TeX\ Files'' (\CTANpkg{tds}). Directories @@ -5271,11 +5269,11 @@ $ \kern.5\pmbd@C % % \subsection{Bundle installation} % -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the +% \paragraph{Unpacking.} Unpack the \xfile{pmboxdraw.tds.zip} in the % TDS tree (also known as \xfile{texmf} tree) of your choice. % Example (linux): % \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| +% |unzip pmboxdraw.tds.zip -d ~/texmf| % \end{quote} % % \subsection{Package installation} @@ -5293,10 +5291,10 @@ $ \kern.5\pmbd@C % \begin{quote} % \def\t{^^A % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% pmboxdraw.sty & tex/latex/oberdiek/pmboxdraw.sty\\ -% pmboxdrawenc.dfu & tex/latex/oberdiek/pmboxdrawenc.dfu\\ -% pmboxdraw.pdf & doc/latex/oberdiek/pmboxdraw.pdf\\ -% pmboxdraw.dtx & source/latex/oberdiek/pmboxdraw.dtx\\ +% pmboxdraw.sty & tex/latex/pmboxdraw/pmboxdraw.sty\\ +% pmboxdrawenc.dfu & tex/latex/pmboxdraw/pmboxdrawenc.dfu\\ +% pmboxdraw.pdf & doc/latex/pmboxdraw/pmboxdraw.pdf\\ +% pmboxdraw.dtx & source/latex/pmboxdraw/pmboxdraw.dtx\\ % \end{tabular}^^A % }^^A % \sbox0{\t}^^A @@ -5422,13 +5420,13 @@ $ \kern.5\pmbd@C % Unicode Inc., % The Unicode Standard, Version 4.1, Box Drawing, Range: 2500--257F, % 2005. -% \url{http://www.unicode.org/charts/PDF/U2500.pdf} +% \url{https://www.unicode.org/charts/PDF/U2500.pdf} % % \bibitem{2580} % Unicode Inc., % The Unicode Standard, Version 4.1, Block Elements, Range: 2580--259F, % 2005. -% \url{http://www.unicode.org/charts/PDF/U2580.pdf} +% \url{https://www.unicode.org/charts/PDF/U2580.pdf} % % \end{thebibliography} % @@ -5451,6 +5449,10 @@ $ \kern.5\pmbd@C % \item % Fix character U+257F (gh issue 59) % \end{Version} +% \begin{Version}{2019/12/05 v1.4} +% \item +% Documentation updates. +% \end{Version} % \end{History} % % \PrintIndex diff --git a/macros/latex/contrib/oberdiek/pmboxdraw.pdf b/macros/latex/contrib/pmboxdraw/pmboxdraw.pdf Binary files differindex 26299b48cd..a136b0e530 100644 --- a/macros/latex/contrib/oberdiek/pmboxdraw.pdf +++ b/macros/latex/contrib/pmboxdraw/pmboxdraw.pdf diff --git a/macros/latex/contrib/rerunfilecheck/README.md b/macros/latex/contrib/rerunfilecheck/README.md new file mode 100644 index 0000000000..325e343e02 --- /dev/null +++ b/macros/latex/contrib/rerunfilecheck/README.md @@ -0,0 +1,11 @@ +# rerunfilecheck + +rerunfilecheck for LaTeX + + + +The package provides additional rerun warnings if some +auxiliary files have changed. It is based on MD5 checksum, +provided by pdfTeX. + + diff --git a/macros/latex/contrib/oberdiek/rerunfilecheck.dtx b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx index 173044c8c0..1418675669 100644 --- a/macros/latex/contrib/oberdiek/rerunfilecheck.dtx +++ b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx @@ -1,13 +1,13 @@ % \iffalse meta-comment % % File: rerunfilecheck.dtx -% Version: 2016/05/16 v1.8 +% Version: 2019/12/05 v1.9 % Info: Rerun checks for auxiliary files % % Copyright (C) % 2009-2011 Heiko Oberdiek % 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/rerunfilecheck/issues % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -23,7 +23,7 @@ % % The Current Maintainers of this work are % Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues +% https://github.com/ho-tex/rerunfilecheck/issues % % This work consists of the main source file rerunfilecheck.dtx % and the derived files @@ -32,8 +32,8 @@ % rerunfilecheck-test1.tex. % % Distribution: -% CTAN:macros/latex/contrib/oberdiek/rerunfilecheck.dtx -% CTAN:macros/latex/contrib/oberdiek/rerunfilecheck.pdf +% CTAN:macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx +% CTAN:macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf % % Unpacking: % (a) If rerunfilecheck.ins is present: @@ -62,10 +62,10 @@ % pdflatex rerunfilecheck.dtx % % Installation: -% TDS:tex/latex/oberdiek/rerunfilecheck.sty -% TDS:doc/latex/oberdiek/rerunfilecheck.pdf -% TDS:doc/latex/oberdiek/rerunfilecheck-example.cfg -% TDS:source/latex/oberdiek/rerunfilecheck.dtx +% TDS:tex/latex/rerunfilecheck/rerunfilecheck.sty +% TDS:doc/latex/rerunfilecheck/rerunfilecheck.pdf +% TDS:doc/latex/rerunfilecheck/rerunfilecheck-example.cfg +% TDS:source/latex/rerunfilecheck/rerunfilecheck.dtx % %<*ignore> \begingroup @@ -82,7 +82,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)} +\Msg{* Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO)} \Msg{************************************************************************} \keepsilent @@ -94,7 +94,7 @@ This is a generated file. Project: rerunfilecheck -Version: 2016/05/16 v1.8 +Version: 2019/12/05 v1.9 Copyright (C) 2009-2011 Heiko Oberdiek @@ -114,7 +114,7 @@ This work has the LPPL maintenance status "maintained". The Current Maintainers of this work are Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues +https://github.com/ho-tex/rerunfilecheck/issues This work consists of the main source file rerunfilecheck.dtx @@ -129,16 +129,12 @@ and the derived files \generate{% \file{rerunfilecheck.ins}{\from{rerunfilecheck.dtx}{install}}% \file{rerunfilecheck.drv}{\from{rerunfilecheck.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% + \usedir{tex/latex/rerunfilecheck}% \file{rerunfilecheck.sty}{\from{rerunfilecheck.dtx}{package}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{rerunfilecheck-test1.tex}{\from{rerunfilecheck.dtx}{test1}}% \nopreamble \nopostamble - \usedir{doc/latex/oberdiek}% + \usedir{doc/latex/rerunfilecheck}% \file{rerunfilecheck-example.cfg}{\from{rerunfilecheck.dtx}{cfg}}% -% \usedir{source/latex/oberdiek/catalogue}% -% \file{rerunfilecheck.xml}{\from{rerunfilecheck.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -165,7 +161,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{rerunfilecheck.drv}% - [2016/05/16 v1.8 Rerun checks for auxiliary files (HO)]% + [2019/12/05 v1.9 Rerun checks for auxiliary files (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \begin{document} @@ -179,9 +175,9 @@ and the derived files % \GetFileInfo{rerunfilecheck.drv} % % \title{The \xpackage{rerunfilecheck} package} -% \date{2016/05/16 v1.8} +% \date{2019/12/05 v1.9} % \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} +% {Please report any issues at \url{https://github.com/ho-tex/rerunfilecheck/issues}}} % % \maketitle % @@ -258,7 +254,7 @@ and the derived files % Example for the configuration file: % \begin{macrocode} %<*cfg> -\ProvidesFile{rerunfilecheck.cfg}[2016/05/16 Default configuration]% +\ProvidesFile{rerunfilecheck.cfg}[2019/12/05 Default configuration]% \RerunFileCheckSetup{aux} %</cfg> % \end{macrocode} @@ -359,7 +355,7 @@ and the derived files % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{rerunfilecheck}% - [2016/05/16 v1.8 Rerun checks for auxiliary files (HO)] + [2019/12/05 v1.9 Rerun checks for auxiliary files (HO)] % \end{macrocode} % % \subsection{Options} @@ -574,7 +570,7 @@ and the derived files % \subsection{Rerun check} % % \begin{macrocode} -\RequirePackage{atveryend}[2016/05/16] +\RequirePackage{atveryend}[2019/12/05] \RequirePackage{uniquecounter}[2009/12/18] % \end{macrocode} % @@ -715,17 +711,17 @@ and the derived files % \paragraph{Package.} This package is available on % CTAN\footnote{\CTANpkg{rerunfilecheck}}: % \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/rerunfilecheck.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/rerunfilecheck.pdf}] Documentation. +% \item[\CTAN{macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf}] Documentation. % \end{description} % % -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' +% \paragraph{Bundle.} All the packages of the bundle `rerunfilecheck' % are also available in a TDS compliant ZIP archive. There % the packages are already unpacked and the documentation files % are generated. The files and directories obey the TDS standard. % \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] +% \item[\CTANinstall{install/macros/latex/contrib/rerunfilecheck.tds.zip}] % \end{description} % \emph{TDS} refers to the standard ``A Directory Structure % for \TeX\ Files'' (\CTANpkg{tds}). Directories @@ -733,11 +729,11 @@ and the derived files % % \subsection{Bundle installation} % -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the +% \paragraph{Unpacking.} Unpack the \xfile{rerunfilecheck.tds.zip} in the % TDS tree (also known as \xfile{texmf} tree) of your choice. % Example (linux): % \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| +% |unzip rerunfilecheck.tds.zip -d ~/texmf| % \end{quote} % % \subsection{Package installation} @@ -755,10 +751,10 @@ and the derived files % \begin{quote} % \def\t{^^A % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% rerunfilecheck.sty & tex/latex/oberdiek/rerunfilecheck.sty\\ -% rerunfilecheck.pdf & doc/latex/oberdiek/rerunfilecheck.pdf\\ -% rerunfilecheck-example.cfg & doc/latex/oberdiek/rerunfilecheck-example.cfg\\ -% rerunfilecheck.dtx & source/latex/oberdiek/rerunfilecheck.dtx\\ +% rerunfilecheck.sty & tex/latex/rerunfilecheck/rerunfilecheck.sty\\ +% rerunfilecheck.pdf & doc/latex/rerunfilecheck/rerunfilecheck.pdf\\ +% rerunfilecheck-example.cfg & doc/latex/rerunfilecheck/rerunfilecheck-example.cfg\\ +% rerunfilecheck.dtx & source/latex/rerunfilecheck/rerunfilecheck.dtx\\ % \end{tabular}^^A % }^^A % \sbox0{\t}^^A @@ -913,6 +909,10 @@ and the derived files % \item % Documentation updates. % \end{Version} +% \begin{Version}{2019/12/05 v1.9} +% \item +% Documentation updates. +% \end{Version} % \end{History} % % \PrintIndex diff --git a/macros/latex/contrib/oberdiek/rerunfilecheck.pdf b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf Binary files differindex f0d393ffa1..1bbf8a13e6 100644 --- a/macros/latex/contrib/oberdiek/rerunfilecheck.pdf +++ b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf |