From 0ed751b519767644acb5a04091a3a91e845d3acf Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 9 Apr 2015 22:39:24 +0000 Subject: etoc (9apr15) git-svn-id: svn://tug.org/texlive/trunk@36752 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/etoc/etoc.sty | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex/etoc') diff --git a/Master/texmf-dist/tex/latex/etoc/etoc.sty b/Master/texmf-dist/tex/latex/etoc/etoc.sty index 73aaa8e8762..be65156cf68 100644 --- a/Master/texmf-dist/tex/latex/etoc/etoc.sty +++ b/Master/texmf-dist/tex/latex/etoc/etoc.sty @@ -23,10 +23,10 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{etoc} - [2015/03/18 v1.08b Completely customisable TOCs (jfB)] + [2015/04/09 v1.08d Completely customisable TOCs (jfB)] %% %% Package: etoc -%% Version: 1.08b (2015/03/18; doc of 2015/03/28) +%% Version: 1.08d (2015/04/09) %% License: LPPL 1.3c or later (see etoc.dtx) %% Copyright (C) 2012-2015 Jean-Francois Burnol %% @@ -577,7 +577,7 @@ \futurelet\Etoc@nexttoken\Etoc@t@bleofcontents} \def\Etoc@localtable@fcontents{% \refstepcounter{etoc@tocid}% - \addtocontents{toc}{\string\etoc@startlocaltoc{\arabic{etoc@tocid}}}% + \addtocontents{toc}{\string\etoc@startlocaltoc{\the\c@etoc@tocid}}% \Etoc@tocwithidtrue \futurelet\Etoc@nexttoken\Etoc@t@bleofcontents} \let\etocaftertitlehook \@empty @@ -646,14 +646,14 @@ } \def\etocsetstyle{\Etoc@standardfalse\etoc@setstyle} \long\def\etoc@setstyle#1#2#3#4#5{% - \long\expandafter\def + \expandafter\def \csname Etoc@begin@\csname Etoc@#1@\endcsname\endcsname {#2\Etoc@global\Etoc@isfirsttrue}% - \long\expandafter\def + \expandafter\def \csname Etoc@prefix@\csname Etoc@#1@\endcsname\endcsname {#3}% - \long\expandafter\def + \expandafter\def \csname Etoc@contents@\csname Etoc@#1@\endcsname\endcsname {#4}% - \long\expandafter\def + \expandafter\def \csname Etoc@end@\csname Etoc@#1@\endcsname\endcsname {#5}% } \def\etocfontminustwo {\normalfont \LARGE \bfseries} -- cgit v1.2.3