From 2feb602ca10b928ee4cba97b3ae95a8ef6b853d4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 14 Aug 2018 22:01:02 +0000 Subject: glossaries-extra (15aug18) git-svn-id: svn://tug.org/texlive/trunk@48401 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/glossaries-extra/glossaries-extra.dtx | 37 ++++++++++++++-------- .../latex/glossaries-extra/glossaries-extra.ins | 2 +- 2 files changed, 24 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/source') 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 0f4115aaa35..816bed40c3a 100644 --- a/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx +++ b/Master/texmf-dist/source/latex/glossaries-extra/glossaries-extra.dtx @@ -1,23 +1,23 @@ %\iffalse % glossaries-extra.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: -% -section "chapter" % -doc "glossaries-extra-codedoc.tex" -% -macrocode ".*\.tex" -% -macrocode ".*\.bib" % -comment ".*\.tex" % -comment ".*\.bib" -% -author "Nicola Talbot" +% -setambles ".*\.bib=>\nopreamble\nopostamble" +% -macrocode ".*\.tex" +% -macrocode ".*\.bib" +% -section "chapter" % -codetitle "Main Package Code (\\styfmt{glossaries-extra.sty})" +% -author "Nicola Talbot" % -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" -% -setambles ".*\.bib=>\nopreamble\nopostamble" % glossaries-extra -% Created on 2018/7/29 19:02 +% Created on 2018/8/13 19:27 %\fi %\iffalse %<*package> @@ -127,7 +127,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \setcounter{IndexColumns}{2} -\CheckSum{23240} +\CheckSum{23243} \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.34: +\title{glossaries-extra.sty v1.35: documented code} \author{Nicola L.C. Talbot\\[10pt] Dickimaw Books\\ \url{http://www.dickimaw-books.com/}} -\date{2018-07-29} +\date{2018-08-13} \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/07/29 v1.34 (NLCT)] +\ProvidesPackage{glossaries-extra}[2018/08/13 v1.35 (NLCT)] % \end{macrocode} % Requires \sty{xkeyval} to define package options. % \begin{macrocode} @@ -4374,6 +4374,12 @@ Dickimaw Books\\ \glsdoifexistsordo{#2}% {% \let\do@gls@link@checkfirsthyper\relax +% \end{macrocode} +%\changes{1.35}{2018-08-13}{initialise post-link hook commands} +% Post-link hook commands need initialising. +% \begin{macrocode} + \def\glscustomtext{#3}% + \@glsxtr@field@linkdefs \@gls@link[#1]{#2}{#3}% }% {% @@ -5807,7 +5813,10 @@ Dickimaw Books\\ % been unset by then, so define a command that can be used in the % post link hook. Since \cs{@gls@link@checkfirsthyper} is only used % by commands like \cs{gls} but not by other commands, this seems -% the best place to put it. +% the best place to put it to automatically set the value for the +% commands that change the first use flag. The other commands should +% set \cs{glsxtrifwasfirstuse} to \cs{@secondoftwo} (which is done +% in \cs{@glsxtr@field@linkdefs}). % \begin{macrocode} \ifglsused{\glslabel}% {\let\glsxtrifwasfirstuse\@secondoftwo} @@ -22387,7 +22396,7 @@ defined}{}% %automatically loaded by the record option. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-extra-bib2gls}[2018/07/29 v1.34 (NLCT)] +\ProvidesPackage{glossaries-extra-bib2gls}[2018/08/13 v1.35 (NLCT)] % \end{macrocode} % %These are some convenient macros for use with custom rules. @@ -24764,7 +24773,7 @@ defined}{}% % First identify package: % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-extra-stylemods}[2018/07/29 v1.34 (NLCT)] +\ProvidesPackage{glossaries-extra-stylemods}[2018/08/13 v1.35 (NLCT)] % \end{macrocode} % Provide package options to automatically load required predefined % styles. The simplest method is to just test for the existence of @@ -26939,7 +26948,7 @@ defined}{}% %\section{Package Initialisation and Options} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossary-bookindex}[2018/07/29 v1.34 (NLCT)] +\ProvidesPackage{glossary-bookindex}[2018/08/13 v1.35 (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 1f0bbd5af5e..5b2ebc98cdd 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/7/29 19:02 +% glossaries-extra.ins generated using makedtx version 1.2 2018/8/13 19:27 \input docstrip \preamble -- cgit v1.2.3