summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/changes/changes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/changes/changes.sty')
-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'.