From e75464c8b494eadc590fc7472c99ce4ef040e88d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 18 Jun 2018 21:01:58 +0000 Subject: etoc (18jun18) git-svn-id: svn://tug.org/texlive/trunk@48047 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/etoc/etoc.sty | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/etoc/etoc.sty') 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 %% @@ -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 -- cgit v1.2.3