summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/glossaries
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-12 22:33:49 +0000
committerKarl Berry <karl@freefriends.org>2014-03-12 22:33:49 +0000
commitb9a0b51745d2d9fc0c087e0d32d4234cdd6a46de (patch)
treed224ba184d4541611eeda9ed57ce1bd00edafa2a /Master/texmf-dist/source/latex/glossaries
parent4c7bf2d42fecbd952b9d701396503f6374d14835 (diff)
glossaries (12mar14)
git-svn-id: svn://tug.org/texlive/trunk@33162 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/glossaries')
-rw-r--r--Master/texmf-dist/source/latex/glossaries/glossaries.dtx308
-rw-r--r--Master/texmf-dist/source/latex/glossaries/glossaries.ins2
2 files changed, 292 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx
index 1593189eb98..f6727ff037d 100644
--- a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx
+++ b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx
@@ -28,7 +28,7 @@
% -author "Nicola Talbot"
% -codetitle "Main Package Code"
% glossaries
-% Created on 2014/3/11 9:29
+% Created on 2014/3/12 15:21
%\fi
%\iffalse
%<*package>
@@ -138,7 +138,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\setcounter{IndexColumns}{2}
-\CheckSum{18645}
+\CheckSum{18942}
\newcommand*{\ifirstuse}{\iterm{first use}}
\newcommand*{\firstuse}{\gls{firstuse}}
@@ -166,12 +166,12 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
%\MakeShortVerb{"}
%\DeleteShortVerb{\|}
%
-% \title{Documented Code For glossaries v4.05}
+% \title{Documented Code For glossaries v4.06}
% \author{Nicola L.C. Talbot\\[10pt]
%Dickimaw Books\\
%\url{http://www.dickimaw-books.com/}}
%
-% \date{2014-03-11}
+% \date{2014-03-12}
% \maketitle
%
%This is the documented code for the \styfmt{glossaries} package.
@@ -187,7 +187,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.05:
+%For the main user guide, read \qt{glossaries.sty v4.06:
%\LaTeX2e\ Package to Assist Generating Glossaries}.
%
%\item[\url{mfirstuc-manual.pdf}]
@@ -231,7 +231,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
% This package requires \LaTeXe.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries}[2014/03/11 v4.05 (NLCT)]
+\ProvidesPackage{glossaries}[2014/03/12 v4.06 (NLCT)]
% \end{macrocode}
% Required packages:
% \begin{macrocode}
@@ -928,6 +928,13 @@ false,nolabel,autolabel,nameref}[nolabel]{%
\else
\newglossary{main}{gls}{glo}{\glossaryname}%
\fi
+% \end{macrocode}
+% Define hook to set the toc title when \sty{translator} is in use.
+%\changes{4.06}{2014-03-12}{added hook to set toc title}
+% \begin{macrocode}
+ \newcommand*{\gls@tr@set@main@toctitle}{%
+ \translatelet{\glossarytoctitle}{Glossary}%
+ }%
}
% \end{macrocode}
%\end{macro}
@@ -979,6 +986,13 @@ false,nolabel,autolabel,nameref}[nolabel]{%
\DeclareAcronymList{acronym}%
\newglossary[alg]{acronym}{acr}{acn}{\acronymname}%
\renewcommand*{\acronymtype}{acronym}%
+% \end{macrocode}
+% Define hook to set the toc title when \sty{translator} is in use.
+%\changes{4.06}{2014-03-12}{added hook to set toc title}
+% \begin{macrocode}
+ \newcommand*{\gls@tr@set@acronym@toctitle}{%
+ \translatelet{\glossarytoctitle}{Acronyms}%
+ }%
}%
\else
\let\@gls@do@acronymsdef\relax
@@ -1022,6 +1036,13 @@ false,nolabel,autolabel,nameref}[nolabel]{%
\DeclareAcronymList{acronym}%
\newglossary[alg]{acronym}{acr}{acn}{\acronymname}%
\renewcommand*{\acronymtype}{acronym}%
+% \end{macrocode}
+% Define hook to set the toc title when \sty{translator} is in use.
+%\changes{4.06}{2014-03-12}{added hook to set toc title}
+% \begin{macrocode}
+ \newcommand*{\gls@tr@set@acronym@toctitle}{%
+ \translatelet{\glossarytoctitle}{Acronyms}%
+ }%
}%
}
% \end{macrocode}
@@ -1248,6 +1269,7 @@ false,nolabel,autolabel,nameref}[nolabel]{%
% \begin{macrocode}
\newcommand*{\@gls@sanitizedesc}{%
}
+% \end{macrocode}
%\end{macro}
%
%\begin{macro}{\glssetexpandfield}
@@ -1884,6 +1906,13 @@ name=true]{%
\newcommand*{\@gls@symbolsdef}{%
\newglossary[slg]{symbols}{sls}{slo}{\glssymbolsgroupname}%
\newcommand*{\printsymbols}[1][]{\printglossary[type=symbols,##1]}%
+% \end{macrocode}
+% Define hook to set the toc title when \sty{translator} is in use.
+%\changes{4.06}{2014-03-12}{added hook to set toc title}
+% \begin{macrocode}
+ \newcommand*{\gls@tr@set@symbols@toctitle}{%
+ \translatelet{\glossarytoctitle}{Symbols (glossaries)}%
+ }%
}%
% \end{macrocode}
%\end{macro}
@@ -1908,6 +1937,13 @@ name=true]{%
\newcommand*{\@gls@numbersdef}{%
\newglossary[nlg]{numbers}{nls}{nlo}{\glsnumbersgroupname}%
\newcommand*{\printnumbers}[1][]{\printglossary[type=numbers,##1]}%
+% \end{macrocode}
+% Define hook to set the toc title when \sty{translator} is in use.
+%\changes{4.06}{2014-03-12}{added hook to set toc title}
+% \begin{macrocode}
+ \newcommand*{\gls@tr@set@numbers@toctitle}{%
+ \translatelet{\glossarytoctitle}{Numbers (glossaries)}%
+ }%
}%
% \end{macrocode}
%\end{macro}
@@ -1928,6 +1964,7 @@ name=true]{%
%
%\begin{macro}{\@gls@indexdef}
%\changes{4.02}{2013-12-05}{new}
+%\cs{indexname} isn't set by \sty{glossaries}.
% \begin{macrocode}
\newcommand*{\@gls@indexdef}{%
\newglossary[ilg]{index}{ind}{idx}{\indexname}%
@@ -2248,11 +2285,14 @@ name=true]{%
\addglossarytocaptions{polish}%
\addglossarytocaptions{spanish}%
\renewcommand*{\glssettoctitle}[1]{%
- \ifthenelse{\equal{#1}{main}}{%
- \translatelet{\glossarytoctitle}{Glossary}}{%
- \ifthenelse{\equal{#1}{acronym}}{%
- \translatelet{\glossarytoctitle}{Acronyms}}{%
- \def\glossarytoctitle{\csname @glotype@#1@title\endcsname}}}}%
+ \ifcsdef{gls@tr@set@#1@toctitle}%
+ {%
+ \csuse{gls@tr@set@#1@toctitle}%
+ }%
+ {%
+ \def\glossarytoctitle{\csname @glotype@#1@title\endcsname}%
+ }%
+ }%
\renewcommand*{\glossaryname}{\translate{Glossary}}%
\renewcommand*{\acronymname}{\translate{Acronyms}}%
\renewcommand*{\entryname}{\translate{Notation (glossaries)}}%
@@ -6262,16 +6302,19 @@ name=true]{%
\define@boolkey{glslink}{local}[true]{}
% \end{macrocode}
%
-%Syntax:\\[10pt]
+%Syntax:
+%\begin{definition}
% \cs{glslink}\oarg{options}\marg{label}\marg{text}
-%\\[10pt]
+%\end{definition}
% Display \meta{text} in the document, and add the entry information
% for \meta{label} into the relevant glossary. The optional
% argument should be a key value list using the \texttt{glslink}
% keys defined above.
%
-% There is also a starred version:\\[10pt]
-% \cs{glslink*}\oarg{options}\marg{label}\marg{text}\\[10pt]
+% There is also a starred version:
+%\begin{definition}
+% \cs{glslink*}\oarg{options}\marg{label}\marg{text}
+%\end{definition}
% which is equivalent to
% \cs{glslink}"[hyper=false,"\meta{options}"]"\marg{label}\marg{text}
%
@@ -7036,12 +7079,24 @@ name=true]{%
\let\glscustomtext\@empty
\def\glsinsert{#3}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Determine what the link text should be (this is stored in
% \cs{@glo@text})
%\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style
%commands}
% \begin{macrocode}
- \def\@glo@text{\csname gls@\@glo@type @entryfmt\endcsname}%
+ \def\@glo@text{\csname gls@\@glo@type @entryfmt\endcsname}%
% \end{macrocode}
% Call \cs{@gls@link}.
% If \pkgopt{footnote} package option has been used and the glossary
@@ -7125,12 +7180,24 @@ name=true]{%
\let\glscustomtext\@empty
\def\glsinsert{#3}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Determine what the link text should be (this is stored in
% \cs{@glo@text})
%\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style
%commands}
% \begin{macrocode}
- \def\@glo@text{\csname gls@\@glo@type @entryfmt\endcsname}%
+ \def\@glo@text{\csname gls@\@glo@type @entryfmt\endcsname}%
% \end{macrocode}
% Call \cs{@gls@link}
% If \pkgopt{footnote} package option has been used and the glossary
@@ -7214,6 +7281,18 @@ name=true]{%
\let\glscustomtext\@empty
\def\glsinsert{#3}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Determine what the link text should be (this is stored in
% \cs{@glo@text}).
%\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style
@@ -7300,6 +7379,19 @@ name=true]{%
\let\glscapscase\@firstofthree
\let\glscustomtext\@empty
\def\glsinsert{#3}%
+% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% 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
@@ -7392,6 +7484,18 @@ name=true]{%
\let\glscustomtext\@empty
\def\glsinsert{#3}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% 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}.
@@ -7485,6 +7589,18 @@ name=true]{%
\let\glscustomtext\@empty
\def\glsinsert{#3}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% 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
@@ -7579,6 +7695,18 @@ name=true]{%
\def\glscustomtext{#3}%
\def\glsinsert{}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Determine what the link text should be (this is stored in
% \cs{@glo@text})
%\changes{3.11a}{2013-10-15}{change to using \cs{glsentryfmt} style
@@ -8895,6 +9023,18 @@ name=true]{%
\acronymfont{\glsentryshort{#2}}#3%
}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Call \cs{@gls@link}
% \begin{macrocode}
\@gls@link[#1]{#2}{\csname gls@\@glo@type @entryfmt\endcsname}%
@@ -8940,6 +9080,18 @@ name=true]{%
\acronymfont{\Glsentryshort{#2}}#3%
}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Call \cs{@gls@link}
% \begin{macrocode}
\@gls@link[#1]{#2}{\csname gls@\@glo@type @entryfmt\endcsname}%
@@ -8985,6 +9137,18 @@ name=true]{%
\mfirstucMakeUppercase{\acronymfont{\glsentryshort{#2}}#3}%
}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Call \cs{@gls@link}
% \begin{macrocode}
\@gls@link[#1]{#2}{\csname gls@\@glo@type @entryfmt\endcsname}%
@@ -9031,6 +9195,18 @@ name=true]{%
\acronymfont{\glsentryshortpl{#2}}#3%
}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Call \cs{@gls@link}
% \begin{macrocode}
\@gls@link[#1]{#2}{\csname gls@\@glo@type @entryfmt\endcsname}%
@@ -9076,6 +9252,18 @@ name=true]{%
\acronymfont{\Glsentryshortpl{#2}}#3%
}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Call \cs{@gls@link}
% \begin{macrocode}
\@gls@link[#1]{#2}{\csname gls@\@glo@type @entryfmt\endcsname}%
@@ -9121,6 +9309,18 @@ name=true]{%
\mfirstucMakeUppercase{\acronymfont{\glsentryshortpl{#2}}#3}%
}%
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Call \cs{@gls@link}
% \begin{macrocode}
\@gls@link[#1]{#2}{\csname gls@\@glo@type @entryfmt\endcsname}%
@@ -9163,6 +9363,18 @@ name=true]{%
\let\glscapscase\@firstofthree
\let\glsinsert\@empty
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Bug fix v4.02 removed \cs{acronymfont} from \cs{glscustomtext}
% (\cs{acronymfont} only designed for short form).
% \changes{4.02}{2013-12-05}{Removed \cs{acronymfont}}
@@ -9213,6 +9425,18 @@ name=true]{%
\let\glscapscase\@secondofthree
\let\glsinsert\@empty
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Bug fix v4.02 removed \cs{acronymfont} from \cs{glscustomtext}
% (\cs{acronymfont} only designed for short form).
% \changes{4.02}{2013-12-05}{Removed \cs{acronymfont}}
@@ -9263,6 +9487,18 @@ name=true]{%
\let\glscapscase\@thirdofthree
\let\glsinsert\@empty
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Bug fix v4.02 removed \cs{acronymfont} from \cs{glscustomtext}
% (\cs{acronymfont} only designed for short form).
% \changes{4.02}{2013-12-05}{Removed \cs{acronymfont}}
@@ -9314,6 +9550,18 @@ name=true]{%
\let\glscapscase\@firstofthree
\let\glsinsert\@empty
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Bug fix v4.02 removed \cs{acronymfont} from \cs{glscustomtext}
% (\cs{acronymfont} only designed for short form).
% \changes{4.02}{2013-12-05}{Removed \cs{acronymfont}}
@@ -9364,6 +9612,18 @@ name=true]{%
\let\glscapscase\@secondofthree
\let\glsinsert\@empty
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Bug fix v4.02 removed \cs{acronymfont} from \cs{glscustomtext}
% (\cs{acronymfont} only designed for short form).
% \changes{4.02}{2013-12-05}{Removed \cs{acronymfont}}
@@ -9414,6 +9674,18 @@ name=true]{%
\let\glscapscase\@thirdofthree
\let\glsinsert\@empty
% \end{macrocode}
+%\changes{4.06}{2014-03-12}{added \cs{glsifhyper}}
+% Determine whether starred or unstarred version was used:
+% \begin{macrocode}
+ \let\org@ifKV@glslink@hyper\ifKV@glslink@hyper
+ \setkeys{glslink}{hyper=true,#1}%
+ \ifKV@glslink@hyper
+ \let\glsifhyper\@firstoftwo
+ \else
+ \let\glsifhyper\@secondoftwo
+ \fi
+ \let\ifKV@glslink@hyper\org@ifKV@glslink@hyper
+% \end{macrocode}
% Bug fix v4.02 removed \cs{acronymfont} from \cs{glscustomtext}
% (\cs{acronymfont} only designed for short form).
% \changes{4.02}{2013-12-05}{Removed \cs{acronymfont}}
@@ -10623,6 +10895,7 @@ name=true]{%
% \begin{macrocode}
\protected@write\@auxout{}{\string\providecommand\string\@glsorder[1]{}}
\protected@write\@auxout{}{\string\providecommand\string\@istfilename[1]{}}
+% \end{macrocode}
% Write the name of the style file to the aux file
% (needed by \app{makeglossaries})
% \begin{macrocode}
@@ -12225,6 +12498,7 @@ you
\def\@glo@thislettergrp{0}%
}%
{%
+% \end{macrocode}
% Sanitize it:
% \begin{macrocode}
\@onelevel@sanitize\@gls@firsttok
diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.ins b/Master/texmf-dist/source/latex/glossaries/glossaries.ins
index b1ea64244b1..3d8c2939341 100644
--- a/Master/texmf-dist/source/latex/glossaries/glossaries.ins
+++ b/Master/texmf-dist/source/latex/glossaries/glossaries.ins
@@ -1,4 +1,4 @@
-% glossaries.ins generated using makedtx version 1.1 2014/3/11 9:29
+% glossaries.ins generated using makedtx version 1.1 2014/3/12 15:21
\input docstrip
\preamble