From 87b42249ac677966bfd54cc27cbbb090523bd97a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 2 Oct 2018 21:38:29 +0000 Subject: tableof (2oct18) git-svn-id: svn://tug.org/texlive/trunk@48815 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tableof/tableof.sty | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/tableof') diff --git a/Master/texmf-dist/tex/latex/tableof/tableof.sty b/Master/texmf-dist/tex/latex/tableof/tableof.sty index 3d73b4f89cb..4986bd9f94c 100644 --- a/Master/texmf-dist/tex/latex/tableof/tableof.sty +++ b/Master/texmf-dist/tex/latex/tableof/tableof.sty @@ -22,14 +22,15 @@ %% in the same archive or directory.) %% \ProvidesPackage{tableof} - [2015/03/10 v1.4a Tables of tagged contents (jfB)] + [2018/10/02 v1.4b Tables of tagged contents (JFB)] %% %% Package: tableof -%% Version: 1.4a (2015/03/10) +%% Version: 1.4b (2018/10/02) %% License: LPPL 1.3c -%% Copyright (C) 2012-2015 Jean-Francois Burnol +%% Copyright (C) 2012-2018 Jean-Francois Burnol %% \NeedsTeXFormat{LaTeX2e} +\RequirePackage{atveryend} \DeclareOption*{\PackageWarning{tableof}{Option `\CurrentOption' is unknown.}} \ProcessOptions\relax \newtoks\tof@toctoks @@ -62,7 +63,8 @@ {\def\tof@gobblethree@orfour#1#2#3#4{}% \ifx\hyper@last\@undefined\tof@toctoks{}\fi} {\def\tof@gobblethree@orfour#1#2#3{}}} -\AtEndDocument{\addtocontents{toc}{\string\tof@finish}} +\AfterLastShipout + {\immediate\write\@auxout{\string\@writefile{toc}{\string\tof@finish}}} \let\tof@global \@empty \let\tof@begingroup \begingroup \let\tof@endgroup \endgroup -- cgit v1.2.3