diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-11 00:37:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-11 00:37:03 +0000 |
commit | a18f121416672b65166583b9b12157ae1711ae07 (patch) | |
tree | 017a8b3423da03813479b1667bbe0ec0dc501910 /Master/texmf-dist/tex/latex/filehook/filehook.sty | |
parent | 9bdd9f27ea5243115a8b2f0aa891bfdf6dfdddf1 (diff) |
filehook 0.5 (10jan11)
git-svn-id: svn://tug.org/texlive/trunk@21011 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/filehook/filehook.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/filehook/filehook.sty | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook.sty b/Master/texmf-dist/tex/latex/filehook/filehook.sty index 9ed1ecb4648..c208fa39479 100644 --- a/Master/texmf-dist/tex/latex/filehook/filehook.sty +++ b/Master/texmf-dist/tex/latex/filehook/filehook.sty @@ -18,10 +18,10 @@ %% This work consists of the files filehook.dtx, filehook.ins %% and the derived file filehook.sty. %% -%% $Id: filehook.dtx 2005 2011-01-03 22:53:56Z martin $ +%% $Id: filehook.dtx 2033 2011-01-09 17:14:37Z martin $ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{filehook} - [2011/01/03 v0.4 Hooks for input files] + [2011/01/09 v0.5 Hooks for input files] \newif\iffilehook@force \DeclareOption{force}{\filehook@forcetrue} \ProcessOptions\relax @@ -194,6 +194,14 @@ \def\AtEndOfXFile@normal#1#2#3{% \AtEndOfFile{#2.#1}{\AtEndOfPackage{#3}}% } +\newcommand*\ClearHook{% + \begingroup + \def\filehook@prefix##1##2{% + \gdef##1{}% + \endgroup + }% + \let\filehook@append\filehook@prefix +} \let\filehook@orig@@input@\@input@ \let\filehook@orig@@iinput\@iinput \def\@input@#1{% |