summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/glossaries-extra
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-15 22:52:32 +0000
committerKarl Berry <karl@freefriends.org>2017-11-15 22:52:32 +0000
commit8db1d9ae4386e820a532cc623a875cdca0e5d9fc (patch)
treeed4686de2df733ca340be58079c9243dda8d417d /Master/texmf-dist/source/latex/glossaries-extra
parent9fec7f4dcf3c81ead88a940b67e9d12f8eb79937 (diff)
glossaries-extra (15nov17)
git-svn-id: svn://tug.org/texlive/trunk@45820 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/glossaries-extra')
-rw-r--r--Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx56
-rw-r--r--Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins2
2 files changed, 46 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
index 1a337c6e135..dcef80670b4 100644
--- a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
+++ b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
@@ -1,22 +1,22 @@
%\iffalse
% glossaries-extra.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
-% -author "Nicola Talbot"
% -src "glossaries-extra.sty\Z=>glossaries-extra.sty"
% -src "glossaries-extra-stylemods.sty\Z=>glossaries-extra-stylemods.sty"
% -src "glossary-bookindex.sty\Z=>glossary-bookindex.sty"
% -src "(example-glossaries-.+\.tex)\Z=>\1"
% -src "(example-glossaries-.+\.bib)\Z=>\1"
-% -setambles ".*\.bib=>\nopreamble\nopostamble"
+% -codetitle "Main Package Code (\\styfmt{glossaries-extra.sty})"
% -macrocode ".*\.tex"
% -macrocode ".*\.bib"
% -comment ".*\.tex"
% -comment ".*\.bib"
-% -doc "glossaries-extra-codedoc.tex"
% -section "chapter"
-% -codetitle "Main Package Code (\\styfmt{glossaries-extra.sty})"
+% -author "Nicola Talbot"
+% -doc "glossaries-extra-codedoc.tex"
+% -setambles ".*\.bib=>\nopreamble\nopostamble"
% glossaries-extra
-% Created on 2017/11/12 16:15
+% Created on 2017/11/14 20:50
%\fi
%\iffalse
%<*package>
@@ -126,7 +126,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\setcounter{IndexColumns}{2}
-\CheckSum{20189}
+\CheckSum{20211}
\newcommand*{\ifirstuse}{\iterm{first use}}
\newcommand*{\firstuse}{\gls{firstuse}}
@@ -166,13 +166,13 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\raggedright
}
-\title{glossaries-extra.sty v1.23:
+\title{glossaries-extra.sty v1.24:
documented code}
\author{Nicola L.C. Talbot\\[10pt]
Dickimaw Books\\
\url{http://www.dickimaw-books.com/}}
-\date{2017-11-12}
+\date{2017-11-14}
\begin{document}
\DocInput{glossaries-extra.dtx}
@@ -217,7 +217,7 @@ Dickimaw Books\\
%\section{Package Initialisation and Options}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra}[2017/11/12 v1.23 (NLCT)]
+\ProvidesPackage{glossaries-extra}[2017/11/14 v1.24 (NLCT)]
% \end{macrocode}
% Requires \sty{xkeyval} to define package options.
% \begin{macrocode}
@@ -2012,6 +2012,23 @@ Dickimaw Books\\
% \end{macrocode}
%\end{macro}
%
+%\begin{macro}{\glsxtrforcsvfield}
+%\changes{1.24}{2017-11-14}{new}
+%\begin{definition}
+%\cs{glsxtrforcsvfield}\marg{label}\marg{field}\marg{cs handler}
+%\end{definition}
+% \begin{macrocode}
+\newcommand*{\glsxtrforcsvfield}[3]{%
+ \@glsxtrifhasfield{#2}{#1}%
+ {%
+ \let\glsxtrendfor\@endfortrue
+ \@for\@glsxtr@label:=\glscurrentfieldvalue\do
+ {\expandafter#3\expandafter{\@glsxtr@label}}}%
+ {}%
+}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\glsxtrifhasfield}
%\changes{1.19}{2017-09-09}{new}
%A simpler alternative to \cs{ifglshasfield} that doesn't complain
@@ -4071,6 +4088,11 @@ Dickimaw Books\\
\let\theglsentrycounter\@glsxtr@thevalue
\def\theHglsentrycounter{\@glsxtr@theHvalue}%
}%
+% \end{macrocode}
+% Define sort key if necessary (in case of \pkgopt[use]{sort}):
+%\changes{1.24}{2017-11-14}{added \cs{@gls@setsort}}
+% \begin{macrocode}
+ \@gls@setsort{#2}%
\@@do@wrglossary{#2}%
}%
}%
@@ -7895,6 +7917,18 @@ Dickimaw Books\\
% \end{macrocode}
%\end{macro}
%
+%\begin{macro}{\glsxtrlocalsetgrouptitle}
+%\changes{1.24}{2017-11-14}{new}
+%As above put only locally defines the title.
+% \begin{macrocode}
+\newcommand{\glsxtrlocalsetgrouptitle}[2]{%
+ \protected@edef\@glsxtr@titlelabel{glsxtr@grouptitle@#1}%
+ \@onelevel@sanitize\@glsxtr@titlelabel
+ \csedef{\@glsxtr@titlelabel}{#2}%
+}
+% \end{macrocode}
+%\end{macro}
+%
%\begin{macro}{\glsnavigation}
%\changes{1.14}{2017-04-18}{new}
%Redefine to use new user-level command.
@@ -20795,7 +20829,7 @@ defined}{}%
% First identify package:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra-stylemods}[2017/11/12 v1.23 (NLCT)]
+\ProvidesPackage{glossaries-extra-stylemods}[2017/11/14 v1.24 (NLCT)]
% \end{macrocode}
% Provide package options to automatically load required predefined
% styles. The simplest method is to just test for the existence of
@@ -22852,7 +22886,7 @@ defined}{}%
%\section{Package Initialisation and Options}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossary-bookindex}[2017/11/12 v1.23 (NLCT)]
+\ProvidesPackage{glossary-bookindex}[2017/11/14 v1.24 (NLCT)]
% \end{macrocode}
%Load required packages.
% \begin{macrocode}
diff --git a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins
index c2358b79b2c..679399bc50b 100644
--- a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins
+++ b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins
@@ -1,4 +1,4 @@
-% glossaries-extra.ins generated using makedtx version 1.2 2017/11/12 16:15
+% glossaries-extra.ins generated using makedtx version 1.2 2017/11/14 20:50
\input docstrip
\preamble