summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/glossaries-extra
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-10 21:21:30 +0000
committerKarl Berry <karl@freefriends.org>2017-08-10 21:21:30 +0000
commit7632db03e7814976aa5e919276513ae0b4e442b8 (patch)
treea4e9e2f9a8ee554e406fc8cda132eaf7e83d2890 /Master/texmf-dist/source/latex/glossaries-extra
parentc038ed4f89e4ef58c17e382927f9ad42be64d469 (diff)
glossaries-extra (10aug17)
git-svn-id: svn://tug.org/texlive/trunk@45009 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.dtx35
-rw-r--r--Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.ins2
2 files changed, 21 insertions, 16 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 4690b5e1791..7ae270bd46b 100644
--- a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
+++ b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx
@@ -1,17 +1,17 @@
%\iffalse
% glossaries-extra.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
-% -comment ".*\.tex"
+% -codetitle "Main Package Code (\\styfmt{glossaries-extra.sty})"
+% -author "Nicola Talbot"
+% -doc "glossaries-extra-codedoc.tex"
+% -macrocode ".*\.tex"
% -src "glossaries-extra.sty\Z=>glossaries-extra.sty"
% -src "glossaries-extra-stylemods.sty\Z=>glossaries-extra-stylemods.sty"
% -src "(example-glossaries-.+\.tex)\Z=>\1"
+% -comment ".*\.tex"
% -section "chapter"
-% -author "Nicola Talbot"
-% -macrocode ".*\.tex"
-% -codetitle "Main Package Code (\\styfmt{glossaries-extra.sty})"
-% -doc "glossaries-extra-codedoc.tex"
% glossaries-extra
-% Created on 2017/8/9 16:08
+% Created on 2017/8/10 15:55
%\fi
%\iffalse
%<*package>
@@ -161,13 +161,13 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of
\raggedright
}
-\title{glossaries-extra.sty v1.17:
+\title{glossaries-extra.sty v1.18:
documented code}
\author{Nicola L.C. Talbot\\[10pt]
Dickimaw Books\\
\url{http://www.dickimaw-books.com/}}
-\date{2017-08-09}
+\date{2017-08-10}
\begin{document}
\DocInput{glossaries-extra.dtx}
@@ -212,7 +212,7 @@ Dickimaw Books\\
%\section{Package Initialisation and Options}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra}[2017/08/09 v1.17 (NLCT)]
+\ProvidesPackage{glossaries-extra}[2017/08/10 v1.18 (NLCT)]
% \end{macrocode}
% Requires \sty{xkeyval} to define package options.
% \begin{macrocode}
@@ -1083,9 +1083,10 @@ Dickimaw Books\\
%
%\begin{option}{stylemods}
%\changes{1.02}{2016-04-25}{new}
+%\changes{1.18}{2017-08-10}{changed default value to \qt{default}}
% \begin{macrocode}
-\define@key{glossaries-extra.sty}{stylemods}{%
- \ifblank{#1}%
+\define@key{glossaries-extra.sty}{stylemods}[default]{%
+ \ifstrequal{#1}{default}%
{%
\renewcommand*{\@glsxtr@redefstyles}{%
\RequirePackage{glossaries-extra-stylemods}}%
@@ -1127,6 +1128,9 @@ Dickimaw Books\\
% packages have been loaded.
% \begin{macrocode}
\define@key{glossaries-extra.sty}{style}{%
+% \end{macrocode}
+%Defer actual style change:
+% \begin{macrocode}
\renewcommand*{\@glsxtr@do@style}{%
% \end{macrocode}
% Set this as the default style:
@@ -2815,13 +2819,14 @@ Dickimaw Books\\
\newcommand*{\@glsxtr@current@style}{\@glossary@default@style}
% \end{macrocode}
%\end{macro}
-% Modify \cs{setglossarystyle} to set the above.
+%
+% Modify \cs{setglossarystyle} to set \cs{@glsxtr@current@style}.
%\begin{macro}{\setglossarystyle}
% \begin{macrocode}
\renewcommand*{\setglossarystyle}[1]{%
\ifcsundef{@glsstyle@#1}%
{%
- \PackageError{glossaries}{Glossary style `#1' undefined}{}%
+ \PackageError{glossaries-extra}{Glossary style `#1' undefined}{}%
}%
{%
\csname @glsstyle@#1\endcsname
@@ -18664,7 +18669,7 @@ Dickimaw Books\\
% First identify package:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra-stylemods}[2017/08/09 v1.17 (NLCT)]
+\ProvidesPackage{glossaries-extra-stylemods}[2017/08/10 v1.18 (NLCT)]
% \end{macrocode}
% Provide package options to automatically load required predefined
% styles. The simplest method is to just test for the existence of
@@ -18707,7 +18712,7 @@ Dickimaw Books\\
\providecommand{\renewglossarystyle}[2]{%
\ifcsundef{@glsstyle@#1}%
{%
- \PackageError{glossaries}{Glossary style `#1' isn't already defined}{}%
+ \PackageError{glossaries-extra}{Glossary style `#1' isn't already defined}{}%
}%
{%
\csdef{@glsstyle@#1}{#2}%
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 c1fffaf1d43..c316b184ac6 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/8/9 16:08
+% glossaries-extra.ins generated using makedtx version 1.2 2017/8/10 15:55
\input docstrip
\preamble