summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/etoc/etoc.sty18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/etoc/etoc.sty b/Master/texmf-dist/tex/latex/etoc/etoc.sty
index 1dec7ee47be..9b6277c8b90 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}
- [2018/02/23 v1.08n Completely customisable TOCs (JFB)]
+ [2018/06/15 v1.08o Completely customisable TOCs (JFB)]
%%
%% Package: etoc
-%% Version: 1.08n-2018/02/23
+%% Version: 1.08o-2018/06/15
%% License: LPPL 1.3c
%% Copyright (C) 2012-2018 Jean-Francois Burnol
%% <jfbu at free dot fr>
@@ -422,16 +422,16 @@
\Etoc@global\def\etocthename {#4}% temporary definition
\Etoc@global\expandafter\def\expandafter\etocthelinkedname
\expandafter {\expandafter\hyperlink \Etoc@tmp{#4}}%
- \futurelet\Etoc@hyp@getnb@token\Etoc@hyp@getnb #4\relax\relax\etoc@
+ \futurelet\Etoc@hyp@getnb@token\Etoc@getnb@hyp@a #4\relax\relax\etoc@
}
-\def\Etoc@hyp@getnb {%
+\def\Etoc@getnb@hyp@a {%
\ifx\Etoc@hyp@getnb@token\bgroup
- \expandafter\Etoc@hyp@getnb@nonbr
+ \expandafter\Etoc@getnb@hyp@nonbr
\else
- \expandafter\Etoc@getnb@hyp@a
+ \expandafter\Etoc@getnb@hyp@b
\fi
}
-\def\Etoc@getnb@hyp@a #1{%
+\def\Etoc@getnb@hyp@b #1{%
\in@{#1}{\numberline\chapternumberline\partnumberline\booknumberline}%
\ifin@
\let\Etoc@next\Etoc@getnb@hyp@nmbrd
@@ -483,9 +483,9 @@
\Etoc@global\def\etocthename {#4}% temporary definition
\Etoc@global\expandafter\def\expandafter\etocthelinkedname
\expandafter{\expandafter\hyperlink \Etoc@tmp{#4}}%
- \Etoc@hyp@getit #4\hspace\relax\etoc@
+ \Etoc@getit@hyp@a #4\hspace\relax\etoc@
}
-\def\Etoc@hyp@getit #1\hspace#2#3\etoc@ {%
+\def\Etoc@getit@hyp@a #1\hspace#2#3\etoc@ {%
\ifx\relax#2% not extremely safe
\else
\Etoc@global\Etoc@numbertrue