From fdfffcf5369f8f6bef5a4c44a46fea5b348ee246 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 27 Jan 2019 22:48:18 +0000 Subject: changes (27jan19) git-svn-id: svn://tug.org/texlive/trunk@49837 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/changes/changes.sty | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex') 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'. -- cgit v1.2.3