From 9144cd7fe8a83679a67b2739e85be044b997c4a7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 26 Jan 2016 22:53:06 +0000 Subject: glossaries (24jan15) git-svn-id: svn://tug.org/texlive/trunk@39488 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/glossaries/glossaries.dtx | 1526 +++++++++++++------- .../source/latex/glossaries/glossaries.ins | 8 +- 2 files changed, 990 insertions(+), 544 deletions(-) (limited to 'Master/texmf-dist/source/latex/glossaries') diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx index 710d73d2b69..bd11571370f 100644 --- a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx +++ b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx @@ -1,18 +1,16 @@ %\iffalse % glossaries.dtx generated using makedtx version 1.1 (c) Nicola Talbot % Command line args: -% -comment ".*\.perl" -% -comment ".*\.tex" -% -comment ".*\.xdy" -% -macrocode ".*\.perl" -% -macrocode ".*\.tex" -% -macrocode ".*\.xdy" % -codetitle "Main Package Code" -% -doc "glossaries-manual.tex" -% -src "glossaries.sty\Z=>glossaries.sty" +% -setambles ".*\.perl=>\nopreamble\nopostamble" +% -setambles ".*\.tex=>\nopreamble\nopostamble" +% -setambles ".*\.xdy=>\nopreamble\nopostamble" +% -author "Nicola Talbot" +% -src "glossaries\.sty\Z=>glossaries.sty" % -src "glossaries-prefix.sty\Z=>glossaries-prefix.sty" % -src "(glossary-.+)\.(sty)\Z=>\1.\2" -% -src "(glossaries-compatible-.+)\.(sty)\Z=>\1.\2" +% -src "(glossaries-compatible-207)\.(sty)\Z=>\1.\2" +% -src "(glossaries-compatible-307)\.(sty)\Z=>\1.\2" % -src "(glossaries-accsupp)\.(sty)\Z=>\1.\2" % -src "(glossaries-babel)\.(sty)\Z=>\1.\2" % -src "(glossaries-polyglossia)\.(sty)\Z=>\1.\2" @@ -24,12 +22,16 @@ % -src "(samplexdy-mc.*\.xdy)\Z=>\1" % -src "(database.*\.tex)\Z=>\1" % -src "(.*\.perl)\Z=>\1" -% -setambles ".*\.perl=>\nopreamble\nopostamble" -% -setambles ".*\.tex=>\nopreamble\nopostamble" -% -setambles ".*\.xdy=>\nopreamble\nopostamble" -% -author "Nicola Talbot" +% -macrocode ".*\.perl" +% -macrocode ".*\.tex" +% -macrocode ".*\.xdy" +% -doc "glossaries-manual.tex" +% -section "chapter" +% -comment ".*\.perl" +% -comment ".*\.tex" +% -comment ".*\.xdy" % glossaries -% Created on 2015/11/30 12:18 +% Created on 2016/1/24 16:29 %\fi %\iffalse %<*package> @@ -52,11 +54,11 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2015 Nicola Talbot, all rights reserved. +% Copyright (C) 2016 Nicola Talbot, all rights reserved. % \fi % \iffalse %<*driver> -\documentclass{nlctdoc} +\documentclass[report]{nlctdoc} \iffalse glossaries-manual.tex is a stub file used by makedtx to create @@ -76,10 +78,12 @@ glossaries.dtx \usepackage[toc]{glossaries} \RecordChanges +\setlength\IndexMin{100pt} \makeglossaries -\renewcommand*{\main}[1]{\hyperpage{#1}} +\renewcommand*{\main}[1]{\underline{\hyperpage{#1}}} +\renewcommand*{\usage}[1]{\textit{\hyperpage{#1}}} \newcommand*{\htextbf}[1]{\textbf{\hyperpage{#1}}} \newcommand*{\itermdef}[1]{\index{#1|htextbf}} @@ -139,7 +143,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \setcounter{IndexColumns}{2} -\CheckSum{18104} +\CheckSum{18368} \newcommand*{\ifirstuse}{\iterm{first use}} \newcommand*{\firstuse}{\gls{firstuse}} @@ -167,12 +171,12 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %\MakeShortVerb{"} %\DeleteShortVerb{\|} % -% \title{Documented Code For glossaries v4.20} +% \title{Documented Code For glossaries v4.21} % \author{Nicola L.C. Talbot\\[10pt] %Dickimaw Books\\ %\url{http://www.dickimaw-books.com/}} % -% \date{2015-11-30} +% \date{2016-01-24} % \maketitle % %This is the documented code for the \styfmt{glossaries} package. @@ -188,7 +192,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.20: +%For the main user guide, read \qt{glossaries.sty v4.21: %\LaTeX2e\ Package to Assist Generating Glossaries}. % %\item[\url{mfirstuc-manual.pdf}] @@ -222,32 +226,28 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %\styfmt{glossaries}, it's better to request a new user level command %than to hack these internals. % -%\clearpage %\tableofcontents % %\StopEventually{% % \printglossaries -% \phantomsection -% \addcontentsline{toc}{section}{Change History}% -% \raggedright % \PrintChanges % \PrintIndex %} % % % -%\section{Main Package Code} +%\chapter{Main Package Code} %\iffalse % \begin{macrocode} %<*glossaries.sty> % \end{macrocode} %\fi %\label{sec:code} -% \subsection{Package Definition} +% \section{Package Definition} % This package requires \LaTeXe. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossaries}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} %\changes{4.18}{2015-09-09}{split mfirstuc into separate bundle} % Required packages: @@ -271,7 +271,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % \begin{macrocode} \RequirePackage{datatool-base} % \end{macrocode} -%\changes{1.1}{2008 Feb 22}{amsgen now loaded (\cs{new@ifnextchar} needed)} +%\changes{1.1}{2008-02-22}{amsgen now loaded (\cs{new@ifnextchar} needed)} % Need to use \cs{new@ifnextchar} instead of \cs{@ifnextchar} in % commands that have a final optional argument (such as \ics{gls}) % so require \isty{amsgen}. @@ -280,7 +280,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % \begin{macrocode} \RequirePackage{amsgen} % \end{macrocode} -%\changes{3.0}{2011/04/02}{etoolbox now loaded} +%\changes{3.0}{2011-04-02}{etoolbox now loaded} % As from v3.0, now loading \sty{etoolbox}: % \begin{macrocode} \RequirePackage{etoolbox} @@ -341,7 +341,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \fi % \end{macrocode} % -% \subsection{Package Options}\label{sec:pkgopt} +% \section{Package Options}\label{sec:pkgopt} %\begin{option}{toc} % The \pkgopt{toc} package option will add the glossaries % to the table of contents. This is a boolean key, if the @@ -351,7 +351,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % \end{macrocode} %\end{option} %\begin{option}{numberline} -%\changes{1.1}{2008 Feb 22}{numberline option added} +%\changes{1.1}{2008-02-22}{numberline option added} % The \pkgopt{numberline} package option adds \cs{numberline} to % \cs{addcontentsline}. Note that this option only has an effect % if used in with \pkgopt[true]{toc}. @@ -365,7 +365,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % \cs{@@glossarysec}. If chapters are defined, this % is initialised to \texttt{chapter}, otherwise it is % initialised to \texttt{section}. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{chapter}% @@ -401,13 +401,13 @@ subsection,subsubsection,paragraph,subparagraph}[section]{% %\end{macro} %\begin{macro}{\glsautoprefix} % Prefix to add before label if automatically generated: -%\changes{1.14}{2008 June 17}{new} +%\changes{1.14}{2008-06-17}{new} % \begin{macrocode} \newcommand*{\glsautoprefix}{} % \end{macrocode} %\end{macro} %\begin{option}{numberedsection} -%\changes{1.1}{2008 Feb 22}{numberedsection package option added} +%\changes{1.1}{2008-02-22}{numberedsection package option added} %\changes{4.02}{2013-12-05}{added nameref option} % \begin{macrocode} \define@choicekey{glossaries.sty}{numberedsection}[\val\nr]{% @@ -497,7 +497,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{option}{savenumberlist} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Provide means to store the number list for entries. % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{savenumberlist}[true]{} @@ -514,7 +514,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{option}{seeautonumberlist} % Automatically activates number list for entries containing the % \gloskey{see} key. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \@gls@declareoption{seeautonumberlist}{% \renewcommand*{\@glo@seeautonumberlist}{% @@ -524,13 +524,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{option} %\begin{macro}{\@gls@loadlong} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % \begin{macrocode} \newcommand*{\@gls@loadlong}{\RequirePackage{glossary-long}} % \end{macrocode} %\end{macro} %\begin{option}{nolong} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % This option prevents \isty{glossary-long} from being loaded. % This means that the glossary styles that use the % \env{longtable} environment will not be available. This option @@ -542,7 +542,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{macro}{\@gls@loadsuper} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % The \isty{glossary-super} package isn't loaded if % \isty{supertabular} isn't installed. % \begin{macrocode} @@ -552,7 +552,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{option}{nosuper} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % This option prevents \isty{glossary-super} from being loaded. % This means that the glossary styles that use the % \env{supertabular} environment will not be available. This option @@ -564,13 +564,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{macro}{\@gls@loadlist} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % \begin{macrocode} \newcommand*{\@gls@loadlist}{\RequirePackage{glossary-list}} % \end{macrocode} %\end{macro} %\begin{option}{nolist} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % This option prevents \isty{glossary-list} from being loaded % (to reduce overheads if required). Naturally, the styles defined % in \isty{glossary-list} will not be available if this option @@ -581,13 +581,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{macro}{\@gls@loadtree} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % \begin{macrocode} \newcommand*{\@gls@loadtree}{\RequirePackage{glossary-tree}} % \end{macrocode} %\end{macro} %\begin{option}{notree} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % This option prevents \isty{glossary-tree} from being loaded % (to reduce overheads if required). Naturally, the styles defined % in \isty{glossary-tree} will not be available if this option @@ -598,7 +598,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{option}{nostyles} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} % Provide an option to suppress all the predefined styles (in the % event that the user has custom styles that are not dependent % on the predefined styles). @@ -647,7 +647,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{option}{ucmark} % Boolean option to determine whether or not to use % use upper case in definition of \ics{glsglossarymark} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{ucmark}[true]{} % \end{macrocode} @@ -667,7 +667,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Defines a counter that can be used in the standard glossary styles % to number each (main) entry. If true, this will define a counter called % \ctr{glossaryentry}. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{entrycounter}[true]{} \glsentrycounterfalse @@ -678,7 +678,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % This option can be used to set a parent counter for % \ctr{glossaryentry}. This option automatically sets % \pkgopt[true]{entrycounter}. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \define@key{glossaries.sty}{counterwithin}{% \renewcommand*{\@gls@counterwithin}{#1}% @@ -687,7 +687,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{option} %\begin{macro}{\@gls@counterwithin} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % The default value is no parent counter: % \begin{macrocode} \newcommand*{\@gls@counterwithin}{} @@ -698,7 +698,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Define a counter that can be used in the standard glossary styles % to number each level~1 entry. If true, this will define a counter called % \ctr{glossarysubentry}. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{subentrycounter}[true]{} \glssubentrycounterfalse @@ -713,7 +713,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{option}{sort} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Define the sort method: \pkgopt[standard]{sort} (default), % \pkgopt[def]{sort} (order of definition) or % \pkgopt[use]{sort} (order of use). @@ -741,7 +741,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\@gls@setupsort@standard} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Set up the macros for default sorting. % \begin{macrocode} \newcommand*{\@gls@setupsort@standard}{% @@ -784,7 +784,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glssortnumberfmt} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Format the number used as the sort key by \pkgopt[def]{sort} and % \pkgopt[use]{sort}. Defaults to six digit numbering. % \begin{macrocode} @@ -800,7 +800,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\@gls@setupsort@def} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Set up the macros for order of definition sorting. % \begin{macrocode} \newcommand*{\@gls@setupsort@def}{% @@ -835,7 +835,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\@gls@setupsort@use} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Set up the macros for order of use sorting. % \begin{macrocode} \newcommand*{\@gls@setupsort@use}{% @@ -1026,7 +1026,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{option} %\begin{macro}{\@glsacronymlists} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % Comma-separated list of glossary labels indicating which % glossaries contain acronyms. Note that \ics{SetAcronymStyle} % must be used after adding labels to this macro. @@ -1046,7 +1046,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\DeclareAcronymList} -%\changes{2.04}{2009 November 10}{new}% +%\changes{2.04}{2009-11-10}{new}% % Identifies the named glossary as a list of acronyms and adds % to the list. (Doesn't check if the glossary exists, but checks % if label already in list. Use \ics{SetAcronymStyle} after @@ -1108,7 +1108,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\SetAcronymLists} -%\changes{2.04}{2009 November 10}{new}% +%\changes{2.04}{2009-11-10}{new}% % Sets the ``list of acronyms'' list. Argument must be a % comma-separated list of glossary labels. (Doesn't check at this % point if the glossaries exists.) @@ -1119,7 +1119,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{option}{acronymlists} -%\changes{2.04}{2009 November 10}{new}% +%\changes{2.04}{2009-11-10}{new}% %\changes{3.11a}{2013-10-15}{replaced \cs{@addtoacronymlists} with %\cs{DeclareAcronymList}} % \begin{macrocode} @@ -1619,7 +1619,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{option}{translate} -%\changes{1.1}{2008 Feb 22}{translate option added} +%\changes{1.1}{2008-02-22}{translate option added} % Define \pkgopt{translate} option. If false don't set up % multi-lingual support. % \begin{macrocode} @@ -1681,7 +1681,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{option}{indexonlyfirst} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Set whether to only index on first use. % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{indexonlyfirst}[true]{} @@ -1690,7 +1690,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{option}{hyperfirst} -%\changes{2.03}{2009 Sep 23}{new} +%\changes{2.03}{2009-09-23}{new} % Set whether or not terms should have a hyperlink on first use. % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{hyperfirst}[true]{} @@ -1784,16 +1784,16 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{option}{order} -%\changes{1.17}{2008 December 26}{order package option added} +%\changes{1.17}{2008-12-26}{order package option added} % \begin{macrocode} \define@choicekey{glossaries.sty}{order}{word,letter}{% \def\glsorder{#1}} % \end{macrocode} %\end{option} % -%\changes{1.17}{2008 December 26}{added xindy support} +%\changes{1.17}{2008-12-26}{added xindy support} %\begin{macro}{\ifglsxindy} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Provide boolean to determine whether \gls{xindy} or % \gls{makeindex} will be used to sort the glossaries. % \begin{macrocode} @@ -1839,7 +1839,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\gls@codepage} % Define the code page. If \ics{inputencodingname} is defined % use that, otherwise have initialise with no codepage. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{inputencodingname}{% @@ -1920,7 +1920,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{option}{savewrites} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % The \pkgopt{savewrites} package option is provided to save on % the number of write registers. % \begin{macrocode} @@ -1950,7 +1950,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{option} % %\begin{option}{compatible-2.07} -%\changes{3.0}{2011/04/02}{compatible-2.07 option added} +%\changes{3.0}{2011-04-02}{compatible-2.07 option added} % \begin{macrocode} \define@boolkey{glossaries.sty}[gls]{compatible-2.07}[true]{% % \end{macrocode} @@ -2134,7 +2134,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % will have to specify a different counter for the entries % that give rise to a \texttt{name}"{"\meta{section-level}"."\meta{n}".0}" % non-existent warning (e.g. "\gls[counter=chapter]{label}"). -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifthenelse{\equal{\glscounter}{section}}% @@ -2191,7 +2191,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Predefined Text}\label{sec:predefinednames} +%\section{Predefined Text}\label{sec:predefinednames} % Set up default textual tags that are used by this % package. Some of the names may already be defined (e.g.\ by % \isty{babel}) so \cs{providecommand} is used. @@ -2213,7 +2213,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\begin{macro}{\glssettoctitle} % Sets the TOC title for the given glossary. -%\changes{1.15}{2008 August 15}{new} +%\changes{1.15}{2008-08-15}{new} % \begin{macrocode} \newcommand*{\glssettoctitle}[1]{% \def\glossarytoctitle{\csname @glotype@#1@title\endcsname}} @@ -2285,7 +2285,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \providecommand*{\andname}{\&} % \end{macrocode} %\end{macro} -% Add multi-lingual support\changes{1.08}{2007 Oct 13}{Added +% Add multi-lingual support\changes{1.08}{2007-10-13}{Added % babel support}. Thanks to everyone who contributed to the % translations from both comp.text.tex and via email. %\begin{macro}{\RequireGlossariesLang} @@ -2331,7 +2331,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % redefine \cs{glossaryname} whenever the language is set, so % override it. (Don't use \ics{addto} as \isty{polyglossia} doesn't % define it.) -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \@ifpackageloaded{translator} @@ -2425,7 +2425,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Provide a means to suppress description terminator for a given % entry. (Useful for entries with no description.) Has no % effect outside the glossaries. -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} %\changes{3.05}{2013-04-21}{made robust} % \begin{macrocode} \DeclareRobustCommand*{\nopostdesc}{} @@ -2485,7 +2485,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % done \emph{before} \cs{makeglossaries}. As from v1.17, use % \ics{setStyleFile} instead of directly redefining \cs{istfilename}. %\begin{macro}{\istfilename} -%\changes{1.17}{2008 December 26}{added xindy support} +%\changes{1.17}{2008-12-26}{added xindy support} % \begin{macrocode} \ifglsxindy \def\istfilename{\gls@istfilebase.xdy} @@ -2569,7 +2569,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\gls@suffixF} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Suffix to use for a two page list. This overrides the separator % and the closing page number if set to something other than % an empty macro. @@ -2578,7 +2578,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\glsSetSuffixF} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Sets the suffix to use for a two page list. % \begin{macrocode} \newcommand*{\glsSetSuffixF}[1]{% @@ -2591,7 +2591,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\gls@suffixFF} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Suffix to use for a three page list. This overrides the separator % and the closing page number if set to something other than % an empty macro. @@ -2600,7 +2600,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\glsSetSuffixFF} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Sets the suffix to use for a three page list. % \begin{macrocode} \newcommand*{\glsSetSuffixFF}[1]{% @@ -2617,7 +2617,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % associated number list.) If hyperlinks are defined, it will use % \ics{glshypernumber}, otherwise it will simply display its % argument ``as is''. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{hyperlink}% @@ -2716,11 +2716,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % style.) If \ics{phantomsection} % is defined, it uses \cs{\@p@glossarysection}, otherwise it % uses \cs{@glossarysection}. -%\changes{1.05}{2007 Aug 10}{added \cs{@mkboth} to +%\changes{1.05}{2007-08-10}{added \cs{@mkboth} to %\cs{glossarysection}} -%\changes{2.02}{2009 July 13}{changed \cs{@mkboth} to +%\changes{2.02}{2009-07-13}{changed \cs{@mkboth} to %\cs{glossarymark}} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \newcommand*{\glossarysection}[2][\@gls@title]{% @@ -2740,10 +2740,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\glsglossarymark} -%\changes{2.02}{2009 July 13}{New} -%\changes{2.03}{2009 Sep 23}{Added check to see if it's already +%\changes{2.02}{2009-07-13}{New} +%\changes{2.03}{2009-09-23}{Added check to see if it's already %defined} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} %\changes{3.11a}{2013-10-15}{replaced \cs{MakeUppercase} with %\cs{mfirstucMakeUppercase}} @@ -2799,7 +2799,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % The sectional unit can be changed, if different sectional units % are required. %\begin{macro}{\setglossarysection} -%\changes{1.1}{2008 Feb 22}{new} +%\changes{1.1}{2008-02-22}{new} % \begin{macrocode} \newcommand*{\setglossarysection}[1]{% \setkeys{glossaries.sty}{section=#1}} @@ -2809,7 +2809,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %The command \cs{@glossarysection} indicates how to start % the glossary section if \ics{phantomsection} is not defined. %\begin{macro}{\@glossarysection} -%\changes{1.1}{2008 Feb 22}{numbered sections and auto label added} +%\changes{1.1}{2008-02-22}{numbered sections and auto label added} %\changes{4.07}{2014-04-04}{added optional argument when using unstarred %version} % \begin{macrocode} @@ -2836,7 +2836,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % the hyper link from the table of contents leads to the line above % the heading, rather than the line below it. %\begin{macro}{\@p@glossarysection} -%\changes{1.1}{2008 Feb 22}{numbered sections and auto label added} +%\changes{1.1}{2008-02-22}{numbered sections and auto label added} % \begin{macrocode} \newcommand*{\@p@glossarysection}[2]{% \glsclearpage @@ -2862,7 +2862,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{clearpage} (or \cs{cleardoublepage}) depending % on whether the glossary sectional unit is a chapter. If the % sectional unit is something else, do nothing. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} %\changes{3.07}{2013-07-05}{added check for openright} % \begin{macrocode} @@ -2894,7 +2894,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\glsclearpage} % This just calls \cs{gls@doclearpage}, but it makes it easier to % have a user command so that the user can override it. -%\changes{1.19}{2009 Mar 2}{new} +%\changes{1.19}{2009-03-02}{new} % \begin{macrocode} \newcommand*{\glsclearpage}{\gls@doclearpage} % \end{macrocode} @@ -2906,7 +2906,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % (The first argument to \cs{@gls@toc} is the title for the % table of contents, the second argument is the sectioning type.) %\begin{macro}{\@gls@toc} -%\changes{1.1}{2008 Feb 22}{numberline added} +%\changes{1.1}{2008-02-22}{numberline added} %\changes{4.12}{2014-11-22}{added \cs{protect} to \cs{numberline}} % \begin{macrocode} \newcommand*{\@gls@toc}[2]{% @@ -2921,7 +2921,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Xindy} +%\section{Xindy} % This section defines commands that only have an effect if % \app{xindy} is used to sort the glossaries. %\begin{macro}{\glsnoxindywarning} @@ -2946,7 +2946,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\begin{macro}{\@xdyattributelist} % Comma-separated list of attributes. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \ifglsxindy \edef\@xdyattributelist{}% @@ -2963,7 +2963,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\@gls@ifinlist} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\@gls@ifinlist}[4]{% \def\@do@ifinlist##1,#1,##2\end@doifinlist{% @@ -2980,7 +2980,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\GlsAddXdyCounters} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Need to know all the counters that will be used in location % numbers for Xindy. Argument may be a single counter name or a % comma-separated list of counter names. @@ -3164,7 +3164,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\@gls@xdy@locationlist} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % List of predefined location names. % \begin{macrocode} \newcommand*{\@gls@xdy@locationlist}{% @@ -3528,7 +3528,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Loops and conditionals} +%\section{Loops and conditionals} %\begin{macro}{\forallglossaries} % To iterate through all glossaries (or comma-separated list of % glossary names given in optional argument) use:\\[10pt] @@ -3592,7 +3592,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % To check to see if a glossary exists use:\\[10pt] %\cs{ifglossaryexists}\marg{type}\marg{true-text}\marg{false-text}\\[10pt] %where \meta{type} is the glossary's label. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \newcommand{\ifglossaryexists}[3]{% @@ -3631,7 +3631,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{ifglsentryexists}\marg{label}\marg{true text}\marg{false text} %\end{definition} %where \meta{label} is the entry's label. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} % \begin{macrocode} @@ -3748,7 +3748,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\ifglshaschildren} % \cs{ifglshaschildren}\marg{label}\marg{true part}\marg{false part} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} % \begin{macrocode} \newcommand{\ifglshaschildren}[3]{% @@ -3778,7 +3778,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{definition} % \cs{ifglshasparent}\marg{label}\marg{true part}\marg{false part} %\end{definition} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} % \begin{macrocode} \newcommand{\ifglshasparent}[3]{% @@ -3956,7 +3956,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Defining new glossaries}\label{sec:newglos} +%\section{Defining new glossaries}\label{sec:newglos} % A comma-separated list of glossary names is stored % in \cs{@glo@types}. When a new glossary type % is created, its identifying name is added to this list. @@ -4120,10 +4120,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% % (see \ics{defglsentry}). This % may already have been defined if this has been specified as % a list of acronyms. -%\changes{2.04}{2009 November 10}{added check to determine if +%\changes{2.04}{2009-11-10}{added check to determine if % \cs{gls@\meta{type}@display} and \cs{gls@\meta{type}@displayfirst} % have been defined.} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} %\changes{3.11a}{2013-10-15}{replaced \cs{glsdisplay} and %\cs{glsdisplayfirst} with \cs{glsentryfmt}} @@ -4135,7 +4135,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% {}% % \end{macrocode} % Define sort counter if required: -%\changes{3.0}{2011/04/02}{added \cs{@gls@defsortcount}} +%\changes{3.0}{2011-04-02}{added \cs{@gls@defsortcount}} % \begin{macrocode} \@gls@defsortcount{#2}% % \end{macrocode} @@ -4153,7 +4153,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\altnewglossary} -%\changes{2.06}{2010 June 14}{new} +%\changes{2.06}{2010-06-14}{new} % \begin{macrocode} \newcommand*{\altnewglossary}[3]{% \newglossary[#2-glg]{#1}{#2-gls}{#2-glo}{#3}% @@ -4275,7 +4275,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Defining new entries}\label{sec:newentry} +%\section{Defining new entries}\label{sec:newentry} % New glossary entries are defined using \cs{newglossaryentry}. % This command requires a label and a key-value list that defines % the relevant information for that entry. The definition for these @@ -4313,7 +4313,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{key} %\begin{key}{descriptionplural} -% \changes{1.12}{2008 Mar 8}{new} +% \changes{1.12}{2008-03-08}{new} % \begin{macrocode} \define@key{glossentry}{descriptionplural}{% \def\@glo@descplural{#1}% @@ -4327,7 +4327,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % not for use in the document). The \gloskey{sort} key is optional % when defining a new glossary entry. If omitted, the value % is given by \meta{name} \meta{description}. -%\changes{1.18}{2009 January 14}{moved sanitization to +%\changes{1.18}{2009-01-14}{moved sanitization to %\cs{newglossaryentry}} % \begin{macrocode} \define@key{glossentry}{sort}{% @@ -4404,7 +4404,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{key} %\begin{key}{symbolplural} -% \changes{1.12}{2008 Mar 8}{new} +% \changes{1.12}{2008-03-08}{new} % \begin{macrocode} \define@key{glossentry}{symbolplural}{% \def\@glo@symbolplural{#1}% @@ -4424,7 +4424,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{key}{counter} % The \gloskey{counter} key specifies the name of the counter % associated with this glossary entry: -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \define@key{glossentry}{counter}{% @@ -4446,8 +4446,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{key}{see} % The \gloskey{see} key specifies a list of cross-references -% \changes{1.17}{2008 December 26}{new} -% \changes{3.0}{2011/04/02}{added \cs{@glo@seeautonumberlist}} +% \changes{1.17}{2008-12-26}{new} +% \changes{3.0}{2011-04-02}{added \cs{@glo@seeautonumberlist}} %\changes{3.13a}{2013-11-05}{added \cs{gls@checkseeallowed}} % \begin{macrocode} \define@key{glossentry}{see}{% @@ -4472,10 +4472,23 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % +%\begin{macro}{\gls@checkseeallowed@preambleonly} +%\changes{4.20}{2015-11-30}{new} +% \begin{macrocode} +\newcommand*{\gls@checkseeallowed@preambleonly}{% + \GlossariesWarning{glossaries}% + {`see' key doesn't have any effect when used in the document + environment. Move the definition to the preamble + after \string\makeglossaries\space + or \string\makenoidxglossaries}% +} +% \end{macrocode} +%\end{macro} +% %\begin{key}{parent} % The \gloskey{parent} key specifies the parent entry, if % required. -% \changes{1.17}{2008 December 26}{new} +% \changes{1.17}{2008-12-26}{new} % \begin{macrocode} \define@key{glossentry}{parent}{% \def\@glo@parent{#1}} @@ -4485,8 +4498,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{key}{nonumberlist} % The \gloskey{nonumberlist} key suppresses or activates the number list % for the given entry. -% \changes{1.17}{2008 December 26}{new} -%\changes{3.0}{2011/04/02}{now boolean} +% \changes{1.17}{2008-12-26}{new} +%\changes{3.0}{2011-04-02}{now boolean} % \begin{macrocode} \define@choicekey{glossentry}{nonumberlist}[\val\nr]{true,false}[true]{% \ifcase\nr\relax @@ -4549,7 +4562,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{key} % %\begin{key}{short} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % This key is provided for use by \ics{newacronym}. It's not % designed for general purpose use, so isn't described in the user % manual. @@ -4561,7 +4574,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{key} % %\begin{key}{shortplural} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % This key is provided for use by \ics{newacronym}. % \begin{macrocode} \define@key{glossentry}{shortplural}{% @@ -4571,7 +4584,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{key} % %\begin{key}{long} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % This key is provided for use by \ics{newacronym}. % \begin{macrocode} \define@key{glossentry}{long}{% @@ -4581,7 +4594,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{key} % %\begin{key}{longplural} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % This key is provided for use by \ics{newacronym}. % \begin{macrocode} \define@key{glossentry}{longplural}{% @@ -4591,7 +4604,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{key} % %\begin{macro}{\@glsnoname} -% \changes{1.17}{2008 December 26}{new} +% \changes{1.17}{2008-12-26}{new} % Define command to generate error if \gloskey{name} key is missing. % \begin{macrocode} \newcommand*{\@glsnoname}{% @@ -4618,7 +4631,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\@glsdefaultplural} -% \changes{1.17}{2008 December 26}{new} +% \changes{1.17}{2008-12-26}{new} %\changes{3.10a}{2013-10-13}{Obsolete} % Now obsolete. Don't use. % \begin{macrocode} @@ -4627,7 +4640,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\@gls@missingnumberlist} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Define a command to generate warning when numberlist not set. % \begin{macrocode} \newcommand*{\@gls@missingnumberlist}[1]{% @@ -4649,7 +4662,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\@glsdefaultsort} % Define command to set default sort. -% \changes{1.17}{2008 December 26}{new} +% \changes{1.17}{2008-12-26}{new} % \begin{macrocode} \newcommand*{\@glsdefaultsort}{\@glo@name} % \end{macrocode} @@ -4793,7 +4806,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % There are two required fields in \meta{key-val list}: % \gloskey{name} (or \gloskey{parent}) and % \gloskey{description}. (See above.) -%\changes{3.0}{2011/04/02}{replaced \cs{DeclareRobustCommand} with +%\changes{3.0}{2011-04-02}{replaced \cs{DeclareRobustCommand} with %\cs{newrobustcmd}} % \begin{macrocode} \newrobustcmd{\newglossaryentry}[2]{% @@ -4811,9 +4824,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\gls@defdocnewglossaryentry} %\changes{4.14}{2015-02-28}{new} % The definition of \cs{newglossaryentry} is changed at the start of -% the \env{document} environment. +% the \env{document} environment. The \gloskey{see} key doesn't work +% for entries that have been defined in the document environment. % \begin{macrocode} \newcommand*{\gls@defdocnewglossaryentry}{% + \let\gls@checkseeallowed\gls@checkseeallowed@preambleonly \let\newglossaryentry\new@glossaryentry } % \end{macrocode} @@ -5444,7 +5459,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \let\@glo@name\@glsnoname \let\@glo@desc\@glsnodesc % \end{macrocode} -% \changes{1.12}{2008 Mar 8}{descriptionplural support added} +% \changes{1.12}{2008-03-08}{descriptionplural support added} % \begin{macrocode} \let\@glo@descplural\@gls@default@value % \end{macrocode} @@ -5452,7 +5467,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \let\@glo@type\@gls@default@value \let\@glo@symbol\@gls@default@value % \end{macrocode} -% \changes{1.12}{2008 Mar 8}{symbolplural support added} +% \changes{1.12}{2008-03-08}{symbolplural support added} % \begin{macrocode} \let\@glo@symbolplural\@gls@default@value % \end{macrocode} @@ -5462,26 +5477,26 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \let\@glo@plural\@gls@default@value % \end{macrocode} -% \changes{1.13}{2008 May 10}{Changed default first value} +% \changes{1.13}{2008-05-10}{Changed default first value} % Using \cs{let} instead of \cs{def} to make later comparison % avoid expansion issues. (Thanks to Ulrich~Diez for suggesting % this.) -% \changes{1.16}{2008 August 27}{Changed def to let} +% \changes{1.16}{2008-08-27}{Changed def to let} %\changes{3.10a}{2013-10-13}{Changed to using \cs{@gls@default@value}} % \begin{macrocode} \let\@glo@first\@gls@default@value % \end{macrocode} -% \changes{1.12}{2008 Mar 8}{Changed default first plural to be first +% \changes{1.12}{2008-03-08}{Changed default first plural to be first % key with s appended (was text key with s appended)} -% \changes{1.13}{2008 May 10}{Changed default firstplural value} +% \changes{1.13}{2008-05-10}{Changed default firstplural value} % \begin{macrocode} \let\@glo@firstplural\@gls@default@value % \end{macrocode} % Set the default sort: %\changes{3.10a}{2013-10-13}{Changed to using \cs{@gls@default@value}} -%\changes{1.05}{2007 Aug 10}{Changed the default value of the sort +%\changes{1.05}{2007-08-10}{Changed the default value of the sort % key to just the value of the name key}% -%\changes{1.18}{2009 January 14}{Changed default value of sort +%\changes{1.18}{2009-01-14}{Changed default value of sort % to \cs{@glsdefaultsort}} % \begin{macrocode} \let\@glo@sort\@gls@default@value @@ -5490,19 +5505,19 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \let\@glo@counter\@gls@default@value % \end{macrocode} -%\changes{1.17}{2008 December 26}{added see key} +%\changes{1.17}{2008-12-26}{added see key} % \begin{macrocode} \def\@glo@see{}% % \end{macrocode} -%\changes{1.17}{2008 December 26}{added parent key} +%\changes{1.17}{2008-12-26}{added parent key} % \begin{macrocode} \def\@glo@parent{}% % \end{macrocode} -%\changes{1.17}{2008 December 26}{added nonumberlist key} +%\changes{1.17}{2008-12-26}{added nonumberlist key} % \begin{macrocode} \def\@glo@prefix{}% % \end{macrocode} -%\changes{2.04}{2009 November 10}{added user1-6 keys} +%\changes{2.04}{2009-11-10}{added user1-6 keys} % \begin{macrocode} \def\@glo@useri{}% \def\@glo@userii{}% @@ -5511,7 +5526,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@glo@userv{}% \def\@glo@uservi{}% % \end{macrocode} -%\changes{3.0}{2011/04/02}{added short and long keys} +%\changes{3.0}{2011-04-02}{added short and long keys} % \begin{macrocode} \def\@glo@short{}% \def\@glo@shortpl{}% @@ -5546,7 +5561,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % Check to see if this glossary type has been defined, if it has, % add this label to the relevant list, otherwise generate an error. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{glolist@\@glo@type}% @@ -5711,7 +5726,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \fi \gls@assign@field{}{\@glo@label}{name}{\@glo@name}% % \end{macrocode} -%\changes{3.02}{2012/05/21}{added numberlist element} +%\changes{3.02}{2012-05-21}{added numberlist element} % Set default numberlist if not defined: % \begin{macrocode} \ifcsundef{glo@\@glo@label @numberlist}% @@ -5724,7 +5739,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % The smaller and smallcaps options set the description to % \cs{@glo@first}. Need to check for this, otherwise it won't get % expanded if the description gets sanitized. -%\changes{1.15}{2008 August 15}{check for \cs{@glo@first} in description}% +%\changes{1.15}{2008-08-15}{check for \cs{@glo@first} in description}% % \begin{macrocode} \def\@glo@@desc{\@glo@first}% \ifx\@glo@desc\@glo@@desc @@ -5736,14 +5751,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% \fi \gls@assign@desc{\@glo@label}% % \end{macrocode} -%\changes{1.18}{2009 January 14}{moved sort sanitization to +%\changes{1.18}{2009-01-14}{moved sort sanitization to % \cs{newglossaryentry}} -%\changes{3.0}{2011/04/02}{added \cs{@gls@defsort}} +%\changes{3.0}{2011-04-02}{added \cs{@gls@defsort}} % Set the sort key for this entry: % \begin{macrocode} \@gls@defsort{\@glo@type}{\@glo@label}% % \end{macrocode} -%\changes{1.15}{2008 August 15}{check for \cs{@glo@text} in symbol}% +%\changes{1.15}{2008-08-15}{check for \cs{@glo@text} in symbol}% % \begin{macrocode} \def\@glo@@symbol{\@glo@text}% \ifx\@glo@symbol\@glo@@symbol @@ -5784,7 +5799,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% }% % \end{macrocode} % Determine and store main part of the entry's index format. -%\changes{1.17}{2008 December 26}{Stored main part of entry +%\changes{1.17}{2008-12-26}{Stored main part of entry % format when entry % is defined}% % \begin{macrocode} @@ -5805,20 +5820,20 @@ false,nolabel,autolabel,nameref}[nolabel]{% \@newglossaryentryposthook } % \end{macrocode} -%\changes{1.13}{2008 May 10}{Removed restriction on only using +%\changes{1.13}{2008-05-10}{Removed restriction on only using % \cs{newglossaryentry} in the preamble} %\end{macro} % %\begin{macro}{\@newglossaryentryprehook} % Allow extra information to be added to glossary entries: -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\@newglossaryentryprehook}{} % \end{macrocode} %\end{macro} %\begin{macro}{\@newglossaryentryposthook} % Allow extra information to be added to glossary entries: -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\@newglossaryentryposthook}{} % \end{macrocode} @@ -5832,7 +5847,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsmoveentry} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Moves entry whose label is given by first argument to the glossary % named in the second argument. %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} @@ -5860,7 +5875,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Indicate what command should be used to display each entry in % the glossary. (This enables the \sty{glossaries-accsupp} package % to use \cs{accsuppglossaryentryfield} instead.) -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.08a}{2013-09-28}{switched to \cs{glossentry}} % \begin{macrocode} \ifglsxindy @@ -5875,7 +5890,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Indicate what command should be used to display each subentry in % the glossary. (This enables the \sty{glossaries-accsupp} package % to use \cs{accsuppglossarysubentryfield} instead.) -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.08a}{2013-09-28}{switched to \cs{subglossentry}} % \begin{macrocode} \ifglsxindy @@ -5892,7 +5907,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{definition} %\cs{@glo@storeentry}\marg{label} %\end{definition} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Determine the format to write the entry in the glossary % output (\filetype{.glo}) file. % The argument is the entry's label (should already have been @@ -5982,7 +5997,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Resetting and unsetting entry flags} +%\section{Resetting and unsetting entry flags} % Each glossary entry is assigned a conditional of the form %\cs{ifglo@}\meta{label}\texttt{@flag} which determines % whether or not the entry has been used (see also @@ -6205,7 +6220,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Keeping Track of How Many Times an Entry Has Been Unset} +%\section{Keeping Track of How Many Times an Entry Has Been Unset} %Version 4.14 introduced \cs{glsenableentrycount} that keeps track %of how many times an entry is marked as used. The counter is reset %back to zero when the first use flag is reset. Note that although @@ -6576,7 +6591,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -% \subsection{Loading files containing glossary entries} +% \section{Loading files containing glossary entries} %\label{sec:load} % Glossary entries can be defined in an external file. % These external files can contain \ics{newglossaryentry} @@ -6606,7 +6621,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \@onlypreamble{\loadglsentries} % \end{macrocode} % -%\subsection{Using glossary entries in the text} +%\section{Using glossary entries in the text} %\label{sec:code:glslink} % % Any term that has been defined using \ics{newglossaryentry} @@ -6619,7 +6634,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % subsequent use). Any formatting commands (such as \cs{textbf} % is governed by \ics{glstextformat}. By default this just % displays the \term{link text} ``as is''. -%\changes{1.04}{2007 Aug 3}{Added \cs{glstextformat}}% +%\changes{1.04}{2007-08-03}{Added \cs{glstextformat}}% %\begin{macro}{\glstextformat} % \begin{macrocode} \newcommand*{\glstextformat}[1]{#1} @@ -7282,7 +7297,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % The following keys can be used in the first optional % argument. The \gloskey[glslink]{counter} key checks that the % value is the name of a valid counter. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \define@key{glslink}{counter}{% @@ -7409,7 +7424,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % First determine which version is being used: %\begin{macro}{\glslink} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glslink}{% @@ -7419,7 +7434,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\changes{4.08}{2014-07-30}{removed \cs{@sgls@link}} %\begin{macro}{\@gls@@link} -%\changes{2.03}{2009 Sep 23}{new} +%\changes{2.03}{2009-09-23}{new} % The main part of the business is in \cs{@gls@link} % which shouldn't check if the term is defined as it's called by % \cs{gls} etc which also perform that check. @@ -7519,17 +7534,25 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % +%\begin{macro}{\@gls@setdefault@glslink@opts} +% Hook to set default options for \cs{@glslink}. +%\changes{4.20}{2015-11-30}{new} +% \begin{macrocode} +\newcommand*{\@gls@setdefault@glslink@opts}{} +% \end{macrocode} +%\end{macro} +% %\begin{macro}{\@gls@link} -%\changes{1.07}{2007 Sep 13}{fixed bug caused by \cs{theglsentrycounter} setting the page number too soon} -%\changes{1.15}{2008 August 15}{added \cs{glslabel}} +%\changes{1.07}{2007-09-13}{fixed bug caused by \cs{theglsentrycounter} setting the page number too soon} +%\changes{1.15}{2008-08-15}{added \cs{glslabel}} % \begin{macrocode} \def\@gls@link[#1]#2#3{% % \end{macrocode} -%\changes{2.03}{2009 Sep 23}{Moved entry existence check to +%\changes{2.03}{2009-09-23}{Moved entry existence check to % avoid duplicate code} % Inserting \cs{leavevmode} suggested by Donald~Arseneau (avoids % problem with tabularx). -%\changes{2.03}{2009 Sep 23}{added \cs{leavevmode}} +%\changes{2.03}{2009-09-23}{added \cs{leavevmode}} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} % \begin{macrocode} \leavevmode @@ -7559,6 +7582,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper % \end{macrocode} +% Set defaults: +%\changes{4.20}{2015-11-30}{added \cs{@gls@setdefault@glslink@opts}} +% \begin{macrocode} + \@gls@setdefault@glslink@opts +% \end{macrocode} % Switch off hyper setting if the glossary type has been identified % in nohyperlist. % \begin{macrocode} @@ -7580,11 +7608,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\changes{4.16}{2015-07-08}{moved definition of \cs{glsifhyperon} %outside of this macro} % Store the entry's counter in \cs{theglsentrycounter} -%\changes{3.0}{2011/04/02}{added \cs{@gls@saveentrycounter}} +%\changes{3.0}{2011-04-02}{added \cs{@gls@saveentrycounter}} % \begin{macrocode} \@gls@saveentrycounter % \end{macrocode} -%\changes{3.0}{2011/04/02}{added \cs{@gls@setsort}} +%\changes{3.0}{2011-04-02}{added \cs{@gls@setsort}} % Define sort key if necessary: % \begin{macrocode} \@gls@setsort{\glslabel}% @@ -7599,8 +7627,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \else % \end{macrocode} %\changes{3.13a}{2013-11-05}{removed \cs{relax}} +%\changes{4.20}{2015-11-30}{added \cs{glsdonohyperlink} when hyperlink is +%suppressed} % \begin{macrocode} - \glstextformat{#3}% + \glsdonohyperlink{\glolinkprefix\glslabel}{\glstextformat{#3}}% \fi % \end{macrocode} % Restore original setting @@ -7618,14 +7648,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\glsentrycounter} % Set default value of entry counter -%\changes{3.02}{2012/05/21}{set default value} +%\changes{3.02}{2012-05-21}{set default value} % \begin{macrocode} \def\glsentrycounter{\glscounter}% % \end{macrocode} %\end{macro} % %\begin{macro}{\@gls@saveentrycounter} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Need to check if using \ctr{equation} counter in \env{align} % environment: % \begin{macrocode} @@ -7693,7 +7723,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\changes{1.01}{2007 May 17}{Added range facility in format key}% +%\changes{1.01}{2007-05-17}{Added range facility in format key}% %\begin{macro}{\@set@glo@numformat} % Set the formatting information in the format required by % \app{makeindex}. The first argument is the format specified @@ -7822,7 +7852,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\@gls@tmpb} -%\changes{1.1}{2008 Feb 22}{changed \cs{toksdef} to \cs{newtoks}} +%\changes{1.1}{2008-02-22}{changed \cs{toksdef} to \cs{newtoks}} % Define temporary token % \begin{macrocode} \newtoks\@gls@tmpb @@ -8151,31 +8181,37 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % +%\begin{macro}{\glsdonohyperlink} +%\changes{4.20}{2015-11-30}{new} +% \begin{macrocode} +\newcommand*{\glsdonohyperlink}[2]{#2} +% \end{macrocode} +%\end{macro} % %\begin{macro}{\@glslink} % If \ics{hyperlink} is not defined \cs{@glslink} % ignores its first argument and just does the second argument, % otherwise it is equivalent to \ics{hyperlink}. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{hyperlink}% {% - \let\@glslink\@secondoftwo + \let\@glslink\glsdonohyperlink }% {% \let\@glslink\glsdohyperlink } % \end{macrocode} %\end{macro} -%\changes{1.12}{2008 Mar 8}{added check for \cs{hypertarget} separate +%\changes{1.12}{2008-03-08}{added check for \cs{hypertarget} separate % to \cs{hyperlink} (memoir defines \cs{hyperlink} but not % \cs{hypertarget})} %\begin{macro}{\@glstarget} % If \ics{hypertarget} is not defined, \cs{@glstarget} % ignores its first argument and just does the second argument, % otherwise it is equivalent to \ics{hypertarget}. -%\changes{1.16}{2008 August 27}{raised the hypertarget so the target text doesn't +%\changes{1.16}{2008-08-27}{raised the hypertarget so the target text doesn't % scroll off the top of the page} % \begin{macrocode} \ifcsundef{hypertarget}% @@ -8196,7 +8232,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \newcommand{\glsdisablehyper}{% \KV@glslink@hyperfalse - \let\@glslink\@secondoftwo + \let\@glslink\glsdonohyperlink \let\@glstarget\@secondoftwo } % \end{macrocode} @@ -8293,11 +8329,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} %\changes{4.08}{2014-07-30}{moved check for first use to %\cs{@gls@link}} @@ -8326,7 +8362,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % be grouped when you define the entry). It is mainly intended % for terms that start a sentence: %\begin{macro}{\Gls} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Gls}{\@gls@hyp@opt\@Gls} @@ -8375,11 +8411,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} %\changes{3.11a}{2013-10-15}{removed \cs{makefirstuc} (now dealt %with in \cs{glsentryfmt})} @@ -8404,7 +8440,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % \cs{GLS} behaves like \ics{gls}, but the link % text is converted to uppercase: -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\begin{macro}{\GLS} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} @@ -8454,11 +8490,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} %\changes{3.11a}{2013-10-15}{removed \cs{MakeUppercase} (now moved %to \cs{glsentryfmt})} @@ -8484,7 +8520,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{glspl} behaves in the same way as \ics{gls} except % it uses the plural form. %\begin{macro}{\glspl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glspl}{\@gls@hyp@opt\@glspl} @@ -8522,7 +8558,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\cs{@gls@link}} % Determine what the link text should be (this is stored in % \cs{@glo@text}) -%\changes{1.12}{2008 Mar 8}{now uses \cs{glsentrydescplural} and +%\changes{1.12}{2008-03-08}{now uses \cs{glsentrydescplural} and % \cs{glsentrysymbolplural} instead of \cs{glsentrydesc} and % \cs{glsentrysymbol}} %\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style @@ -8536,11 +8572,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} % \begin{macrocode} \@gls@link[#1]{#2}{\@glo@text}% @@ -8566,7 +8602,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % (as with \ics{Gls}, if the first letter has an accent, it % will need to be grouped). %\begin{macro}{\Glspl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glspl}{\@gls@hyp@opt\@Glspl} @@ -8605,7 +8641,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Determine what the link text should be (this is stored in % \cs{@glo@text}). This needs to be expanded so that the % \cs{@glo@text} can be passed to \cs{xmakefirstuc}. -%\changes{1.12}{2008 Mar 8}{now uses \cs{glsentrydescplural} and +%\changes{1.12}{2008-03-08}{now uses \cs{glsentrydescplural} and % \cs{glsentrysymbolplural} instead of \cs{glsentrydesc} and % \cs{glsentrysymbol}} %\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style @@ -8619,11 +8655,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} %\changes{3.11a}{2013-10-15}{removed \cs{makefirstuc} (now dealt %with in \cs{glsentryfmt})} @@ -8649,7 +8685,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSpl} behaves like \ics{glspl} except that all the % link text is converted to uppercase. %\begin{macro}{\GLSpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSpl}{\@gls@hyp@opt\@GLSpl} @@ -8687,7 +8723,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\cs{@gls@link}} % Determine what the link text should be (this is stored in % \cs{@glo@text}) -%\changes{1.12}{2008 Mar 8}{now uses \cs{glsentrydescplural} and +%\changes{1.12}{2008-03-08}{now uses \cs{glsentrydescplural} and % \cs{glsentrysymbolplural} instead of \cs{glsentrydesc} and % \cs{glsentrysymbol}} %\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style @@ -8701,11 +8737,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} %\changes{3.11a}{2013-10-15}{removed \cs{MakeUppercase} as now dealt %with in \cs{glsentryfmt}} @@ -8729,7 +8765,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsdisp} -%\changes{1.19}{2009 Mar 2}{new} +%\changes{1.19}{2009-03-02}{new} %\cs{glsdisp}\oarg{options}\marg{label}\marg{text} % This is like \cs{gls} except that the link text is provided. % This differs from \cs{glslink} in that it uses @@ -8749,7 +8785,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \newcommand*{\@glsdisp}[3][]{% \glsdoifexists{#2}{% % \end{macrocode} -%\changes{2.05}{2010 Feb 6}{Added closing brace. Patch provided by Sergiu Dotenco} +%\changes{2.05}{2010-02-06}{Added closing brace. Patch provided by Sergiu Dotenco} % \begin{macrocode} \let\do@gls@link@checkfirsthyper\@gls@link@checkfirsthyper % \end{macrocode} @@ -8780,17 +8816,17 @@ false,nolabel,autolabel,nameref}[nolabel]{% % type is \cs{acronymtype}, suppress % hyperlink for first use. Likewise if the \pkgopt[false]{hyperfirst} % package option is used. -%\changes{1.16}{2008 August 27}{Test glossary type is +%\changes{1.16}{2008-08-27}{Test glossary type is %\cs{acronymtype} in addition to %checking if footnote option has been used} -%\changes{2.03}{2009 Sep 23}{Added check for hyperfirst} -%\changes{2.04}{2009 November 10}{Changed test to check if glossary type +%\changes{2.03}{2009-09-23}{Added check for hyperfirst} +%\changes{2.04}{2009-11-10}{Changed test to check if glossary type %has been identified as a list of acronyms} % \begin{macrocode} \@gls@link[#1]{#2}{\@glo@text}% % \end{macrocode} % Indicate that this entry has now been used -%\changes{2.05}{2010 Feb 6}{Removed spurious brace. Patch provided by Sergiu Dotenco} +%\changes{2.05}{2010-02-06}{Removed spurious brace. Patch provided by Sergiu Dotenco} % \begin{macrocode} \ifKV@glslink@local \glslocalunset{#2}% @@ -8839,7 +8875,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{text} key and it doesn't mark the entry as % used. %\begin{macro}{\glstext} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glstext}{\@gls@hyp@opt\@glstext} @@ -8853,7 +8889,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glstext@{#1}{#2}}{\@glstext@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentrytext}} % \begin{macrocode} \def\@glstext@#1#2[#3]{% @@ -8877,7 +8913,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLStext@{#1}{#2}}{\@GLStext@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} % \begin{macrocode} \def\@GLStext@#1#2[#3]{% \@gls@field@link{#1}{#2}{\mfirstucMakeUppercase{\glsentrytext{#2}#3}}% @@ -8887,7 +8923,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glstext} behaves like \cs{glstext} except that the first letter % of the text is converted to uppercase. %\begin{macro}{\Glstext} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glstext}{\@gls@hyp@opt\@Glstext} @@ -8901,7 +8937,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glstext@{#1}{#2}}{\@Glstext@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{Changed to just use \cs{Glsentrytext}} % \begin{macrocode} \def\@Glstext@#1#2[#3]{% @@ -8913,7 +8949,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{first} key and it doesn't mark the entry as % used. %\begin{macro}{\glsfirst} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsfirst}{\@gls@hyp@opt\@glsfirst} @@ -8927,7 +8963,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glsfirst@{#1}{#2}}{\@glsfirst@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentryfirst}} % \begin{macrocode} \def\@glsfirst@#1#2[#3]{% @@ -8951,7 +8987,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glsfirst@{#1}{#2}}{\@Glsfirst@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{Glsentryfirst}} % \begin{macrocode} \def\@Glsfirst@#1#2[#3]{% @@ -8975,7 +9011,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSfirst@{#1}{#2}}{\@GLSfirst@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentryfirst}} % \begin{macrocode} \def\@GLSfirst@#1#2[#3]{% @@ -9000,7 +9036,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glsplural@{#1}{#2}}{\@glsplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentryplural}} % \begin{macrocode} \def\@glsplural@#1#2[#3]{% @@ -9024,7 +9060,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glsplural@{#1}{#2}}{\@Glsplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{Glsentryplural}} % \begin{macrocode} \def\@Glsplural@#1#2[#3]{% @@ -9035,7 +9071,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSplural} behaves like \ics{glsplural} except that the % text is converted to uppercase. %\begin{macro}{\GLSplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSplural}{\@gls@hyp@opt\@GLSplural} @@ -9049,7 +9085,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSplural@{#1}{#2}}{\@GLSplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentryplural}} % \begin{macrocode} \def\@GLSplural@#1#2[#3]{% @@ -9061,7 +9097,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{firstplural} key and it doesn't mark the entry as % used. %\begin{macro}{\glsfirstplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsfirstplural}{\@gls@hyp@opt\@glsfirstplural} @@ -9075,7 +9111,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glsfirstplural@{#1}{#2}}{\@glsfirstplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{glsentryfirstplural}} % \begin{macrocode} @@ -9087,7 +9123,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsfirstplural} behaves like \ics{glsfirstplural} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsfirstplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsfirstplural}{\@gls@hyp@opt\@Glsfirstplural} @@ -9101,7 +9137,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glsfirstplural@{#1}{#2}}{\@Glsfirstplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{Glsentryfirstplural}} % \begin{macrocode} @@ -9113,7 +9149,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSfirstplural} behaves like \ics{glsfirstplural} except that the % link text is converted to uppercase. %\begin{macro}{\GLSfirstplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSfirstplural}{\@gls@hyp@opt\@GLSfirstplural} @@ -9127,7 +9163,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSfirstplural@{#1}{#2}}{\@GLSfirstplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{glsentryfirstplural}} % \begin{macrocode} @@ -9140,7 +9176,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{name} key and it doesn't mark the entry as % used. %\begin{macro}{\glsname} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsname}{\@gls@hyp@opt\@glsname} @@ -9154,7 +9190,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glsname@{#1}{#2}}{\@glsname@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentryname}} % \begin{macrocode} \def\@glsname@#1#2[#3]{% @@ -9165,7 +9201,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsname} behaves like \ics{glsname} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsname} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsname}{\@gls@hyp@opt\@Glsname} @@ -9179,7 +9215,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glsname@{#1}{#2}}{\@Glsname@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{Glsentryname}} % \begin{macrocode} \def\@Glsname@#1#2[#3]{% @@ -9190,7 +9226,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSname} behaves like \ics{glsname} except that the % link text is converted to uppercase. %\begin{macro}{\GLSname} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSname}{\@gls@hyp@opt\@GLSname} @@ -9204,7 +9240,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSname@{#1}{#2}}{\@GLSname@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentryname}} % \begin{macrocode} \def\@GLSname@#1#2[#3]{% @@ -9216,7 +9252,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{description} key and it doesn't mark the entry % as used. %\begin{macro}{\glsdesc} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsdesc}{\@gls@hyp@opt\@glsdesc} @@ -9230,7 +9266,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glsdesc@{#1}{#2}}{\@glsdesc@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentrydesc}} % \begin{macrocode} \def\@glsdesc@#1#2[#3]{% @@ -9241,7 +9277,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsdesc} behaves like \ics{glsdesc} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsdesc} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsdesc}{\@gls@hyp@opt\@Glsdesc} @@ -9255,7 +9291,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glsdesc@{#1}{#2}}{\@Glsdesc@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{Glsentrydesc}} % \begin{macrocode} \def\@Glsdesc@#1#2[#3]{% @@ -9266,7 +9302,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSdesc} behaves like \ics{glsdesc} except that the % link text is converted to uppercase. %\begin{macro}{\GLSdesc} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSdesc}{\@gls@hyp@opt\@GLSdesc} @@ -9280,7 +9316,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSdesc@{#1}{#2}}{\@GLSdesc@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentrydesc}} % \begin{macrocode} \def\@GLSdesc@#1#2[#3]{% @@ -9292,7 +9328,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{descriptionplural} key and it doesn't mark the entry % as used. %\begin{macro}{\glsdescplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsdescplural}{\@gls@hyp@opt\@glsdescplural} @@ -9306,7 +9342,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glsdescplural@{#1}{#2}}{\@glsdescplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{glsentrydescplural}} % \begin{macrocode} @@ -9318,7 +9354,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsdescplural} behaves like \ics{glsdescplural} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsdescplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsdescplural}{\@gls@hyp@opt\@Glsdescplural} @@ -9332,7 +9368,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glsdescplural@{#1}{#2}}{\@Glsdescplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{Glsentrydescplural}} % \begin{macrocode} @@ -9344,7 +9380,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSdescplural} behaves like \ics{glsdescplural} except that the % link text is converted to uppercase. %\begin{macro}{\GLSdescplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSdescplural}{\@gls@hyp@opt\@GLSdescplural} @@ -9358,7 +9394,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSdescplural@{#1}{#2}}{\@GLSdescplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -% \changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +% \changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{glsentrydescplural}} % \begin{macrocode} @@ -9371,7 +9407,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{symbol} key and it doesn't mark the entry as % used. %\begin{macro}{\glssymbol} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glssymbol}{\@gls@hyp@opt\@glssymbol} @@ -9385,7 +9421,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glssymbol@{#1}{#2}}{\@glssymbol@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentrysymbol}} % \begin{macrocode} \def\@glssymbol@#1#2[#3]{% @@ -9396,7 +9432,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glssymbol} behaves like \ics{glssymbol} except that the % first letter is converted to uppercase. %\begin{macro}{\Glssymbol} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glssymbol}{\@gls@hyp@opt\@Glssymbol} @@ -9410,7 +9446,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glssymbol@{#1}{#2}}{\@Glssymbol@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{Glsentrysymbol}} % \begin{macrocode} \def\@Glssymbol@#1#2[#3]{% @@ -9421,7 +9457,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSsymbol} behaves like \ics{glssymbol} except that the % link text is converted to uppercase. %\begin{macro}{\GLSsymbol} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSsymbol}{\@gls@hyp@opt\@GLSsymbol} @@ -9435,7 +9471,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSsymbol@{#1}{#2}}{\@GLSsymbol@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use \cs{glsentrysymbol}} % \begin{macrocode} \def\@GLSsymbol@#1#2[#3]{% @@ -9447,7 +9483,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{symbolplural} key and it doesn't mark the entry as % used. %\begin{macro}{\glssymbolplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glssymbolplural}{\@gls@hyp@opt\@glssymbolplural} @@ -9461,7 +9497,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@glssymbolplural@{#1}{#2}}{\@glssymbolplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{glsentrysymbolplural}} % \begin{macrocode} @@ -9473,7 +9509,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glssymbolplural} behaves like \ics{glssymbolplural} except that the % first letter is converted to uppercase. %\begin{macro}{\Glssymbolplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glssymbolplural}{\@gls@hyp@opt\@Glssymbolplural} @@ -9487,7 +9523,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@Glssymbolplural@{#1}{#2}}{\@Glssymbolplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{Glsentrysymbolplural}} % \begin{macrocode} @@ -9499,7 +9535,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSsymbolplural} behaves like \ics{glssymbolplural} except that the % link text is converted to uppercase. %\begin{macro}{\GLSsymbolplural} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSsymbolplural}{\@gls@hyp@opt\@GLSsymbolplural} @@ -9513,7 +9549,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \new@ifnextchar[{\@GLSsymbolplural@{#1}{#2}}{\@GLSsymbolplural@{#1}{#2}[]}} % \end{macrocode} % Read in the final optional argument: -%\changes{1.13}{2008 May 10}{fixed bug that ignored 3rd parameter} +%\changes{1.13}{2008-05-10}{fixed bug that ignored 3rd parameter} %\changes{3.11a}{2013-10-15}{changed to just use %\cs{glsentrysymbolplural}} % \begin{macrocode} @@ -9526,7 +9562,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{user1} key and it doesn't mark the entry % as used. %\begin{macro}{\glsuseri} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsuseri}{\@gls@hyp@opt\@glsuseri} @@ -9550,7 +9586,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsuseri} behaves like \ics{glsuseri} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsuseri} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsuseri}{\@gls@hyp@opt\@Glsuseri} @@ -9574,7 +9610,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSuseri} behaves like \ics{glsuseri} except that the % link text is converted to uppercase. %\begin{macro}{\GLSuseri} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSuseri}{\@gls@hyp@opt\@GLSuseri} @@ -9599,7 +9635,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{user2} key and it doesn't mark the entry % as used. %\begin{macro}{\glsuserii} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsuserii}{\@gls@hyp@opt\@glsuserii} @@ -9623,7 +9659,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsuserii} behaves like \ics{glsuserii} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsuserii} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsuserii}{\@gls@hyp@opt\@Glsuserii} @@ -9647,7 +9683,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSuserii} behaves like \ics{glsuserii} except that the % link text is converted to uppercase. %\begin{macro}{\GLSuserii} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSuserii}{\@gls@hyp@opt\@GLSuserii} @@ -9672,7 +9708,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{user3} key and it doesn't mark the entry % as used. %\begin{macro}{\glsuseriii} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsuseriii}{\@gls@hyp@opt\@glsuseriii} @@ -9696,7 +9732,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsuseriii} behaves like \ics{glsuseriii} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsuseriii} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsuseriii}{\@gls@hyp@opt\@Glsuseriii} @@ -9720,7 +9756,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSuseriii} behaves like \ics{glsuseriii} except that the % link text is converted to uppercase. %\begin{macro}{\GLSuseriii} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSuseriii}{\@gls@hyp@opt\@GLSuseriii} @@ -9745,7 +9781,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{user4} key and it doesn't mark the entry % as used. %\begin{macro}{\glsuseriv} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsuseriv}{\@gls@hyp@opt\@glsuseriv} @@ -9769,7 +9805,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsuseriv} behaves like \ics{glsuseriv} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsuseriv} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsuseriv}{\@gls@hyp@opt\@Glsuseriv} @@ -9793,7 +9829,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSuseriv} behaves like \ics{glsuseriv} except that the % link text is converted to uppercase. %\begin{macro}{\GLSuseriv} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSuseriv}{\@gls@hyp@opt\@GLSuseriv} @@ -9818,7 +9854,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{user5} key and it doesn't mark the entry % as used. %\begin{macro}{\glsuserv} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsuserv}{\@gls@hyp@opt\@glsuserv} @@ -9842,7 +9878,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsuserv} behaves like \ics{glsuserv} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsuserv} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsuserv}{\@gls@hyp@opt\@Glsuserv} @@ -9866,7 +9902,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSuserv} behaves like \ics{glsuserv} except that the % link text is converted to uppercase. %\begin{macro}{\GLSuserv} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSuserv}{\@gls@hyp@opt\@GLSuserv} @@ -9891,7 +9927,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % given by the \gloskey{user6} key and it doesn't mark the entry % as used. %\begin{macro}{\glsuservi} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\glsuservi}{\@gls@hyp@opt\@glsuservi} @@ -9915,7 +9951,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{Glsuservi} behaves like \ics{glsuservi} except that the % first letter is converted to uppercase. %\begin{macro}{\Glsuservi} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Glsuservi}{\@gls@hyp@opt\@Glsuservi} @@ -9939,7 +9975,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \cs{GLSuservi} behaves like \ics{glsuservi} except that the % link text is converted to uppercase. %\begin{macro}{\GLSuservi} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\GLSuservi}{\@gls@hyp@opt\@GLSuservi} @@ -9962,7 +9998,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % Now deal with acronym related keys. First the short form: %\begin{macro}{\acrshort} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\acrshort}{\@gls@hyp@opt\ns@acrshort} @@ -9981,7 +10017,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@acrshort#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10010,7 +10049,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\Acrshort} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Acrshort}{\@gls@hyp@opt\ns@Acrshort} @@ -10029,7 +10068,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@Acrshort#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10057,7 +10099,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\ACRshort} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\ACRshort}{\@gls@hyp@opt\ns@ACRshort} @@ -10076,7 +10118,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@ACRshort#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10105,7 +10150,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % Short plural: %\begin{macro}{\acrshortpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\acrshortpl}{\@gls@hyp@opt\ns@acrshortpl} @@ -10124,7 +10169,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@acrshortpl#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10152,7 +10200,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\Acrshortpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Acrshortpl}{\@gls@hyp@opt\ns@Acrshortpl} @@ -10171,7 +10219,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@Acrshortpl#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10199,7 +10250,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\ACRshortpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\ACRshortpl}{\@gls@hyp@opt\ns@ACRshortpl} @@ -10218,7 +10269,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@ACRshortpl#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10246,7 +10300,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\acrlong} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\acrlong}{\@gls@hyp@opt\ns@acrlong} @@ -10265,7 +10319,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@acrlong#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10298,7 +10355,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\Acrlong} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Acrlong}{\@gls@hyp@opt\ns@Acrlong} @@ -10317,7 +10374,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@Acrlong#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10350,7 +10410,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\ACRlong} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\ACRlong}{\@gls@hyp@opt\ns@ACRlong} @@ -10369,7 +10429,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@ACRlong#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10403,7 +10466,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % Short plural: %\begin{macro}{\acrlongpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\acrlongpl}{\@gls@hyp@opt\ns@acrlongpl} @@ -10422,7 +10485,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@acrlongpl#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10455,7 +10521,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\Acrlongpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Acrlongpl}{\@gls@hyp@opt\ns@Acrlongpl} @@ -10474,7 +10540,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@Acrlongpl#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10508,7 +10577,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % %\begin{macro}{\ACRlongpl} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\ACRlongpl}{\@gls@hyp@opt\ns@ACRlongpl} @@ -10527,7 +10596,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \def\@ACRlongpl#1#2[#3]{% \glsdoifexists{#2}% {% - \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{4.21}{2016-01-24}{changed checkfirsthyper assignment} +% \begin{macrocode} + \let\do@gls@link@checkfirsthyper\@gls@link@nocheckfirsthyper % \end{macrocode} %\changes{3.11a}{2013-10-15}{added \cs{glslabel}, \cs{glsifplural}, % \cs{glscapscase}, \cs{glsinsert} and \cs{glscustomtext}} @@ -10714,7 +10786,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % Plural form: %\begin{macro}{\glsentrydescplural} -%\changes{1.12}{2008 Mar 8}{New} +%\changes{1.12}{2008-03-08}{New} % \begin{macrocode} \newcommand*{\glsentrydescplural}[1]{% \@gls@entry@field{#1}{descplural}% @@ -10722,7 +10794,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentrydescplural} -%\changes{1.12}{2008 Mar 8}{New} +%\changes{1.12}{2008-03-08}{New} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentrydescplural}[1]{% @@ -10784,7 +10856,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % Plural form: %\begin{macro}{\glsentrysymbolplural} -%\changes{1.12}{2008 Mar 8}{New} +%\changes{1.12}{2008-03-08}{New} % \begin{macrocode} \newcommand*{\glsentrysymbolplural}[1]{% \@gls@entry@field{#1}{symbolplural}% @@ -10792,7 +10864,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentrysymbolplural} -%\changes{1.12}{2008 Mar 8}{New} +%\changes{1.12}{2008-03-08}{New} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentrysymbolplural}[1]{% @@ -10863,7 +10935,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the first user key (as specified by the % \gloskey{user1} when the entry was defined). The argument % is the label associated with the entry. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\glsentryuseri}[1]{% \@gls@entry@field{#1}{useri}% @@ -10871,7 +10943,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryuseri} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryuseri}[1]{% @@ -10884,7 +10956,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the second user key (as specified by the % \gloskey{user2} when the entry was defined). The argument % is the label associated with the entry. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\glsentryuserii}[1]{% \@gls@entry@field{#1}{userii}% @@ -10892,7 +10964,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryuserii} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryuserii}[1]{% @@ -10905,7 +10977,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the third user key (as specified by the % \gloskey{user3} when the entry was defined). The argument % is the label associated with the entry. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\glsentryuseriii}[1]{% \@gls@entry@field{#1}{useriii}% @@ -10913,7 +10985,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryuseriii} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryuseriii}[1]{% @@ -10926,7 +10998,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the fourth user key (as specified by the % \gloskey{user4} when the entry was defined). The argument % is the label associated with the entry. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\glsentryuseriv}[1]{% \@gls@entry@field{#1}{useriv}% @@ -10934,7 +11006,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryuseriv} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryuseriv}[1]{% @@ -10947,7 +11019,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the fifth user key (as specified by the % \gloskey{user5} when the entry was defined). The argument % is the label associated with the entry. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\glsentryuserv}[1]{% \@gls@entry@field{#1}{userv}% @@ -10955,7 +11027,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryuserv} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryuserv}[1]{% @@ -10968,7 +11040,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the sixth user key (as specified by the % \gloskey{user6} when the entry was defined). The argument % is the label associated with the entry. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\glsentryuservi}[1]{% \@gls@entry@field{#1}{uservi}% @@ -10976,7 +11048,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryuservi} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryuservi}[1]{% @@ -10989,13 +11061,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the short key (as specified by the % \gloskey{short} the entry was defined). The argument % is the label associated with the entry. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\glsentryshort}[1]{\@gls@entry@field{#1}{short}} % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryshort} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryshort}[1]{% @@ -11008,13 +11080,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the short plural key (as specified by the % \gloskey{shortplural} the entry was defined). The argument % is the label associated with the entry. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\glsentryshortpl}[1]{\@gls@entry@field{#1}{shortpl}} % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentryshortpl} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentryshortpl}[1]{% @@ -11027,13 +11099,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the long key (as specified by the % \gloskey{long} the entry was defined). The argument % is the label associated with the entry. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\glsentrylong}[1]{\@gls@entry@field{#1}{long}} % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentrylong} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentrylong}[1]{% @@ -11046,13 +11118,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Get the long plural key (as specified by the % \gloskey{longplural} the entry was defined). The argument % is the label associated with the entry. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\glsentrylongpl}[1]{\@gls@entry@field{#1}{longpl}} % \end{macrocode} %\end{macro} %\begin{macro}{\Glsentrylongpl} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\changes{3.09a}{2013-10-09}{made robust} % \begin{macrocode} \newrobustcmd*{\Glsentrylongpl}[1]{% @@ -11073,7 +11145,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\begin{macro}{\Glsentryfull} %\changes{3.09a}{2013-10-09}{made robust} -%\changes{3.02}{2012/05/21}{fixed bug (replaced \cs{glsentryshortpl} +%\changes{3.02}{2012-05-21}{fixed bug (replaced \cs{glsentryshortpl} %with \cs{glsentryshort})} %\changes{3.13a}{2013-11-05}{changed to use \cs{acrfullformat}} %\changes{4.02}{2013-12-05}{bug fix: added missing \cs{acronymfont}} @@ -11084,7 +11156,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\glsentryfullpl} -%\changes{3.02}{2012/05/21}{fixed bug (replaced \cs{glsentryshort} +%\changes{3.02}{2012-05-21}{fixed bug (replaced \cs{glsentryshort} %with \cs{glsentryshortpl})} %\changes{3.13a}{2013-11-05}{changed to use \cs{acrfullformat}} %\changes{4.02}{2013-12-05}{bug fix: added missing \cs{acronymfont}} @@ -11106,7 +11178,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsentrynumberlist} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} %Displays the number list as is. % \begin{macrocode} \newcommand*{\glsentrynumberlist}[1]{% @@ -11119,7 +11191,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsdisplaynumberlist} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Formats the number list for the given entry label. % Doesn't work with hyperref. % \begin{macrocode} @@ -11176,13 +11248,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsnumlistsep} -%\changes{3.02}{21012/05/19}{new} +%\changes{3.02}{2012-05-19}{new} % \begin{macrocode} \newcommand*{\glsnumlistsep}{, } % \end{macrocode} %\end{macro} %\begin{macro}{\glsnumlistlastsep} -%\changes{3.02}{21012/05/19}{new} +%\changes{3.02}{2012-05-19}{new} % \begin{macrocode} \newcommand*{\glsnumlistlastsep}{ \& } % \end{macrocode} @@ -11195,8 +11267,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% % the target is defined. The first (optional) argument specifies % the link text. The entry name is used by default. The second % argument is the entry label. -%\changes{1.17}{2008 December 26}{new} -%\changes{3.0}{2011/04/02}{changed default from \cs{glsentryname} +%\changes{1.17}{2008-12-26}{new} +%\changes{3.0}{2011-04-02}{changed default from \cs{glsentryname} %to \cs{glsentrytext}} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} % \begin{macrocode} @@ -11206,14 +11278,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Adding an entry to the glossary without generating +%\section{Adding an entry to the glossary without generating % text} % The following keys are provided for \cs{glsadd} and % \cs{glsaddall}: % \begin{macrocode} \define@key{glossadd}{counter}{\def\@gls@counter{#1}} % \end{macrocode} -%\changes{2.07}{2010 Jul 10}{glssadd format key stored in \cs{@glsnumberformat} +%\changes{2.07}{2010-07-10}{glssadd format key stored in \cs{@glsnumberformat} %(was mistakenly stored in \cs{@glo@format})} % \begin{macrocode} \define@key{glossadd}{format}{\def\@glsnumberformat{#1}} @@ -11232,9 +11304,9 @@ false,nolabel,autolabel,nameref}[nolabel]{% % the second argument is the entry label. Note that \meta{options} % only has two keys: \gloskey[glsadd]{counter} and \gloskey[glsadd]{format} (the \gloskey[glsaddall]{types} key will be ignored). %\begin{macro}{\glsadd} -%\changes{1.07}{2007 Sep 13}{fixed bug caused by \cs{theglsentrycounter} setting the page number too soon} -%\changes{2.04}{2009 November 10}{fixed bug that ignored counter} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{1.07}{2007-09-13}{fixed bug caused by \cs{theglsentrycounter} setting the page number too soon} +%\changes{2.04}{2009-11-10}{fixed bug that ignored counter} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} %\changes{4.12}{2014-11-22}{added check for vertical mode} % \begin{macrocode} @@ -11251,7 +11323,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \setkeys{glossadd}{#1}% % \end{macrocode} % Store the entry's counter in \cs{theglsentrycounter} -%\changes{3.0}{2011/04/02}{added \cs{@gls@saveentrycounter}} +%\changes{3.0}{2011-04-02}{added \cs{@gls@saveentrycounter}} %\changes{4.16}{2015-07-08}{changed \cs{@do@wrglossary} to %\cs{@@do@wrglossary}} % \begin{macrocode} @@ -11282,7 +11354,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % any text). If \gloskey[glsaddall]{types} key is omitted, apply to all % glossary types. %\begin{macro}{\glsaddall} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} % \begin{macrocode} \newrobustcmd*{\glsaddall}[1][]{% \edef\@glo@type{\@glo@types}% @@ -11321,7 +11393,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Creating associated files} +%\section{Creating associated files} % The \cs{writeist} command creates the associated % customized \filetype{.ist} \app{makeindex} style file. % While defining this command, some characters have their @@ -11443,10 +11515,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\begin{macro}{\writeist} -%\changes{1.17}{2008 December 26}{added xindy support} -%\changes{1.01}{2007 May 17}{Added spaces after \cs{delimN} and +%\changes{1.17}{2008-12-26}{added xindy support} +%\changes{1.01}{2007-05-17}{Added spaces after \cs{delimN} and %\cs{delimR} in ist file}% -%\changes{3.0}{2011/04/02}{modified to support new format} +%\changes{3.0}{2011-04-02}{modified to support new format} % \begin{macrocode} \ifglsxindy % \end{macrocode} @@ -11578,7 +11650,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \write\glswrite{^^J; define the glossary markup^^J}% % \end{macrocode} -%\changes{3.0}{2011/04/02}{added xindy-only macro definitions to +%\changes{3.0}{2011-04-02}{added xindy-only macro definitions to %glossary open tag} % \begin{macrocode} \write\glswrite{(markup-index^^J\space\space\space @@ -11746,7 +11818,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \string"\string\\relax \string\\glsresetentrylist\string\n \string"} % \end{macrocode} -%\changes{2.05}{2010 Feb 6}{Added \cs{string} before opening +%\changes{2.05}{2010-02-06}{Added \cs{string} before opening % and closing braces. Patch provided by Segiu Dotenco} % \begin{macrocode} \write\glswrite{delim_0 \string"\string\{\string @@ -11822,7 +11894,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % Only create a new write if \pkgopt[false]{savewrites} otherwise % create a token to collect the information. -%\changes{3.0}{2010 Jul 12}{Added check for \pkgopt{savewrites}} +%\changes{3.0}{2010-07-12}{Added check for \pkgopt{savewrites}} % \begin{macrocode} \ifglssavewrites \expandafter\newtoks\csname glo@#1@filetok\endcsname @@ -12002,7 +12074,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% }% % \end{macrocode} % Declare list parser for \cs{glsdisplaynumberlist} -%\changes{3.02}{2012/05/21}{added list parser} +%\changes{3.02}{2012-05-21}{added list parser} % \begin{macrocode} \ifglssavenumberlist \edef\@gls@dodeflistparser{\noexpand\DeclareListParser @@ -12303,11 +12375,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Writing information to associated files} +%\section{Writing information to associated files} % % %\begin{macro}{\istfile} -%\changes{3.0}{2011/04/02}{deprecated} +%\changes{3.0}{2011-04-02}{deprecated} % Deprecated. % \begin{macrocode} \def\istfile{\glswrite} @@ -12330,8 +12402,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% \newcommand*{\@glswritefiles}{% % \end{macrocode} % Iterate through all the glossaries -%\changes{3.01}{2011/04/12}{added check for empty glossaries} -%\changes{3.02}{2012/05/21}{added check for existence of token +%\changes{3.01}{2011-04-12}{added check for empty glossaries} +%\changes{3.02}{2012-05-21}{added check for existence of token % in case \cs{makeglossaries has been omitted}} % \begin{macrocode} \forallglossaries{\@glo@type}{% @@ -12409,7 +12481,7 @@ you % This gets redefined in \cs{@makeglossary}. This is % defined to just \cs{index} as \cls{memoir} changes the definition of % \cs{@index}. (Thanks to Dan Luecking for pointing this out.) -%\changes{1.17}{2008 December 26}{changed definition to use +%\changes{1.17}{2008-12-26}{changed definition to use %\cs{index} instead of \cs{@index}} %\changes{4.10}{2014-08-27}{Renamed \cs{@glossary} to \cs{@gls@glossary}} % The argument \verb|#1| is the glossary type. @@ -12433,8 +12505,8 @@ you % the second argument is the glossary entry % (the format of which is set in \cs{glslink}). %\begin{macro}{\gls@wrglossary} -%\changes{1.17}{2008 December 26}{modified to allow for xindy support} -%\changes{3.0}{2010 Jul 12}{modified to take into account +%\changes{1.17}{2008-12-26}{modified to allow for xindy support} +%\changes{3.0}{2010-07-12}{modified to take into account %\pkgopt{savewrites}} %\changes{4.11}{2014-09-01}{renamed from \cs{@wrglossary} to %\cs{gls@wrglossary}} @@ -12446,7 +12518,7 @@ you \expandafter{\@gls@tmp^^J}% \else % \end{macrocode} -%\changes{3.02}{2012/05/21}{added check for glossary file defined}% +%\changes{3.02}{2012-05-21}{added check for glossary file defined}% % \begin{macrocode} \ifcsdef{glo@#1@file}% {% @@ -12466,7 +12538,7 @@ you %\end{macro} % %\begin{macro}{\@do@wrglossary} -%\changes{3.02}{2012/05/21}{changed \cs{@do@wr@glossary} to test for +%\changes{3.02}{2012-05-21}{changed \cs{@do@wr@glossary} to test for %\pkgopt{indexonlyfirst} option; put old \cs{@do@wr@glossary} code %into \cs{@@do@wrglossary}} % \begin{macrocode} @@ -12586,11 +12658,11 @@ you %\end{macro} % %\begin{macro}{\@@do@wrglossary} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Write the glossary entry in the appropriate format. % (Need to set \cs{@glsnumberformat} and \cs{@gls@counter} prior to use.) % The argument is the entry's label. -%\changes{3.0}{2011/04/02}{modified to use new format} +%\changes{3.0}{2011-04-02}{modified to use new format} % \begin{macrocode} \newcommand*{\@@do@wrglossary}[1]{% \begingroup @@ -12643,7 +12715,7 @@ you % \end{macrocode} % Check if the hyper-location is the same as the location and set % the hyper prefix. -%\changes{3.0}{2011/04/02}{added check for hyper location prefix} +%\changes{3.0}{2011-04-02}{added check for hyper location prefix} % \begin{macrocode} \expandafter\ifx\theHglsentrycounter\theglsentrycounter\relax \def\@glo@counterprefix{}% @@ -12695,7 +12767,7 @@ you \gls@glossary{\csname glo@\@gls@label @type\endcsname}{% (indexentry :tkey (\csname glo@\@gls@label @index\endcsname) % \end{macrocode} -%\changes{3.02}{2012/05/21}{changed \cs{@glslocref} to \cs{theglsentrycounter}} +%\changes{3.02}{2012-05-21}{changed \cs{@glslocref} to \cs{theglsentrycounter}} %\changes{3.04}{2012-11-18}{changed \cs{theglsentrycounter} back to \cs{@glslocref}} % \begin{macrocode} :locref \string"{\@glo@counterprefix}{\@glslocref}\string" % @@ -12746,7 +12818,7 @@ you \@gls@get@counterprefix#2.#1\end@getprefix % \end{macrocode} % Warn if no prefix can be formed. -%\changes{4.04}{2014-0304}{added warning if no prefix can be formed} +%\changes{4.04}{2014-03-04}{added warning if no prefix can be formed} % \begin{macrocode} \ifx\@glo@counterprefix\@empty \GlossariesWarning{Hyper target `#2' can't be formed by @@ -12760,14 +12832,14 @@ you % \end{macrocode} %\end{macro} % -%\subsection{Glossary Entry Cross-References} +%\section{Glossary Entry Cross-References} %\begin{macro}{\@do@seeglossary} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % Write the glossary entry with a cross reference. % The first argument is the entry's label, the second must be in % the form \oarg{tag}\marg{list}, where \meta{tag} is a tag % such as ``see'' and \meta{list} is a list of labels. -%\changes{3.0}{2011/04/02}{Sanitize and escape cross-referencing +%\changes{3.0}{2011-04-02}{Sanitize and escape cross-referencing %information} % \begin{macrocode} \newcommand{\@do@seeglossary}[2]{% @@ -12814,7 +12886,7 @@ you % %\begin{macro}{\glssee} %\cs{glssee}\marg{label}\marg{cross-ref list} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} %\changes{3.08a}{2013-09-28}{made robust} % \begin{macrocode} \DeclareRobustCommand*{\glssee}[3][\seename]{% @@ -12825,7 +12897,7 @@ you %\end{macro} % %\begin{macro}{\glsseeformat} -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} %\changes{3.08a}{2013-09-28}{made robust} % The first argument specifies what tag to use (e.g.\ ``see''), % the second argument is a comma-separated list of labels. @@ -12894,7 +12966,7 @@ you %\begin{macro}{\glsseeitem} %\cs{glsseeitem}\marg{label} formats individual entry in a % cross-referencing list. -%\changes{3.0}{2011/04/02}{hyperlink uses \cs{glsseeitemformat} instead +%\changes{3.0}{2011-04-02}{hyperlink uses \cs{glsseeitemformat} instead %of \cs{glsentryname}} %\changes{3.08a}{2013-09-28}{made robust} % \begin{macrocode} @@ -12902,7 +12974,7 @@ you % \end{macrocode} %\end{macro} %\begin{macro}{\glsseeitemformat} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % As from v3.0, default is to use \ics{glsentrytext} instead of % \ics{glsentryname}. (To avoid problems with the \gloskey{name} key being % sanitized.) @@ -12911,7 +12983,7 @@ you % \end{macrocode} %\end{macro} % -% \subsection{Displaying the glossary}\label{sec:code:printglos} +% \section{Displaying the glossary}\label{sec:code:printglos} % An individual glossary is displayed in the text using % \cs{printglossary}\oarg{key-val list}. If the % \gloskey[printglossary]{type} key is omitted, the default glossary is displayed. @@ -12920,7 +12992,7 @@ you % entry in the table of contents. Available keys are defined below. % %\begin{macro}{\gls@save@numberlist} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Provide command to store number list. % \begin{macrocode} \newcommand*{\gls@save@numberlist}[1]{% @@ -12949,15 +13021,15 @@ you %\end{macro} % %\begin{macro}{\printglossary} -%\changes{1.17}{2008 December 26}{added print language to aux file} -%\changes{1.15}{2008 August 15}{changed the way the TOC title is set} -%\changes{1.17}{2008 December 26}{added check to determine if +%\changes{1.17}{2008-12-26}{added print language to aux file} +%\changes{1.15}{2008-08-15}{changed the way the TOC title is set} +%\changes{1.17}{2008-12-26}{added check to determine if %\cs{printglossary} is already % defined} % The TOC title needs to be processed in a different manner % to the main title in case the \sty{translator} and \sty{hyperref} packages % are both being used. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{printglossary}{}% @@ -13055,7 +13127,19 @@ you % \begin{macrocode} \def\glossarytoctitle{\glossarytitle}% \let\org@glossarytitle\glossarytitle - \def\@glossarystyle{}% +% \end{macrocode} +%\changes{4.21}{2016-01-24}{warn if no style has been set} +% \begin{macrocode} + \def\@glossarystyle{% + \ifx\@glossary@default@style\relax + \GlossariesWarning{No default glossary style provided \MessageBreak + for the glossary `\@glo@type'. \MessageBreak + Using deprecated fallback. \MessageBreak + To fix this set the style with \MessageBreak + \string\setglossarystyle\space or use the \MessageBreak + style key=value option}% + \fi + }% \def\gls@dotoctitle{\glssettoctitle{\@glo@type}}% % \end{macrocode} % Store current value of \ics{glossaryentrynumbers}. (This may @@ -13078,7 +13162,7 @@ you % If title has been set, but toctitle hasn't, make toctitle the same % as given title (rather than the title used when the glossary was % defined) -%\changes{3.0}{2011/04/02}{make toctitle default to title} +%\changes{3.0}{2011-04-02}{make toctitle default to title} % \begin{macrocode} \ifx\glossarytitle\org@glossarytitle \else @@ -13087,7 +13171,7 @@ you \fi % \end{macrocode} % Allow a high-level user command to indicate the current glossary -%\changes{3.0}{2011/04/02}{added \cs{currentglossary}} +%\changes{3.0}{2011-04-02}{added \cs{currentglossary}} % \begin{macrocode} \let\currentglossary\@glo@type % \end{macrocode} @@ -13097,7 +13181,7 @@ you \let\glsnonextpages\@glsnonextpages % \end{macrocode} % Enable individual number list to be activated: -%\changes{3.0}{2011/04/02}{added \cs{glsnextpages}} +%\changes{3.0}{2011-04-02}{added \cs{glsnextpages}} % \begin{macrocode} \let\glsnextpages\@glsnextpages % \end{macrocode} @@ -13113,7 +13197,7 @@ you % \begin{macrocode} \@glossarystyle % \end{macrocode} -%\changes{3.02}{2012/05/21}{add a way to fetch current entry label} +%\changes{3.02}{2012-05-21}{add a way to fetch current entry label} % Added a way to fetch the current entry label (v3.08 updated for % new \cs{glossentry} and \cs{subglossentry}, but this is now only % needed for backward compatibility): @@ -13147,7 +13231,7 @@ you \global\let\glossaryentrynumbers\@org@glossaryentrynumbers % \end{macrocode} % Suppress warning about no \ics{printglossary} -%\changes{2.02}{2007 July 13}{suppressed warning globally rather than locally} +%\changes{2.02}{2007-07-13}{suppressed warning globally rather than locally} % \begin{macrocode} \global\let\warn@noprintglossary\relax } @@ -13183,7 +13267,7 @@ you % If \app{xindy} is being used, need to write the language % dependent information to the \filetype{.aux} file for % \app{makeglossaries}. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} %\changes{3.04}{2012-11-18}{Moved aux write to end of document to %prevent unwanted whatsit occurring here.} @@ -13885,7 +13969,7 @@ you % \end{macrocode} % The \gloskey[printglossary]{style} key sets the glossary style (but only for % the given glossary). -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \define@key{printgloss}{style}{% @@ -13900,7 +13984,7 @@ you }% } % \end{macrocode} -% \changes{1.14}{2008 June 17}{added numberedsection key to +% \changes{1.14}{2008-06-17}{added numberedsection key to % \cs{printglossary}} % The \gloskey[printglossary]{numberedsection} key determines if this % glossary should be in a numbered section. @@ -14019,7 +14103,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% } % \end{macrocode} % -% \changes{1.14}{2008 June 17}{added nonumberlist key to +% \changes{1.14}{2008-06-17}{added nonumberlist key to % \cs{printglossary}} % The \gloskey[printglossary]{nonumberlist} key determines if this % glossary should have a number list. @@ -14061,7 +14145,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % %\begin{macro}{\@glsnonextpages} -%\changes{1.17}{2008 December 26}{new}% +%\changes{1.17}{2008-12-26}{new}% % Suppresses the next number list only. Global assignments required % as it may not occur in the same level of grouping as the % next numberlist. (For example, if \cs{glsnonextpages} is place @@ -14078,7 +14162,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\@glsnextpages} -%\changes{3.0}{2011/04/02}{new}% +%\changes{3.0}{2011-04-02}{new}% % Activate the next number list only. Global assignments required % as it may not occur in the same level of grouping as the % next numberlist. (For example, if \cs{glsnextpages} is place @@ -14116,7 +14200,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{counter}{glossaryentry} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % If the \pkgopt{entrycounter} package option has been used, define % a counter to number each level~0 entry. % \begin{macrocode} @@ -14132,7 +14216,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{counter} % %\begin{counter}{glossarysubentry} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % If the \pkgopt{subentrycounter} package option has been used, define % a counter to number each level~1 entry. % \begin{macrocode} @@ -14148,7 +14232,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{counter} % %\begin{macro}{\glsresetsubentrycounter} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Resets the \ctr{glossarysubentry} counter. % \begin{macrocode} \ifglssubentrycounter @@ -14162,7 +14246,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsresetsubentrycounter} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} % Resets the \ctr{glossarentry} counter. % \begin{macrocode} \ifglsentrycounter @@ -14176,7 +14260,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsstepentry} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Advance the \ctr{glossaryentry} counter if in use. The argument is % the label associated with the entry. %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} @@ -14193,7 +14277,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsstepsubentry} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Advance the \ctr{glossarysubentry} counter if in use. The argument is % the label associated with the subentry. %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} @@ -14211,7 +14295,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsrefentry} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Reference the entry or sub-entry counter if in use, otherwise just do % \ics{gls}. %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} @@ -14229,7 +14313,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glsentrycounterlabel} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Defines how to display the \ctr{glossaryentry} counter. % \begin{macrocode} \ifglsentrycounter @@ -14241,7 +14325,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glssubentrycounterlabel} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Defines how to display the \ctr{glossarysubentry} counter. % \begin{macrocode} \ifglssubentrycounter @@ -14254,7 +14338,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\glsentryitem} % Step and display \ctr{glossaryentry} counter, if appropriate. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \ifglsentrycounter \newcommand*{\glsentryitem}[1]{% @@ -14268,7 +14352,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\glssubentryitem} % Step and display \ctr{glossarysubentry} counter, if appropriate. -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \ifglssubentrycounter \newcommand*{\glssubentryitem}[1]{% @@ -14284,7 +14368,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % If the \env{theglossary} environment has % already been defined, a warning will be issued. % This environment should be redefined by glossary styles. -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{theglossary}% @@ -14312,7 +14396,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\glstarget} -%\changes{1.18}{2009 January 14}{new} +%\changes{1.18}{2009-01-14}{new} %\cs{glstarget}\marg{label}\marg{name}\\[10pt] % Provide user interface to \cs{@glstarget} to make it easier to % modify the glossary style in the document. @@ -14551,7 +14635,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % non-expandable, so we need to check for that otherwise it will % create a \qt{missing \cs{endcsname} inserted} error. %\begin{macro}{\glsgetgrouptitle} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} %\changes{3.11a}{2013-10-15}{Added check in case non-Latin alphabet %in use} @@ -14626,7 +14710,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \ics{glossary} argument so that the relevant counter is % set prior to the formatting command. %\begin{macro}{\setentrycounter} -%\changes{3.0}{2011/04/02}{added optional argument} +%\changes{3.0}{2011-04-02}{added optional argument} % \begin{macrocode} \newcommand*{\setentrycounter}[2][]{% \def\@glo@counterprefix{#1}% @@ -14653,11 +14737,18 @@ false,nolabel,autolabel,nameref}[nolabel]{% {% \csname @glsstyle@#1\endcsname }% +% \end{macrocode} +%\changes{4.21}{2016-01-24}{set default style if not already set} +% Set the default style if it's not already set. +% \begin{macrocode} + \ifx\@glossary@default@style\relax + \protected@edef\@glossary@default@style{#1}% + \fi } % \end{macrocode} %\end{macro} %\begin{macro}{\glossarystyle} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \newcommand*{\glossarystyle}[1]{% @@ -14680,6 +14771,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% {\setglossentrycompatibility\csuse{@glscompstyle@#1}}% {}% }% +% \end{macrocode} +%\changes{4.21}{2016-01-24}{set default style if not already set} +% Set the default style if it isn't already set so that +% \cs{printglossary} can warn if the fallback style is in use. +% \begin{macrocode} + \ifx\@glossary@default@style\relax + \protected@edef\@glossary@default@style{#1}% + \fi } % \end{macrocode} %\end{macro} @@ -14696,8 +14795,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \ics{glossarypostamble}, as % the user should be able to switch between styles without affecting % the pre- and postambles. -%\changes{1.17}{2008 December 26}{made \cs{newglossarystyle} long} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{1.17}{2008-12-26}{made \cs{newglossarystyle} long} +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \newcommand{\newglossarystyle}[2]{% @@ -14713,7 +14812,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\renewglossarystyle} -%\changes{3.02}{2012/05/21}{new} +%\changes{3.02}{2012-05-21}{new} %Code for this macro supplied by Marco Daniel. % \begin{macrocode} \newcommand{\renewglossarystyle}[2]{% @@ -14762,9 +14861,9 @@ false,nolabel,autolabel,nameref}[nolabel]{% % to be more general. So I have adapted the code used in the % \isty{hyperref} package. %\begin{macro}{\glshypernumber} -%\changes{1.17}{2008 December 26}{modified to allow material +%\changes{1.17}{2008-12-26}{modified to allow material % to be attached to location} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \ifcsundef{hyperlink}% @@ -14780,7 +14879,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\@glshypernumber} % This code was provided by Heiko~Oberdiek to allow material % to be attached to the location. -%\changes{1.17}{2008 December 26}{new} +%\changes{1.17}{2008-12-26}{new} % \begin{macrocode} \def\@glshypernumber#1\nohyperpage#2#3\@nil{% \ifx\\#1\\% @@ -14845,7 +14944,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \ifx\x\empty \else % \end{macrocode} -%\changes{3.0}{2011/04/02}{added prefix to hyperlink} +%\changes{3.0}{2011-04-02}{added prefix to hyperlink} % \begin{macrocode} \hyperlink{\glsentrycounter\@glo@counterprefix\the\toks@}% {\the\toks@}% @@ -14914,7 +15013,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Acronyms}\label{sec:code:acronym} +%\section{Acronyms}\label{sec:code:acronym} %\begin{macro}{\oldacronym} %\begin{definition} %\cs{oldacronym}\oarg{label}\marg{abbrv}\marg{long}\marg{key-val list} @@ -14941,8 +15040,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% % the desired result. In this case, you will need to use % \cs{gls} explicitly, e.g.\ "\gls{svm}['s]". Note that it is % up to the user to load \isty{xspace} if desired. -%\changes{1.18}{2009 January 14}{new} -%\changes{3.0}{2011/04/02}{replaced \cs{@ifundefined} with +%\changes{1.18}{2009-01-14}{new} +%\changes{3.0}{2011-04-02}{replaced \cs{@ifundefined} with %\cs{ifcsundef}} % \begin{macrocode} \newcommand{\oldacronym}[4][\gls@label]{% @@ -14986,7 +15085,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \newcommand{\newacronym}[4][]{} % \end{macrocode} -%\changes{1.13}{2008 May 10}{Removed restriction on only using +%\changes{1.13}{2008-05-10}{Removed restriction on only using % \cs{newacronym} in the preamble} %\end{macro} % Set up some convenient short cuts. These need to be changed if @@ -14994,7 +15093,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % is changed). % %\begin{macro}{\acrpluralsuffix} -%\changes{1.13}{2008 May 10}{New} +%\changes{1.13}{2008-05-10}{New} % Plural suffix used by \cs{newacronym}. This just defaults to % \cs{glspluralsuffix} but is changed to include \cs{textup} % if the smallcaps option is used, so that the suffix doesn't appear @@ -15041,13 +15140,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\acrfull} % Full form of the acronym. -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\acrfull}{\@gls@hyp@opt\ns@acrfull} % \end{macrocode} %\changes{4.08}{2014-07-30}{removed \cs{@sacrfull}} -%\changes{3.0}{2011/04/02}{added starred version} +%\changes{3.0}{2011-04-02}{added starred version} % \begin{macrocode} \newcommand*\ns@acrfull[2][]{% \new@ifnextchar[{\@acrfull{#1}{#2}}% @@ -15096,7 +15195,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\acrfullformat} % Default full form is \meta{long} \parg{short}. -%\changes{3.01}{2011/04/12}{removed \cs{acronymfont} as it should +%\changes{3.01}{2011-04-12}{removed \cs{acronymfont} as it should %already be set in the second argument.} % \begin{macrocode} \newcommand{\acrfullformat}[2]{#1\glsspace(#2)} @@ -15113,12 +15212,12 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % Default format for full acronym %\begin{macro}{\Acrfull} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Acrfull}{\@gls@hyp@opt\ns@Acrfull} % \end{macrocode} -%\changes{3.0}{2011/04/02}{added starred version} +%\changes{3.0}{2011-04-02}{added starred version} %\changes{4.08}{2014-07-30}{removed \cs{@sAcrfull}} % \begin{macrocode} \newcommand*\ns@Acrfull[2][]{% @@ -15148,12 +15247,12 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\ACRfull} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\ACRfull}{\@gls@hyp@opt\ns@ACRfull} % \end{macrocode} -%\changes{3.0}{2011/04/02}{added starred version} +%\changes{3.0}{2011-04-02}{added starred version} %\changes{4.08}{2014-07-30}{removed \cs{s@ACRfull}} % \begin{macrocode} \newcommand*\ns@ACRfull[2][]{% @@ -15185,13 +15284,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % Plural: %\begin{macro}{\acrfullpl} -%\changes{1.13}{2008 May 10}{new} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{1.13}{2008-05-10}{new} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\acrfullpl}{\@gls@hyp@opt\ns@acrfullpl} % \end{macrocode} -%\changes{3.0}{2011/04/02}{added starred version} +%\changes{3.0}{2011-04-02}{added starred version} %\changes{4.08}{2014-07-30}{removed \cs{s@acrfullpl}} % \begin{macrocode} \newcommand*\ns@acrfullpl[2][]{% @@ -15221,14 +15320,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\Acrfullpl} -%\changes{1.13}{2008 May 10}{new} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{1.13}{2008-05-10}{new} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\Acrfullpl}{\@gls@hyp@opt\ns@Acrfullpl} % \end{macrocode} %\changes{4.08}{2014-07-30}{removed \cs{s@Acrfullpl}} -%\changes{3.0}{2011/04/02}{added starred version} +%\changes{3.0}{2011-04-02}{added starred version} % \begin{macrocode} \newcommand*\ns@Acrfullpl[2][]{% \new@ifnextchar[{\@Acrfullpl{#1}{#2}}% @@ -15259,13 +15358,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % %\begin{macro}{\ACRfullpl} -%\changes{1.13}{2008 May 10}{new} -%\changes{3.01}{2011/04/12}{made robust} +%\changes{1.13}{2008-05-10}{new} +%\changes{3.01}{2011-04-12}{made robust} %\changes{4.08}{2014-07-30}{switched to using \cs{@gls@hyp@opt}} % \begin{macrocode} \newrobustcmd*{\ACRfullpl}{\@gls@hyp@opt\ns@ACRfullpl} % \end{macrocode} -%\changes{3.0}{2011/04/02}{added starred version} +%\changes{3.0}{2011-04-02}{added starred version} %\changes{4.08}{2014-07-30}{removed \cs{s@ACRfullpl}} % \begin{macrocode} \newcommand*\ns@ACRfullpl[2][]{% @@ -15294,7 +15393,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Predefined acronym styles} +%\section{Predefined acronym styles} %\begin{macro}{\acronymfont} %This is only used with the additional acronym styles: % \begin{macrocode} @@ -15303,7 +15402,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\begin{macro}{\firstacronymfont} %This is only used with the additional acronym styles: -%\changes{1.14}{2008 June 17}{new} +%\changes{1.14}{2008-06-17}{new} % \begin{macrocode} \newcommand{\firstacronymfont}[1]{\acronymfont{#1}} % \end{macrocode} @@ -16167,7 +16266,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % % %\begin{macro}{\DefineAcronymSynonyms} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % \begin{macrocode} \newcommand*{\DefineAcronymSynonyms}{% % \end{macrocode} @@ -16283,7 +16382,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % %\begin{macro}{\SetDefaultAcronymDisplayStyle} % Sets the default acronym display style for given glossary. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.11a}{2013-10-15}{changed to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetDefaultAcronymDisplayStyle}[1]{% @@ -16340,7 +16439,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\SetDefaultAcronymStyle} -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} % Set up the default acronym style: % \begin{macrocode} \newcommand*{\SetDefaultAcronymStyle}{% @@ -16378,14 +16477,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\acrfootnote} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % Used by the footnote acronym styles. % \begin{macrocode} \newcommand*{\acrfootnote}[3]{\acrlinkfootnote{#1}{#2}{#3}} % \end{macrocode} %\end{macro} %\begin{macro}{\acrlinkfootnote} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\acrlinkfootnote}[3]{% \footnote{\glslink[#1]{#2}{#3}}% @@ -16393,7 +16492,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\acrnolinkfootnote} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} % \begin{macrocode} \newcommand*{\acrnolinkfootnote}[3]{% \footnote{#3}% @@ -16404,8 +16503,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\SetDescriptionFootnoteAcronymDisplayStyle} % Sets the acronym display style for given glossary for the % description and footnote combination. -%\changes{2.04}{2009 November 10}{new} -%\changes{3.0}{2011/04/02}{expanded options link options} +%\changes{2.04}{2009-11-10}{new} +%\changes{3.0}{2011-04-02}{expanded options link options} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetDescriptionFootnoteAcronymDisplayStyle}[1]{% @@ -16507,7 +16606,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % If \pkgopt{footnote} package option is specified, set the first % use to append the long form (stored in \gloskey{symbol}) as a % footnote. -%\changes{1.12}{2008 Mar 8}{Added \cs{protect} before \cs{footnote} +%\changes{1.12}{2008-03-08}{Added \cs{protect} before \cs{footnote} % and \cs{glslink}} % \begin{macrocode} \@for\@gls@type:=\@glsacronymlists\do{% @@ -16517,7 +16616,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Redefine \ics{acronymfont} if small caps required. The plural suffix % is set in an upright font so that it remains in normal lower case, % otherwise it looks as though it's part of the acronym. -%\changes{1.19}{2009 Mar 2}{changed \cs{acronymfont} to use +%\changes{1.19}{2009-03-02}{changed \cs{acronymfont} to use %\cs{textsmaller} instead %of \cs{smaller}} % \begin{macrocode} @@ -16545,7 +16644,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\SetDescriptionDUAAcronymDisplayStyle} % Sets the acronym display style for given glossary with % description and dua combination. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetDescriptionDUAAcronymDisplayStyle}[1]{% @@ -16637,7 +16736,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\SetDescriptionAcronymDisplayStyle} % Sets the acronym display style for given glossary using % the description setting (but not \pkgopt{footnote} or \pkgopt{dua}). -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.07}{2013-07-05}{now using \cs{glsdoparenifnotempty}} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} @@ -16758,7 +16857,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Redefine \ics{acronymfont} if small caps required. The plural suffix % is set in an upright font so that it remains in normal lower case, % otherwise it looks as though it's part of the acronym. -%\changes{1.19}{2009 Mar 2}{changed \cs{acronymfont} to use +%\changes{1.19}{2009-03-02}{changed \cs{acronymfont} to use %\cs{textsmaller} instead %of \cs{smaller}} % \begin{macrocode} @@ -16777,7 +16876,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\SetFootnoteAcronymDisplayStyle} % Sets the acronym display style for given glossary with % footnote setting (but not \pkgopt{description} or \pkgopt{dua}). -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetFootnoteAcronymDisplayStyle}[1]{% @@ -16884,7 +16983,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% }% % \end{macrocode} % Set display -%\changes{1.12}{2008 Mar 8}{Added \cs{protect} before \cs{footnote} and +%\changes{1.12}{2008-03-08}{Added \cs{protect} before \cs{footnote} and % \cs{glslink}} % \begin{macrocode} \@for\@gls@type:=\@glsacronymlists\do{% @@ -16894,7 +16993,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Redefine \ics{acronymfont} if small caps required. The plural suffix % is set in an upright font so that it remains in normal lower case, % otherwise it looks as though it's part of the acronym. -%\changes{1.19}{2009 Mar 2}{changed \cs{acronymfont} to use +%\changes{1.19}{2009-03-02}{changed \cs{acronymfont} to use %\cs{textsmaller} instead %of \cs{smaller}} % \begin{macrocode} @@ -16940,7 +17039,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Sets the acronym display style for given glossary where neither % footnote nor description is required, but smallcaps or smaller % specified. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetSmallAcronymDisplayStyle}[1]{% @@ -16986,7 +17085,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\SmallNewAcronymDef} -%\changes{3.02}{2012/05/21}{fixed broken short and long plural} +%\changes{3.02}{2012-05-21}{fixed broken short and long plural} % \begin{macrocode} \newcommand*{\SmallNewAcronymDef}{% \edef\@do@newglossaryentry{% @@ -17074,7 +17173,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % Redefine \ics{acronymfont} if small caps required. The plural suffix % is set in an upright font so that it remains in normal lower case, % otherwise it looks as though it's part of the acronym. -%\changes{1.19}{2009 Mar 2}{changed \cs{acronymfont} to use +%\changes{1.19}{2009-03-02}{changed \cs{acronymfont} to use %\cs{textsmaller} instead %of \cs{smaller}} % \begin{macrocode} @@ -17103,7 +17202,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{macro}{\SetDUADisplayStyle} % Sets the acronym display style for given glossary with dua % setting. -%\changes{2.04}{2009 November 10}{new} +%\changes{2.04}{2009-11-10}{new} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetDUADisplayStyle}[1]{% @@ -17232,7 +17331,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % displaying only the acronym with the long form as the description. %\begin{macro}{\SetCustomDisplayStyle} % Sets the acronym display style. -%\changes{2.06}{2010 June 14}{new} +%\changes{2.06}{2010-06-14}{new} %\changes{3.11a}{2013-10-15}{updated to use \cs{defglsentryfmt}} % \begin{macrocode} \newcommand*{\SetCustomDisplayStyle}[1]{% @@ -17241,7 +17340,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\CustomAcronymFields} -%\changes{2.06}{2010 June 14}{new} +%\changes{2.06}{2010-06-14}{new} % \begin{macrocode} \newcommand*{\CustomAcronymFields}{% name={\the\glsshorttok},% @@ -17259,7 +17358,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\CustomNewAcronymDef} -%\changes{2.06}{2010 June 14}{new} +%\changes{2.06}{2010-06-14}{new} % \begin{macrocode} \newcommand*{\CustomNewAcronymDef}{% \protected@edef\@do@newglossaryentry{% @@ -17283,7 +17382,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\SetCustomStyle} -%\changes{2.06}{2010 June 14}{new} +%\changes{2.06}{2010-06-14}{new} % \begin{macrocode} \newcommand*{\SetCustomStyle}{% \renewcommand{\newacronym}[4][]{% @@ -17311,7 +17410,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % % -% \subsection{Predefined Glossary Styles}\label{sec:code:styles} +% \section{Predefined Glossary Styles}\label{sec:code:styles} % The \sty{glossaries} bundle comes with some predefined glossary % styles. These need to be loaded now for the \pkgopt{style} option % to use them. @@ -17351,10 +17450,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% \fi % \end{macrocode} % -%\subsection{Debugging Commands} +%\section{Debugging Commands} % %\begin{macro}{\showgloparent} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showgloparent}\marg{label} %\end{definition} @@ -17367,7 +17466,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglolevel} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglolevel}\marg{label} %\end{definition} @@ -17380,7 +17479,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglotext} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglotext}\marg{label} %\end{definition} @@ -17393,7 +17492,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showgloplural} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showgloplural}\marg{label} %\end{definition} @@ -17406,7 +17505,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglofirst} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglofirst}\marg{label} %\end{definition} @@ -17419,7 +17518,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglofirstpl} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglofirstpl}\marg{label} %\end{definition} @@ -17432,7 +17531,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglotype} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglotype}\marg{label} %\end{definition} @@ -17445,7 +17544,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglocounter} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglocounter}\marg{label} %\end{definition} @@ -17458,7 +17557,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglouseri} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglouseri}\marg{label} %\end{definition} @@ -17471,7 +17570,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglouserii} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglouserii}\marg{label} %\end{definition} @@ -17484,7 +17583,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglouseriii} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglouseriii}\marg{label} %\end{definition} @@ -17497,7 +17596,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglouseriv} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglouseriv}\marg{label} %\end{definition} @@ -17510,7 +17609,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglouserv} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglouserv}\marg{label} %\end{definition} @@ -17523,7 +17622,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglouservi} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglouservi}\marg{label} %\end{definition} @@ -17536,7 +17635,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showgloname} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showgloname}\marg{label} %\end{definition} @@ -17549,7 +17648,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglodesc} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglodesc}\marg{label} %\end{definition} @@ -17562,7 +17661,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglodescplural} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglodescplural}\marg{label} %\end{definition} @@ -17575,7 +17674,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglosort} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglosort}\marg{label} %\end{definition} @@ -17588,7 +17687,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglosymbol} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglosymbol}\marg{label} %\end{definition} @@ -17601,7 +17700,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglosymbolplural} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglosymbolplural}\marg{label} %\end{definition} @@ -17640,7 +17739,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showgloindex} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showgloindex}\marg{label} %\end{definition} @@ -17653,7 +17752,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showgloflag} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showgloflag}\marg{label} %\end{definition} @@ -17690,7 +17789,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showacronymlists} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showacronymlists} %\end{definition} @@ -17703,7 +17802,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} %\begin{macro}{\showglossaries} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglossaries} %\end{definition} @@ -17716,7 +17815,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglossaryin} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglossaryin}\marg{glossary-label} %\end{definition} @@ -17729,7 +17828,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglossaryout} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglossaryout}\marg{glossary-label} %\end{definition} @@ -17742,7 +17841,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglossarytitle} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglossarytitle}\marg{glossary-label} %\end{definition} @@ -17755,7 +17854,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglossarycounter} -%\changes{3.0}{2011/04/02}{new} +%\changes{3.0}{2011-04-02}{new} %\begin{definition} %\cs{showglossarycounter}\marg{glossary-label} %\end{definition} @@ -17768,8 +17867,8 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} % %\begin{macro}{\showglossaryentries} -%\changes{3.0}{2011/04/02}{new} -%\changes{3.02}{2012/05/21}{fixed misspelt command} +%\changes{3.0}{2011-04-02}{new} +%\changes{3.02}{2012-05-21}{fixed misspelt command} %\begin{definition} %\cs{showglossaryentries}\marg{glossary-label} %\end{definition} @@ -17781,7 +17880,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Compatibility with version 2.07 and below} +%\section{Compatibility with version 2.07 and below} % % In order to fix some bugs in v3.0, it was necessary to change the % way information is written to the \filetype{glo} file, which also meant @@ -17814,16 +17913,16 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossaries-prefix.sty> % \end{macrocode} %\fi -%\section{Prefix Support (glossaries-prefix Code)} +%\chapter{Prefix Support (glossaries-prefix Code)} %\label{sec:code:prefix} %\changes{3.14a}{2013-11-12}{new} % This package provides a means of adding prefixes to your glossary -% entries. For example, you may want to use ``a -% \cs{gls}\marg{label}'' on first use but use ``an -% \cs{gls}\marg{label}'' on subsequent use. +% entries. For example, you may want to use \qt{a +% \cs{gls}\marg{label}} on first use but use \qt{an +% \cs{gls}\marg{label}} on subsequent use. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-prefix}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossaries-prefix}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Pass all options to \sty{glossaries}: % \begin{macrocode} @@ -18233,12 +18332,12 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-hypernav.sty> % \end{macrocode} %\fi -%\section{Glossary Styles} -% \subsection{Glossary hyper-navigation definitions (glossary-hypernav package)} +%\chapter{Glossary Styles} +% \section{Glossary hyper-navigation definitions (glossary-hypernav package)} %\label{sec:code:hypernav} % Package Definition: % \begin{macrocode} -\ProvidesPackage{glossary-hypernav}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-hypernav}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % % The commands defined in this package are provided to @@ -18254,8 +18353,9 @@ false,nolabel,autolabel,nameref}[nolabel]{% % whose label is given by \meta{label} for the glossary given % by \meta{type}. %\begin{macro}{\glsnavhyperlink} -%\changes{1.14}{2008 June 17}{changed 'edef to 'protected@edef} -%\changes{1.17}{2008 December 26}{replaced 'hyperlink to '@glslink} +%\changes{1.14}{2008-06-17}{changed \cs{edef} to \cs{protected@edef}} +%\changes{1.17}{2008-12-26}{replaced \cs{hyperlink} to +%\cs{@glslink}} % \begin{macrocode} \newcommand*{\glsnavhyperlink}[3][\@glo@type]{% \edef\gls@grplabel{#2}\protected@edef\@gls@grptitle{#3}% @@ -18270,9 +18370,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% % used which is set by \ics{printglossary} to the current % glossary label. %\begin{macro}{\glsnavhypertarget} -%\changes{1.14}{2008 June 17}{added write to aux file} -%\changes{1.15}{2008 August 15}{added check if rerun required} -%\changes{1.17}{2008 December 26}{replaced 'hypertarget to '@glstarget} +%\changes{1.14}{2008-06-17}{added write to aux file} +%\changes{1.15}{2008-08-15}{added check if rerun required} +%\changes{1.17}{2008-12-26}{replaced \cs{hypertarget} to +%\cs{@glstarget}} % \begin{macrocode} \newcommand*{\glsnavhypertarget}[3][\@glo@type]{% % \end{macrocode} @@ -18312,7 +18413,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\end{macro} %\begin{macro}{\gls@hypergrouprerun} % Give a warning at the end if re-run required -%\changes{1.15}{2008 August 15}{new} +%\changes{1.15}{2008-08-15}{new} % \begin{macrocode} \let\gls@hypergrouprerun\relax \AtEndDocument{\gls@hypergrouprerun} @@ -18325,7 +18426,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % the navigation bar only contains those groups that are present. % However it requires at least 2 runs to ensure the information is % up-to-date. -%\changes{1.14}{2008 June 17}{new} +%\changes{1.14}{2008-06-17}{new} % \begin{macrocode} \newcommand*{\@gls@hypergroup}[2]{% \@ifundefined{@gls@hypergrouplist@#1}{% @@ -18349,7 +18450,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % terms, in which case you will get an undefined hyperlink warning. % Now for the whole navigation bit: %\begin{macro}{\glsnavigation} -% \changes{1.14}{2008 June 2008}{changed to only use labels for +% \changes{1.14}{2008-06-17}{changed to only use labels for % groups that are present} % \begin{macrocode} \newcommand*{\glsnavigation}{% @@ -18402,11 +18503,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-inline.sty> % \end{macrocode} %\fi -% \subsection{In-line Style (glossary-inline.sty)} +% \section{In-line Style (glossary-inline.sty)} % This defines an in-line style where the entries are % comma-separated with just the name and description displayed. % \begin{macrocode} -\ProvidesPackage{glossary-inline}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-inline}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % %\begin{style}{inline} @@ -18590,14 +18691,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-list.sty> % \end{macrocode} %\fi -% \subsection{List Style (glossary-list.sty)} +% \section{List Style (glossary-list.sty)} % The \isty{glossary-list} style file defines glossary styles % that use the \env{description} environment. Note that since % the entry name is placed in the optional argument to the % \ics{item} command, it will appear in a bold font by % default. % \begin{macrocode} -\ProvidesPackage{glossary-list}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-list}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} %\begin{macro}{\indexspace} %\changes{4.13}{2015-02-03}{new} @@ -18661,7 +18762,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{style}{listgroup} % The \glostyle{listgroup} style is like the \glostyle{list} % style, but the glossary groups have headings. -%\changes{1.08}{2007 Oct 13}{changed listgroup style to use \cs{glsgetgrouptitle}} +%\changes{1.08}{2007-10-13}{changed listgroup style to use \cs{glsgetgrouptitle}} % \begin{macrocode} \newglossarystyle{listgroup}{% % \end{macrocode} @@ -18739,7 +18840,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\begin{style}{altlistgroup} % The \glostyle{altlistgroup} glossary style is like the % \glostyle{altlist} style, but the glossary groups have headings. -%\changes{1.08}{2007 Oct 13}{changed altlistgroup style to use \cs{glsgetgrouptitle}} +%\changes{1.08}{2007-10-13}{changed altlistgroup style to use \cs{glsgetgrouptitle}} % \begin{macrocode} \newglossarystyle{altlistgroup}{% % \end{macrocode} @@ -18846,12 +18947,12 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-long.sty> % \end{macrocode} %\fi -% \subsection{Glossary Styles using longtable (the glossary-long +% \section{Glossary Styles using longtable (the glossary-long % package)} % The glossary styles defined in the \isty{glossary-long} package % used the \env{longtable} environment in the glossary. % \begin{macrocode} -\ProvidesPackage{glossary-long}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-long}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Requires the \isty{longtable} package: % \begin{macrocode} @@ -19317,16 +19418,339 @@ false,nolabel,autolabel,nameref}[nolabel]{% %\fi %\iffalse % \begin{macrocode} +%<*glossary-longbooktabs.sty> +% \end{macrocode} +%\fi +%\section{Glossary Styles using longtable and booktabs (the +%glossary-longbooktabs) package} +% The styles here are based on David Carlisle's patch at +% \url{http://tex.stackexchange.com/a/56890} +% +% \begin{macrocode} +\ProvidesPackage{glossary-longbooktabs}[2016/01/24 v4.21 (NLCT)] +% \end{macrocode} +% Requires \sty{booktabs} package: +% \begin{macrocode} +\RequirePackage{booktabs} +% \end{macrocode} +% and the base packages for long styles: +% \begin{macrocode} +\RequirePackage{glossary-long} +\RequirePackage{glossary-longragged} +% \end{macrocode} +%(\sty{longtable} and \sty{array} loaded by those packages). +% +%\begin{style}{long-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{long-booktabs} style is similar to the +% \glostyle{longheader} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{long-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% As with the \glostyle{longheader} style, use the +% \glostyle{long} style as a base. +% \begin{macrocode} + \setglossarystyle{long}% +% \end{macrocode} +% Add a header with rules. +% \begin{macrocode} + \renewcommand*{\glossaryheader}{% + \toprule \bfseries \entryname & \bfseries + \descriptionname\tabularnewline\midrule\endhead + \bottomrule\endfoot}% +% \end{macrocode} +% Check for the \pkgopt{nogroupskip} package option. If there should +% be a gap between groups, insert the penalty and the vertical +% space. +% \begin{macrocode} + \renewcommand*{\glsgroupskip}{% + \ifglsnogroupskip \else \glspenaltygroupskip\fi}% +} +% \end{macrocode} +%\end{style} +% +%\begin{style}{long3col-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{long3col-booktabs} style is similar to the +% \glostyle{long3colheader} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{long3col-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% Use the \glostyle{long3col} style as a base. +% \begin{macrocode} + \setglossarystyle{long3col}% +% \end{macrocode} +% Add a header with rules. +% \begin{macrocode} + \renewcommand*{\glossaryheader}{% + \toprule \bfseries \entryname & + \bfseries \descriptionname & + \bfseries \pagelistname + \tabularnewline\midrule\endhead + \bottomrule\endfoot}% +% \end{macrocode} +% Check for the \pkgopt{nogroupskip} package option. If there should +% be a gap between groups, insert the penalty and the vertical +% space. +% \begin{macrocode} + \renewcommand*{\glsgroupskip}{% + \ifglsnogroupskip \else \glspenaltygroupskip\fi}% +} +% \end{macrocode} +%\end{style} +% +%\begin{style}{long4col-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{long4col-booktabs} style is similar to the +% \glostyle{long4colheader} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{long4col-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% Use the \glostyle{long4col} style as a base. +% \begin{macrocode} + \setglossarystyle{long4col}% +% \end{macrocode} +% Add a header with rules. +% \begin{macrocode} + \renewcommand*{\glossaryheader}{% + \toprule \bfseries \entryname & + \bfseries \descriptionname & + \bfseries \symbolname & + \bfseries \pagelistname + \tabularnewline\midrule\endhead + \bottomrule\endfoot}% +% \end{macrocode} +% Check for the \pkgopt{nogroupskip} package option. If there should +% be a gap between groups, insert the penalty and the vertical +% space. +% \begin{macrocode} + \renewcommand*{\glsgroupskip}{% + \ifglsnogroupskip \else \glspenaltygroupskip\fi}% +} +% \end{macrocode} +%\end{style} +% +%\begin{style}{altlong4col-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{altlong4col-booktabs} style is similar to the +% \glostyle{altlong4colheader} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{altlong4col-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% Use the +% \glostyle{long4col-booktabs} style as a base. +% \begin{macrocode} + \setglossarystyle{long4col-booktabs}% +% \end{macrocode} +% Change the column specifications: +% \begin{macrocode} + \renewenvironment{theglossary}% + {\begin{longtable}{lp{\glsdescwidth}lp{\glspagelistwidth}}}% + {\end{longtable}}% +} +% \end{macrocode} +%\end{style} +% +% Ragged styles. +%\begin{style}{longragged-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{longragged-booktabs} style is similar to the +% \glostyle{longragged} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{longragged-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% Use the \glostyle{long-booktabs} style as a base. +% \begin{macrocode} + \setglossarystyle{long-booktabs}% +% \end{macrocode} +% Adjust the column specification. +% \begin{macrocode} + \renewenvironment{theglossary}% + {\begin{longtable}{l>{\raggedright}p{\glsdescwidth}}}% + {\end{longtable}}% +} +% \end{macrocode} +%\end{style} +% +%\begin{style}{longragged3col-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{longragged3col-booktabs} style is similar to the +% \glostyle{longragged3col} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{longragged3col-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% Use the \glostyle{long3col-booktabs} style as a base. +% \begin{macrocode} + \setglossarystyle{long3col-booktabs}% +% \end{macrocode} +% Adjust the column specification. +% \begin{macrocode} + \renewenvironment{theglossary}% + {\begin{longtable}{l>{\raggedright}p{\glsdescwidth}% + >{\raggedright}p{\glspagelistwidth}}}% + {\end{longtable}}% +} +% \end{macrocode} +%\end{style} +% +%\begin{style}{altlongragged4col-booktabs} +%\changes{4.21}{2016-01-24}{new} +% The \glostyle{altlongragged4col-booktabs} style is similar to the +% \glostyle{altlongragged4col} +% style but uses the \sty{booktabs} rules and patches +% \env{longtable} to check for group skip occurring at a page break. +% \begin{macrocode} +\newglossarystyle{altlongragged4col-booktabs}{% +% \end{macrocode} +% If the style change is scoped, the patch will only have a local +% effect, which may be useful if it conflicts with other tables in +% the document. +% \begin{macrocode} + \glspatchLToutput +% \end{macrocode} +% Use the \glostyle{altlong4col-booktabs} style as a base. +% \begin{macrocode} + \setglossarystyle{altlong4col-booktabs}% +% \end{macrocode} +% Adjust the column specification. +% \begin{macrocode} + \renewenvironment{theglossary}% + {\begin{longtable}{l>{\raggedright}p{\glsdescwidth}l% + >{\raggedright}p{\glspagelistwidth}}}% + {\end{longtable}}% +} +% \end{macrocode} +%\end{style} +% +%\begin{macro}{\glsLTpenaltycheck} +%\changes{4.21}{2016-01-24}{new} +% \begin{macrocode} +\newcommand*{\glsLTpenaltycheck}{% + \ifnum\outputpenalty=-50\vskip-\normalbaselineskip\relax\fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\glspenaltygroupskip} +%\changes{4.21}{2016-01-24}{new} +% \begin{macrocode} +\newcommand{\glspenaltygroupskip}{% + \noalign{\penalty-50\vskip\normalbaselineskip}} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\glsrestoreLToutput} +% Provide a way of restoring \cs{LT@output} for the user. +% \begin{macrocode} +\let\@gls@org@LT@output\LT@output +\newcommand*{\glsrestoreLToutput}{\let\LT@output\@gls@org@LT@output} +% \end{macrocode} +%\end{macro} +% +% This is David's patch, but I've replaced the hard-coded values +% with \cs{glsLTpenaltycheck} to make it easier to adjust. +%\begin{macro}{\glspatchLToutput} +%\changes{4.21}{2016-01-24}{new} +% \begin{macrocode} +\newcommand*{\glspatchLToutput}{% + \renewcommand*{\LT@output}{% + \ifnum\outputpenalty <-\@Mi + \ifnum\outputpenalty > -\LT@end@pen + \LT@err{floats and marginpars not allowed in a longtable}\@ehc + \else + \setbox\z@\vbox{\unvbox\@cclv}% + \ifdim \ht\LT@lastfoot>\ht\LT@foot + \dimen@\pagegoal + \advance\dimen@-\ht\LT@lastfoot + \ifdim\dimen@<\ht\z@ + \setbox\@cclv\vbox{\unvbox\z@\copy\LT@foot\vss}% + \@makecol + \@outputpage + \setbox\z@\vbox{\box\LT@head\glsLTpenaltycheck}% + \fi + \fi + \global\@colroom\@colht + \global\vsize\@colht + {\unvbox\z@\box\ifvoid\LT@lastfoot\LT@foot\else\LT@lastfoot\fi}% + \fi + \else + \setbox\@cclv\vbox{\unvbox\@cclv\copy\LT@foot\vss}% + \@makecol + \@outputpage + \global\vsize\@colroom + \copy\LT@head + \glsLTpenaltycheck + \nobreak + \fi + }% +} +% \end{macrocode} +%\end{macro} +%\iffalse +% \begin{macrocode} +% +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} %<*glossary-longragged.sty> % \end{macrocode} %\fi -% \subsection{Glossary Styles using longtable (the glossary-longragged +% \section{Glossary Styles using longtable (the glossary-longragged % package)} % The glossary styles defined in the \isty{glossary-longragged} package % used the \env{longtable} environment in the glossary and use % ragged right formatting for the multiline columns. % \begin{macrocode} -\ProvidesPackage{glossary-longragged}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-longragged}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -19731,13 +20155,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-mcols.sty> % \end{macrocode} %\fi -%\subsection{Glossary Styles using \styfmt{multicol} +%\section{Glossary Styles using \styfmt{multicol} %(glossary-mcols.sty)} %The \isty{glossary-mcols} style file defines glossary styles that %use the \sty{multicol} package. These use the tree-like glossary %styles in a multicol environment. % \begin{macrocode} -\ProvidesPackage{glossary-mcols}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-mcols}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Required packages: % \begin{macrocode} @@ -20040,11 +20464,11 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-super.sty> % \end{macrocode} %\fi -% \subsection{Glossary Styles using supertabular environment (glossary-super package)} +% \section{Glossary Styles using supertabular environment (glossary-super package)} % The glossary styles defined in the \isty{glossary-super} package % use the \env{supertabular} environment. % \begin{macrocode} -\ProvidesPackage{glossary-super}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-super}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Requires the \isty{supertabular} package: % \begin{macrocode} @@ -20110,7 +20534,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % Sub entries put in a row (no name, description and page list % in second column): -%\changes{??}{??}{fixed typo in \cs{subglossentry} (\cs{glossentrydesc})} +%\changes{4.0}{2013-11-14}{fixed typo in \cs{subglossentry} (\cs{glossentrydesc})} % \begin{macrocode} \renewcommand{\subglossentry}[3]{% & @@ -20548,13 +20972,13 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-superragged.sty> % \end{macrocode} %\fi -% \subsection{Glossary Styles using supertabular environment (glossary-superragged package)} +% \section{Glossary Styles using supertabular environment (glossary-superragged package)} % The glossary styles defined in the \isty{glossary-superragged} % package use the \env{supertabular} environment. These styles % are like those provided by the \isty{glossary-super} package, % except that the multiline columns have ragged right justification. % \begin{macrocode} -\ProvidesPackage{glossary-superragged}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-superragged}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -20965,12 +21389,12 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossary-tree.sty> % \end{macrocode} %\fi -%\subsection{Tree Styles (glossary-tree.sty)} +%\section{Tree Styles (glossary-tree.sty)} % The \isty{glossary-tree} style file defines glossary styles % that have a tree-like structure. These are designed for % hierarchical glossaries. % \begin{macrocode} -\ProvidesPackage{glossary-tree}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossary-tree}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % %\begin{macro}{\indexspace} @@ -21573,6 +21997,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossaries-compatible-207.sty> % \end{macrocode} %\fi +%\chapter{Backwards Compatibility} %\section{glossaries-compatible-207} % Provides compatibility with version 2.07 and below. This uses % original \sty{glossaries} xindy and makeindex formatting, so can @@ -21580,7 +22005,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % hyperlinks may not work properly. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-207}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossaries-compatible-207}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} %\begin{macro}{\GlsAddXdyAttribute} % Adds an attribute in old format. @@ -21938,10 +22363,10 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossaries-compatible-307.sty> % \end{macrocode} %\fi -% Compatibility macros. +%\section{glossaries-compatible-307} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-307}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossaries-compatible-307}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % % Compatibility macros for predefined glossary styles: @@ -22738,7 +23163,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossaries-accsupp.sty> % \end{macrocode} %\fi -%\section{Accessibility Support (glossaries-accsupp Code)} +%\chapter{Accessibility Support (glossaries-accsupp Code)} %\label{sec:code:accsupp} % The \isty{glossaries-accsupp} package is experimental. It is % intended to provide a means of using the PDF accessibilty support @@ -22749,7 +23174,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} % Package version number now in line with main glossaries package number. % \begin{macrocode} -\ProvidesPackage{glossaries-accsupp}[2015/11/30 v4.20 (NLCT) +\ProvidesPackage{glossaries-accsupp}[2016/01/24 v4.21 (NLCT) Experimental glossaries accessibility] % \end{macrocode} % Pass all options to \sty{glossaries}: @@ -22760,6 +23185,21 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \begin{macrocode} \ProcessOptions % \end{macrocode} +% This package should be loaded before \sty{glossaries-extra}, so +% complain if that has already been loaded. +% \begin{macrocode} +\@ifpackageloaded{glossaries-extra} +{% + \PackageWarning{glossaries-accsupp}{The `glossaries-accsupp' + package has been loaded after the `glossaries-extra' + package. This can cause a failure to integrate both + packages. Either use the `accsupp' option when you + load `glossaries-extra' or load `glossaries-accsupp' + before loading `glossaries-extra'}% +} +{} +% \end{macrocode} +% %\begin{macro}{\compatibleglossentry} % Override style compatibility macros: %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} @@ -22807,7 +23247,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \RequirePackage{accsupp} % \end{macrocode} % -%\subsection{Defining Replacement Text} +%\section{Defining Replacement Text} % The version 0.1 stored the replacement text in the % \gloskey{symbol} key. This has been changed to use the % new keys defined here. Example of use: @@ -23024,7 +23464,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% } % \end{macrocode} % -%\subsection{Accessing Replacement Text} +%\section{Accessing Replacement Text} %\begin{macro}{\glsentryaccess} % Get the value of the \gloskey{access} key for the entry with % the given label: @@ -24109,7 +24549,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Displaying the Glossary} +%\section{Displaying the Glossary} %\changes{3.08a}{2013-09-28}{removed definition of \cs{@glossaryentryfield}} %\changes{3.08a}{2013-09-28}{removed definition of \cs{@glossarysubentryfield}} % @@ -24198,7 +24638,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% % \end{macrocode} %\end{macro} % -%\subsection{Acronyms} +%\section{Acronyms} % Redefine acronym styles provided by \styfmt{glossaries}: % %\begin{acrstyle}{long-short} @@ -25042,7 +25482,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \newcommand*{\glslongpluralaccesskey}{\glslongpluralkey access}% % \end{macrocode} %\end{macro} -%\subsection{Debugging Commands} +%\section{Debugging Commands} % %\begin{macro}{\showglonameaccess} %\changes{4.03}{2014-01-20}{added \cs{glsdetoklabel}} @@ -25158,14 +25598,14 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossaries-babel.sty> % \end{macrocode} %\fi -%\section{Multi-Lingual Support} +%\chapter{Multi-Lingual Support} % Many thanks to everyone who contributed to the translations both % via email and on comp.text.tex. % Language support has now been split off into independent language % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-babel}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossaries-babel}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -25204,12 +25644,12 @@ false,nolabel,autolabel,nameref}[nolabel]{% %<*glossaries-polyglossia.sty> % \end{macrocode} %\fi -%\subsection{Polyglossia Captions} +%\section{Polyglossia Captions} % Language support has now been split off into independent language % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-polyglossia}[2015/11/30 v4.20 (NLCT)] +\ProvidesPackage{glossaries-polyglossia}[2016/01/24 v4.21 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -25289,7 +25729,7 @@ false,nolabel,autolabel,nameref}[nolabel]{% \listfiles \usepackage[colorlinks]{hyperref} - %\usepackage{glossaries} % acronym will go in main glossary + %\usepackage{glossaries} % abbreviation will go in main glossary \usepackage[acronym]{glossaries} % make a separate list of acronyms \makeglossaries @@ -25309,9 +25749,13 @@ 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 + % 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}. diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.ins b/Master/texmf-dist/source/latex/glossaries/glossaries.ins index 4c02cfd11df..8985ea23874 100644 --- a/Master/texmf-dist/source/latex/glossaries/glossaries.ins +++ b/Master/texmf-dist/source/latex/glossaries/glossaries.ins @@ -1,10 +1,10 @@ -% glossaries.ins generated using makedtx version 1.1 2015/11/30 12:18 +% glossaries.ins generated using makedtx version 1.1 2016/1/24 16:29 \input docstrip \preamble glossaries.dtx - Copyright 2015 Nicola Talbot + Copyright 2016 Nicola Talbot This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -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-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-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, 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, 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-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, mwe-acr-desc.tex, mwe-acr.tex, mwe-gls.tex, samplexdy-mc.xdy, samplexdy-mc207.xdy, database1.tex, database2.tex, glossaries.perl. \endpreamble @@ -36,6 +36,8 @@ \usepostamble\defaultpostamble\from{glossaries.dtx}{glossary-list.sty,package}} \file{glossary-long.sty}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{glossaries.dtx}{glossary-long.sty,package}} +\file{glossary-longbooktabs.sty}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries.dtx}{glossary-longbooktabs.sty,package}} \file{glossary-longragged.sty}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{glossaries.dtx}{glossary-longragged.sty,package}} \file{glossary-mcols.sty}{\usepreamble\defaultpreamble -- cgit v1.2.3