diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-02 21:50:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-02 21:50:45 +0000 |
commit | aa1776c78dfdb456e2228fbceaa886e64e36174c (patch) | |
tree | 7967af7f0f2079a632809a813221918af16ba8cc /Master/texmf-dist/tex/latex/oberdiek/hopatch.sty | |
parent | a86d14742b305868a1c2b1f33f1263a6b7d0e03d (diff) |
oberdiek (1may12)
git-svn-id: svn://tug.org/texlive/trunk@26177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/hopatch.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/hopatch.sty | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty b/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty index 3a39695a467..a5180680764 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: hopatch -%% Version: 2011/01/30 v1.0 +%% Version: 2011/06/24 v1.1 %% %% Copyright (C) 2011 by %% Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -75,7 +75,7 @@ \edef\HOpatch@AtEnd{\HOpatch@AtEnd\noexpand\endinput} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hopatch}% - [2011/01/30 v1.0 Wrapper for package hooks (HO)] + [2011/06/24 v1.1 Wrapper for package hooks (HO)] \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname RequirePackage\endcsname\relax \def\TMP@RequirePackage#1[#2]{% @@ -147,23 +147,27 @@ } \AtBeginDocument{\HOpatch@list} \ltx@ifundefined{AtEndPreamble}{}{% - \AtEndPreamble{\HOpatch@list}% + \ltx@ifundefined{@endpreamblehook}{}{% + \AtEndPreamble{\HOpatch@list}% + }% } \ltx@ifundefined{AfterEndPreamble}{}{% - \AfterEndPreamble{% - \let\HOpatch@OrgIfPackageLoaded\@ifpackageloaded - \let\HOpatch@OrgIfPackageLater\@ifpackagelater - \let\HOpatch@OrgIfClassLoaded\@ifclassloaded - \let\HOpatch@OrgIfClassLater\@ifclasslater - \let\@ifpackageloaded\ltx@ifpackageloaded - \let\@ifpackagelater\ltx@ifpackagelater - \let\@ifclassloaded\ltx@ifclassloaded - \let\@ifclasslater\ltx@ifclasslater - \HOpatch@list - \let\@ifpackageloaded\HOpatch@OrgIfPackageLoaded - \let\@ifpackagelater\HOpatch@OrgIfPackageLater - \let\@ifclassloaded\HOpatch@OrgIfClassLoaded - \let\@ifclasslater\HOpatch@OrgIfClassLater + \ltx@ifundefined{@afterendpreamblehook}{}{% + \AfterEndPreamble{% + \let\HOpatch@OrgIfPackageLoaded\@ifpackageloaded + \let\HOpatch@OrgIfPackageLater\@ifpackagelater + \let\HOpatch@OrgIfClassLoaded\@ifclassloaded + \let\HOpatch@OrgIfClassLater\@ifclasslater + \let\@ifpackageloaded\ltx@ifpackageloaded + \let\@ifpackagelater\ltx@ifpackagelater + \let\@ifclassloaded\ltx@ifclassloaded + \let\@ifclasslater\ltx@ifclasslater + \HOpatch@list + \let\@ifpackageloaded\HOpatch@OrgIfPackageLoaded + \let\@ifpackagelater\HOpatch@OrgIfPackageLater + \let\@ifclassloaded\HOpatch@OrgIfClassLoaded + \let\@ifclasslater\HOpatch@OrgIfClassLater + }% }% } \HOpatch@AtEnd% |