summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/glossaries-extra
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-26 21:44:25 +0000
committerKarl Berry <karl@freefriends.org>2018-07-26 21:44:25 +0000
commit6ed35acfc66d112e7acdf13daf38cb1244f97008 (patch)
treeedc28dd58a499c524f7bbf69a78c7dc39f9a4384 /Master/texmf-dist/source/latex/glossaries-extra
parent4c1378dcd7835008b7c4455b2d9ebfb7582805af (diff)
glossaries-extra (26jul18)
git-svn-id: svn://tug.org/texlive/trunk@48279 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.dtx40
-rw-r--r--Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins2
2 files changed, 27 insertions, 15 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 024b3581036..4470df440b2 100644
--- a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
+++ b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
@@ -2,22 +2,22 @@
% glossaries-extra.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
% -doc "glossaries-extra-codedoc.tex"
+% -macrocode ".*\.tex"
+% -macrocode ".*\.bib"
% -codetitle "Main Package Code (\\styfmt{glossaries-extra.sty})"
+% -section "chapter"
+% -setambles ".*\.bib=>\nopreamble\nopostamble"
% -src "glossaries-extra.sty\Z=>glossaries-extra.sty"
% -src "glossaries-extra-bib2gls.sty\Z=>glossaries-extra-bib2gls.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"
-% -author "Nicola Talbot"
-% -section "chapter"
-% -macrocode ".*\.tex"
-% -macrocode ".*\.bib"
-% -setambles ".*\.bib=>\nopreamble\nopostamble"
% -comment ".*\.tex"
% -comment ".*\.bib"
+% -author "Nicola Talbot"
% glossaries-extra
-% Created on 2018/5/24 12:13
+% Created on 2018/7/26 10:14
%\fi
%\iffalse
%<*package>
@@ -127,7 +127,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\setcounter{IndexColumns}{2}
-\CheckSum{23192}
+\CheckSum{23197}
\newcommand*{\ifirstuse}{\iterm{first use}}
\newcommand*{\firstuse}{\gls{firstuse}}
@@ -167,13 +167,13 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\raggedright
}
-\title{glossaries-extra.sty v1.32:
+\title{glossaries-extra.sty v1.33:
documented code}
\author{Nicola L.C. Talbot\\[10pt]
Dickimaw Books\\
\url{http://www.dickimaw-books.com/}}
-\date{2018-05-24}
+\date{2018-07-26}
\begin{document}
\DocInput{glossaries-extra.dtx}
@@ -218,7 +218,7 @@ Dickimaw Books\\
%\section{Package Initialisation and Options}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra}[2018/05/24 v1.32 (NLCT)]
+\ProvidesPackage{glossaries-extra}[2018/07/26 v1.33 (NLCT)]
% \end{macrocode}
% Requires \sty{xkeyval} to define package options.
% \begin{macrocode}
@@ -1852,6 +1852,18 @@ Dickimaw Books\\
}
% \end{macrocode}
%
+%\begin{macro}{\ifglsused}
+%\changes{1.33}{2018-07-26}{added redefinition}
+%In the event that undefined entries should trigger a warning rather
+%than an error, \cs{ifglsused} needs to be modified to check for
+%existence.
+% \begin{macrocode}
+\renewcommand*{\ifglsused}[3]{%
+ \glsdoifexists{#1}{\ifbool{glo@\glsdetoklabel{#1}@flag}{#2}{#3}}%
+}
+% \end{macrocode}
+%\end{macro}
+%
%\section{Extra Utilities}
%\begin{macro}{\glsxtrifemptyglossary}
%\begin{definition}
@@ -3496,7 +3508,7 @@ Dickimaw Books\\
%Modify \cs{makenoidxglossaries} so that it automatically
%sets \pkgopt[false]{docdef} (unless the restricted setting is on)
%and disables the \pkgopt{docdef} key.
-%This command isn't allow with the \pkgopt{record} option.
+%This command isn't allowed with the \pkgopt{record} option.
% \begin{macrocode}
\let\glsxtr@orgmakenoidxglossaries\makenoidxglossaries
\renewcommand{\makenoidxglossaries}{%
@@ -22307,7 +22319,7 @@ defined}{}%
%automatically loaded by the record option.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra-bib2gls}[2018/05/24 v1.32 (NLCT)]
+\ProvidesPackage{glossaries-extra-bib2gls}[2018/07/26 v1.33 (NLCT)]
% \end{macrocode}
%
%These are some convenient macros for use with custom rules.
@@ -24684,7 +24696,7 @@ defined}{}%
% First identify package:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra-stylemods}[2018/05/24 v1.32 (NLCT)]
+\ProvidesPackage{glossaries-extra-stylemods}[2018/07/26 v1.33 (NLCT)]
% \end{macrocode}
% Provide package options to automatically load required predefined
% styles. The simplest method is to just test for the existence of
@@ -26859,7 +26871,7 @@ defined}{}%
%\section{Package Initialisation and Options}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossary-bookindex}[2018/05/24 v1.32 (NLCT)]
+\ProvidesPackage{glossary-bookindex}[2018/07/26 v1.33 (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 6a570af9332..55a747c3f3e 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 2018/5/24 12:13
+% glossaries-extra.ins generated using makedtx version 1.2 2018/7/26 10:14
\input docstrip
\preamble