From ad1e4d8e6581af6cb4c9a35f02f09ffda2d97df7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 17 Apr 2011 22:42:13 +0000 Subject: oberdiek (17apr11) git-svn-id: svn://tug.org/texlive/trunk@22111 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/oberdiek/atveryend.sty | 98 +++++++++++++++++++++- .../texmf-dist/tex/latex/oberdiek/dtx-attach.sty | 2 +- .../tex/latex/oberdiek/epstopdf-base.sty | 2 +- Master/texmf-dist/tex/latex/oberdiek/epstopdf.sty | 2 +- Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty | 2 +- .../tex/latex/oberdiek/rerunfilecheck.sty | 8 +- 6 files changed, 103 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/latex/oberdiek') diff --git a/Master/texmf-dist/tex/latex/oberdiek/atveryend.sty b/Master/texmf-dist/tex/latex/oberdiek/atveryend.sty index 8c43c51c5df..00364bb2fdc 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/atveryend.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/atveryend.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2009, 2010 by +%% Copyright (C) 2009-2011 by %% Heiko Oberdiek %% %% This work may be distributed and/or modified under the @@ -77,10 +77,12 @@ \edef\AtVeryEnd@AtEnd{\AtVeryEnd@AtEnd\noexpand\endinput} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{atveryend}% - [2010/03/24 v1.5 Hooks at very end of document (HO)] + [2011/04/15 v1.6 Hooks at very end of document (HO)] \let\AtVeryEnd@BeforeClearDocumentHook\@empty \let\AtVeryEnd@AfterLastShipoutHook\@empty \let\AtVeryEnd@AtVeryEndDocumentHook\@empty +\let\AtVeryEnd@AtEndAfterFileListHook\@empty +\let\AtVeryEnd@AtVeryVeryEndHook\@empty \newcommand*{\BeforeClearDocument}{% \g@addto@macro\AtVeryEnd@BeforeClearDocumentHook } @@ -90,6 +92,12 @@ \newcommand*{\AtVeryEndDocument}{% \g@addto@macro\AtVeryEnd@AtVeryEndDocumentHook } +\newcommand*{\AtEndAfterFileList}{% + \g@addto@macro\AtVeryEnd@AtEndAfterFileListHook +} +\newcommand*{\AtVeryVeryEnd}{% + \g@addto@macro\AtVeryEnd@AtVeryVeryEndHook +} \newcommand*{\Call@BeforeClearDocument}{% \let\BeforeClearDocument\@firstofone \ifx\AtVeryEnd@BeforeClearDocumentHook\@empty @@ -123,6 +131,30 @@ \global\let\AtVeryEnd@AtVeryEndDocumentHook\@undefined \global\let\Call@AtVeryEndDocument\relax } +\newcommand*{\Call@AtEndAfterFileList}{% + \Call@AtVeryEndDocument + \let\AtEndAfterFileList\@firstofone + \ifx\AtVeryEnd@AtEndAfterFileListHook\@empty + \PackageInfo{atveryend}{Empty hook `AtEndAfterFileList'}% + \else + \PackageInfo{atveryend}{Executing hook `AtEndAfterFileList'}% + \AtVeryEnd@AtEndAfterFileListHook + \fi + \global\let\AtVeryEnd@AtEndAfterFileListHook\@undefined + \global\let\Call@AtEndAfterFileList\relax +} +\newcommand*{\Call@AtVeryVeryEnd}{% + \Call@AtEndAfterFileList + \let\AtVeryVeryEnd\@firstofone + \ifx\AtVeryEnd@AtVeryVeryEndHook\@empty + \PackageInfo{atveryend}{Empty hook `AtVeryVeryEnd'}% + \else + \PackageInfo{atveryend}{Executing hook `AtVeryVeryEnd'}% + \AtVeryEnd@AtVeryVeryEndHook + \fi + \global\let\AtVeryEnd@AtVeryVeryEndHook\@undefined + \global\let\Call@AtVeryVeryEnd\relax +} \def\AtVeryEnd@test@standard{% \let\AtEndDocument\@firstofone \@enddocumenthook @@ -176,6 +208,7 @@ \fi \Call@AtVeryEndDocument \@dofilelist + \Call@AtEndAfterFileList \ifdim \font@submax >\fontsubfuzz\relax \@font@warning{Size substitutions with differences\MessageBreak up to \font@submax\space have occurred.\@gobbletwo}% @@ -194,6 +227,7 @@ \fi \endgroup \deadcycles\z@ + \Call@AtVeryVeryEnd \@@end } \expandafter\def\expandafter\AtVeryEnd@test@booklet\expandafter{% @@ -237,8 +271,11 @@ \immediate\closeout\@mainaux \fi \Call@AtVeryEndDocument + \csname @dofilelist\endcsname + \Call@AtEndAfterFileList \endgroup \deadcycles\z@ + \Call@AtVeryVeryEnd \@@end } \def\AtVeryEnd@test@combine{% @@ -280,8 +317,56 @@ \@refundefined \endgroup \deadcycles\z@ + \Call@AtVeryVeryEnd \@@end } +\long\def\AtVeryEnd@test@c@lenddoca{% + \@dofilelist + \ifdim\font@submax>\fontsubfuzz\relax + \@font@warning{% + Size substitutions with differences\MessageBreak + up to \font@submax\space have occured.\@gobbletwo + }% + \fi + \@defaultsubs + \if@filesw + \ifx\@multiplelabels\relax + \if@tempswa + \@latex@warning@no@line{% + Label(s) may have changed. % + Rerun to get cross-references right% + }% + \fi + \else + \@multiplelabels + \fi + \fi +} +\ifx\AtVeryEnd@c@lenddoca\c@lenddoca + \def\c@lenddoca{% + \@dofilelist + \Call@AtEndAfterFileList + \ifdim\font@submax>\fontsubfuzz\relax + \@font@warning{% + Size substitutions with differences\MessageBreak + up to \font@submax\space have occured.\@gobbletwo + }% + \fi + \@defaultsubs + \if@filesw + \ifx\@multiplelabels\relax + \if@tempswa + \@latex@warning@no@line{% + Label(s) may have changed. % + Rerun to get cross-references right% + }% + \fi + \else + \@multiplelabels + \fi + \fi + }% +\fi \def\AtVeryEnd@test@jpsj{% \if@lastpagebalancing \global\let\@outputdblcol=\balancing@outputdblcol @@ -333,8 +418,11 @@ \fi \fi \Call@AtVeryEndDocument + \csname @dofilelist\endcsname + \Call@AtEndAfterFileList \endgroup \deadcycles\z@ + \Call@AtVeryVeryEnd \@@end } \def\AtVeryEnd@Test#1#2{% @@ -415,13 +503,17 @@ } \AtEndDocument{% \@ifundefined{@dofilelist}{% - \gdef\@dofilelist{\Call@AtVeryEndDocument}% + \gdef\@dofilelist{% + \Call@AtVeryEndDocument + \Call@AtEndAfterFileList + }% }{% \begingroup \toks@\expandafter{\@dofilelist}% \xdef\@dofilelist{% \noexpand\Call@AtVeryEndDocument \the\toks@ + \noexpand\Call@AtEndAfterFileList }% \endgroup }% diff --git a/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty b/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty index 80483b30caf..591d90f26fd 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2006-2010 by +%% Copyright (C) 2006-2011 by %% Heiko Oberdiek %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty b/Master/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty index 8d8e8dac917..11a9c89ce5d 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Copyright (C) 2001, 2006-2010 by -%% Heiko Oberdiek +%% Heiko Oberdiek %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either diff --git a/Master/texmf-dist/tex/latex/oberdiek/epstopdf.sty b/Master/texmf-dist/tex/latex/oberdiek/epstopdf.sty index dd6ab9a6412..30ce2ac2d7d 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/epstopdf.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/epstopdf.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Copyright (C) 2001, 2006-2010 by -%% Heiko Oberdiek +%% Heiko Oberdiek %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty b/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty index 49bf1e15042..d36d43373f9 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Copyright (C) 2001, 2004, 2006-2008 by %% Heiko Oberdiek %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty b/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty index dd385a0ada7..3177eb74d81 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2009, 2010 by +%% Copyright (C) 2009-2011 by %% Heiko Oberdiek %% %% This work may be distributed and/or modified under the @@ -80,7 +80,7 @@ \edef\ReFiCh@AtEnd{\ReFiCh@AtEnd\noexpand\endinput} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{rerunfilecheck}% - [2010/03/16 v1.6 Rerun checks for auxiliary files (HO)] + [2011/04/15 v1.7 Rerun checks for auxiliary files (HO)] \RequirePackage{kvoptions}[2010/02/22] \SetupKeyvalOptions{% family=rerunfilecheck,% @@ -260,7 +260,7 @@ \ReFiCh@DisableOption{index} \ReFiCh@DisableOption{glossary} \ReFiCh@DisableOption{aux} -\RequirePackage{atveryend}[2009/12/07] +\RequirePackage{atveryend}[2011/04/15] \RequirePackage{uniquecounter}[2009/12/18] \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname pdf@filesize\endcsname\relax @@ -291,7 +291,7 @@ } \def\ReFiCh@@RerunFileCheck#1#2#3#4{% \ReFiCh@Check\global#1{#2}% - \AtVeryEndDocument{% + \AtEndAfterFileList{% \begingroup #3% \ReFiCh@Check{}\x{#2}% -- cgit v1.2.3