summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/auxhook.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-17 00:54:54 +0000
committerKarl Berry <karl@freefriends.org>2009-12-17 00:54:54 +0000
commit1775dad8e1847bd3140ce2f241e5cffdf6d1cfaf (patch)
tree5fe8226a1c984638fd54362b97eee79bfe5811dd /Master/texmf-dist/tex/latex/oberdiek/auxhook.sty
parent83316e68b48213a76b799581c3fdfa3b49602578 (diff)
oberdiek update (16dec09)
git-svn-id: svn://tug.org/texlive/trunk@16431 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/auxhook.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/auxhook.sty23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/auxhook.sty b/Master/texmf-dist/tex/latex/oberdiek/auxhook.sty
index 96f8ebe2e59..c989b4f9097 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/auxhook.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/auxhook.sty
@@ -8,7 +8,8 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2006, 2007, 2009 by
+%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -28,7 +29,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{auxhook}%
- [2007/04/06 v1.1 Hooks for auxiliary files (HO)]%
+ [2009/12/14 v1.2 Hooks for auxiliary files (HO)]%
\providecommand*{\@beginmainauxhook}{}
\providecommand*{\@beginpartauxhook}{}
\newcommand{\AddLineBeginMainAux}[1]{%
@@ -83,28 +84,34 @@
\expandafter\expandafter\expandafter\x\auxhook@document
\immediate\write\@mainaux{}\auxhook@nil
\begingroup
- \long\def\y#1\immediate\write\@partaux#2#3\auxhook@nil{%
+ \long\def\y#1\immediate\write\@partaux#2#3\auxhook@nil#4{%
\endgroup
- \def\@include##1 {%
+ \def#4##1 {%
#1\immediate\write\@partaux{#2}%
\@beginpartauxhook
#3%
}%
}%
- \long\def\x#1\immediate\write\@partaux#2#3\auxhook@nil{%
+ \long\def\x#1\immediate\write\@partaux#2#3\auxhook@nil#4{%
\toks@{#3}%
\edef\x{\the\toks@}%
\ifx\x\@empty
\PackageWarningNoLine{auxhook}{%
- Cannot patch \string\@include,\MessageBreak
+ Cannot patch \string#4,\MessageBreak
patch dropped%
}%
\endgroup
\else
- \expandafter\y\@include{##1} \auxhook@nil
+ \expandafter\y#4{##1} \auxhook@nil#4%
\fi
}%
-\expandafter\x\@include{#1} \immediate\write\@partaux{}\auxhook@nil
+\@ifundefined{ReFiCh@org@include}{%
+ \expandafter\x\@include{#1} %
+ \immediate\write\@partaux{}\auxhook@nil\@include
+}{%
+ \expandafter\x\ReFiCh@org@include{#1} %
+ \immediate\write\@partaux{}\auxhook@nil\ReFiCh@org@include
+}%
\endinput
%%
%% End of file `auxhook.sty'.