summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tableof/tableof.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tableof/tableof.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tableof/tableof.sty10
1 files changed, 6 insertions, 4 deletions
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 <jfbu at free dot fr>
+%% Copyright (C) 2012-2018 Jean-Francois Burnol <jfbu at free dot fr>
%%
\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