summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-27 22:48:18 +0000
committerKarl Berry <karl@freefriends.org>2019-01-27 22:48:18 +0000
commitfdfffcf5369f8f6bef5a4c44a46fea5b348ee246 (patch)
tree39bdb02f10d82743619e74648ad8f7cc5c3d94ba /Master/texmf-dist/tex
parent613cf530a8259bbf9d70db56711dfea9f0461496 (diff)
changes (27jan19)
git-svn-id: svn://tug.org/texlive/trunk@49837 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/changes/changes.sty23
1 files changed, 12 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/changes/changes.sty b/Master/texmf-dist/tex/latex/changes/changes.sty
index c9dbd8f1999..98b944858b2 100644
--- a/Master/texmf-dist/tex/latex/changes/changes.sty
+++ b/Master/texmf-dist/tex/latex/changes/changes.sty
@@ -7,7 +7,7 @@
%% changes.dtx (with options: `changes')
%%
%% changes.dtx
-%% Copyright 2007-2018 Ekkart Kleinod (ekleinod@edgesoft.de)
+%% Copyright 2007-2019 Ekkart Kleinod (ekleinod@edgesoft.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -41,8 +41,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{changes}
-[2018/12/18 v3.1.1 changes package]
-\typeout{*** changes package 2018/12/18 v3.1.1 ***}
+[2019/01/26 v3.1.2 changes package]
+\typeout{*** changes package 2019/01/26 v3.1.2 ***}
\RequirePackage{xkeyval}
\RequirePackage{xifthen}
\RequirePackage{xstring}
@@ -803,6 +803,8 @@ show=all,
}
\newcommand{\ChangesListline}[4]{%
\IfSubStr{\Changes@loc@show}{#1}{%
+\@ifundefined{@dotsep}%
+{\def\@dotsep{4.5}}{}%
\@dottedtocline{1}{0px}{2em}{#2: \truncate{\Changes@truncate@width}{#3}}{#4}%
}{}%
}
@@ -868,18 +870,17 @@ show=all,
{%
\def\Changes@loc@show{added|deleted|replaced|highlight|comment}%
}{}%
-\section*{%
+\def\Changes@heading{\Changes@loc@title}
\ifIsEmpty{\Changes@loc@title}%
{%
\ifthenelse{\equal{\Changes@loc@style}{list}}%
-{\listofchangesname}{}%
+{\def\Changes@heading{\listofchangesname}}{}%
\ifthenelse{\equal{\Changes@loc@style}{summary}}%
-{\summaryofchangesname}{}%
+{\def\Changes@heading{\summaryofchangesname}}{}%
\ifthenelse{\equal{\Changes@loc@style}{compactsummary}}%
-{\compactsummaryofchangesname}{}%
-}%
-{\Changes@loc@title}%
-}%
+{\def\Changes@heading{\compactsummaryofchangesname}}{}%
+}{}%
+\section*{\Changes@heading}
\ifthenelse{\equal{\Changes@loc@style}{list}}%
{%
\IfFileExists{\jobname.loc}%
@@ -981,6 +982,6 @@ show=all,
}{}%
\fi
}
-%% Copyright 2007-2018 Ekkart Kleinod
+%% Copyright 2007-2019 Ekkart Kleinod
%%
%% End of file `changes.sty'.