summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/glossaries/glossaries.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-04 22:37:25 +0000
committerKarl Berry <karl@freefriends.org>2014-04-04 22:37:25 +0000
commit1d960e194869c5c68acde462e7d711dd76f91651 (patch)
tree2b2e7358517f1912b267ba757b43af05f594af18 /Master/texmf-dist/source/latex/glossaries/glossaries.dtx
parentcb0d77e2c7837d3ff3ffd2b9de0942e093421bdf (diff)
glossaries (4apr14)
git-svn-id: svn://tug.org/texlive/trunk@33374 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/glossaries/glossaries.dtx')
-rw-r--r--Master/texmf-dist/source/latex/glossaries/glossaries.dtx39
1 files changed, 28 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx
index f6727ff037d..f774aa54d38 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/12 15:21
+% Created on 2014/4/4 12:03
%\fi
%\iffalse
%<*package>
@@ -138,7 +138,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\setcounter{IndexColumns}{2}
-\CheckSum{18942}
+\CheckSum{18947}
\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.06}
+% \title{Documented Code For glossaries v4.07}
% \author{Nicola L.C. Talbot\\[10pt]
%Dickimaw Books\\
%\url{http://www.dickimaw-books.com/}}
%
-% \date{2014-03-12}
+% \date{2014-04-04}
% \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.06:
+%For the main user guide, read \qt{glossaries.sty v4.07:
%\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/12 v4.06 (NLCT)]
+\ProvidesPackage{glossaries}[2014/04/04 v4.07 (NLCT)]
% \end{macrocode}
% Required packages:
% \begin{macrocode}
@@ -2700,11 +2700,13 @@ name=true]{%
% 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{4.07}{2014-04-04}{added optional argument when using unstarred
+%version}
% \begin{macrocode}
\newcommand*{\@glossarysection}[2]{%
\ifdefempty\@@glossarysecstar
{%
- \csname\@@glossarysec\endcsname{#2}%
+ \csname\@@glossarysec\endcsname[#1]{#2}%
}%
{%
\csname\@@glossarysec\endcsname*{#2}%
@@ -9721,6 +9723,18 @@ name=true]{%
% \end{macrocode}
%\end{macro}
%
+%\begin{macro}{\glsletentryfield}
+%\changes{4.07}{2014-04-04}{new}
+%\begin{definition}
+%\cs{glsletentryfield}\marg{cs}\marg{label}\marg{field}
+%\end{definition}
+% \begin{macrocode}
+\newcommand*{\glsletentryfield}[3]{%
+ \letcs{#1}{glo@\glsdetoklabel{#2}@#3}%
+}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\@Gls@entry@field}
% Generic first letter uppercase version.
%\changes{4.03}{2014-01-20}{new}
@@ -12545,8 +12559,10 @@ you
\newcommand{\@gls@noidx@do}[1]{%
% \end{macrocode}
% Get this entry's location list
+%\changes{4.07}{2014-04-04}{added \cs{global} in case it's used in a
+%tabular-like style}
% \begin{macrocode}
- \letcs{\@gls@loclist}{glo@\glsdetoklabel{#1}@loclist}%
+ \global\letcs{\@gls@loclist}{glo@\glsdetoklabel{#1}@loclist}%
% \end{macrocode}
% Does this entry have a~parent?
% \begin{macrocode}
@@ -14021,9 +14037,10 @@ false,nolabel,autolabel,nameref}[nolabel]{%
%\begin{macro}{\Acrfullplfmt}
%\changes{4.02}{2013-12-05}{new}
% First letter upper case plural full format.
+%\changes{4.07}{2014-04-04}{fixed no case change bug}
% \begin{macrocode}
\newcommand*{\Acrfullplfmt}[3]{%
- \acrlinkfullformat{\@acrlongpl}{\@acrshortpl}{#1}{#2}{#3}%
+ \acrlinkfullformat{\@Acrlongpl}{\@acrshortpl}{#1}{#2}{#3}%
}
% \end{macrocode}
%\end{macro}
@@ -16501,7 +16518,7 @@ false,nolabel,autolabel,nameref}[nolabel]{%
% \end{macrocode}
%\fi
%\section{Prefix Support (glossaries-prefix Code)}
-%\label{sec:code:accsupp}
+%\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
@@ -25475,7 +25492,7 @@ There are two types of ordering: word ordering (which places
\usepackage[nomain]{glossaries}
\newglossary[glg]{english}{gls}{glo}{English to French}
-\newglossary[flg]{french}{fls}{flo}{French to English}
+\newglossary[flg]{french}{flx}{flo}{French to English}
\makeglossaries