summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-29 20:14:06 +0000
committerKarl Berry <karl@freefriends.org>2023-10-29 20:14:06 +0000
commitb5f6f53563f112462867a8d566e866fed3edfb61 (patch)
treedd092dadeafc99a64b4ee7c7d597f944e026563a /Master/texmf-dist/tex
parentf2f34147350143acc449967e7dde72c3d8b53ecb (diff)
etoc (29oct23)
git-svn-id: svn://tug.org/texlive/trunk@68691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/etoc/etoc.sty13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/etoc/etoc.sty b/Master/texmf-dist/tex/latex/etoc/etoc.sty
index a58b5445d35..25f099242f8 100644
--- a/Master/texmf-dist/tex/latex/etoc/etoc.sty
+++ b/Master/texmf-dist/tex/latex/etoc/etoc.sty
@@ -22,12 +22,12 @@
%% in the same archive or directory.)
%%
%% Package: etoc
-%% Version: 1.2c
+%% Version: 1.2d
%% License: LPPL 1.3c
%% Copyright (C) 2012-2023 Jean-Francois Burnol
%% <jfbu at free dot fr>
\NeedsTeXFormat{LaTeX2e}[2003/12/01]
-\ProvidesPackage{etoc}[2023/10/28 v1.2c Completely customisable TOCs (JFB)]
+\ProvidesPackage{etoc}[2023/10/29 v1.2d Completely customisable TOCs (JFB)]
\newif\ifEtoc@oldLaTeX
\@ifl@t@r\fmtversion{2020/10/01}
{}
@@ -36,7 +36,7 @@
Since 1.1a (2023/01/14), etoc prefers LaTeX at least\MessageBreak
as recent as 2020-10-01, for reasons of the .toc file,\MessageBreak
and used to require it (from 1.1a to 1.2).\MessageBreak
- This etoc (1.2c) does not *require* it, but has not been\MessageBreak
+ This etoc (1.2d) does not *require* it, but has not been\MessageBreak
tested thoroughly on old LaTeX (especially if document\MessageBreak
does not use hyperref) and retrofitting was done only\MessageBreak
on basis of author partial remembrances of old context.\MessageBreak
@@ -1887,9 +1887,10 @@
\else
\let\tableofcontents\etoctableofcontents
\fi
- }%
- {}%
- }%
+ \fi
+ }% end of tocbibind without tocloft at begin document code
+ {}% empty false branch
+ }% end of no tocloft at begin document code
\@ifpackageloaded{tocbibind}
{% tocbibind, perhaps with tocloft
\if@dotoctoc