diff options
author | Karl Berry <karl@freefriends.org> | 2018-06-18 21:01:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-06-18 21:01:58 +0000 |
commit | e75464c8b494eadc590fc7472c99ce4ef040e88d (patch) | |
tree | 9ed816f794887eea943719cba36ee6bfa3b69d77 /Master/texmf-dist/tex/latex | |
parent | 1011cbf2d4d612c1af27e0b40507dac7cb40308c (diff) |
etoc (18jun18)
git-svn-id: svn://tug.org/texlive/trunk@48047 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/etoc/etoc.sty | 18 |
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 |