summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/etoc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-09 00:16:26 +0000
committerKarl Berry <karl@freefriends.org>2018-02-09 00:16:26 +0000
commitccada31351692d0ea2f29deddc6308621cdf5571 (patch)
treeec7124cba5f5c264602185c97be4957e55a44623 /Master/texmf-dist/tex/latex/etoc
parentb2153506a41b9f934841bc0eb31dd9c3946b407b (diff)
etoc (8feb18)
git-svn-id: svn://tug.org/texlive/trunk@46571 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/etoc')
-rw-r--r--Master/texmf-dist/tex/latex/etoc/etoc.sty16
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/etoc/etoc.sty b/Master/texmf-dist/tex/latex/etoc/etoc.sty
index 48a8a986c45..1a1f7ab901d 100644
--- a/Master/texmf-dist/tex/latex/etoc/etoc.sty
+++ b/Master/texmf-dist/tex/latex/etoc/etoc.sty
@@ -23,14 +23,14 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{etoc}
- [2017/10/23 v1.08l Completely customisable TOCs (JFB)]
+ [2018/02/07 v1.08m Completely customisable TOCs (JFB)]
%%
%% Package: etoc
-%% Version: 1.08l-2017/10/23
+%% Version: 1.08m-2018/02/07
%% License: LPPL 1.3c
-%% Copyright (C) 2012-2017 Jean-Francois Burnol
+%% Copyright (C) 2012-2018 Jean-Francois Burnol
%% <jfbu at free dot fr>
-%% Copyright (C) 2014-2017 Christine Roemer
+%% Copyright (C) 2014-2018 Christine Roemer
%% <Christine_Roemer at t-online dot de>
%% and collaborators for the translation into German of the documentation
%%
@@ -393,15 +393,15 @@
}
\begingroup\@tfor\x:=NUMBZRLINZ\do{\catcode\expandafter`\x=12 }\lccode`Z `e
\lowercase{\endgroup
-\long\def\Etoc@oneifnumberline #1NUMBZRLINZ#2#3\Etoc@next{%
- \ifx\etoc@#20\else1\fi
+\long\def\Etoc@oneifnumberline #1NUMBZRLINZ#2#3\Etoc@next#4{%
+ \ifx\etoc@#20\else\ifx\nonumberline#40\else1\fi\fi
}%
\def\Etoc@getnb@nohyp #1#2#3\etoc@ {%
\def\Etoc@getname ##1\relax\relax\etoc@ {%
\Etoc@global\def\etocthename {##1}%
\Etoc@global\def\etocthelinkedname {##1}%
}%
- \if1\expandafter\Etoc@oneifnumberline\string#1NUMBZRLINZ\etoc@\Etoc@next
+ \if1\expandafter\Etoc@oneifnumberline\string#1NUMBZRLINZ\etoc@\Etoc@next{#1}%
\Etoc@global\def\etocthenumber {#2}%
\Etoc@global\def\etocthelinkednumber {#2}%
\Etoc@global\Etoc@numbertrue
@@ -420,7 +420,7 @@
{\expandafter\hyperlink \Etoc@tmp{##1}}%
}%
\def\Etoc@getnbr ##1##2##3\etoc@ {%
- \if1\expandafter\Etoc@oneifnumberline\string##1NUMBZRLINZ\etoc@\Etoc@next
+ \if1\expandafter\Etoc@oneifnumberline\string##1NUMBZRLINZ\etoc@\Etoc@next{##1}%
\Etoc@global\def\etocthenumber {##2}%
\edef\Etoc@tmp {{#3}}%
\Etoc@global\expandafter\def\expandafter\etocthelinkednumber