summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/filehook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-05 23:29:01 +0000
committerKarl Berry <karl@freefriends.org>2011-09-05 23:29:01 +0000
commit9f0b84a2f5a8abb83327701668f335049ad287cb (patch)
tree5699debd04bb9ffa6d6fc6d9a2ee6188023c5466 /Master/texmf-dist/tex/latex/filehook
parentb75ddb92b4bc5135cdf583ff71bd1dc29ba48ba6 (diff)
filehook (5sep11)
git-svn-id: svn://tug.org/texlive/trunk@23832 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/filehook')
-rw-r--r--Master/texmf-dist/tex/latex/filehook/filehook-fink.sty2
-rw-r--r--Master/texmf-dist/tex/latex/filehook/filehook-listings.sty2
-rw-r--r--Master/texmf-dist/tex/latex/filehook/filehook-memoir.sty2
-rw-r--r--Master/texmf-dist/tex/latex/filehook/filehook-scrlfile.sty2
-rw-r--r--Master/texmf-dist/tex/latex/filehook/filehook.sty23
-rw-r--r--Master/texmf-dist/tex/latex/filehook/pgf-filehook.sty2
6 files changed, 19 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook-fink.sty b/Master/texmf-dist/tex/latex/filehook/filehook-fink.sty
index 68c8b79d1f2..9cd67a08f04 100644
--- a/Master/texmf-dist/tex/latex/filehook/filehook-fink.sty
+++ b/Master/texmf-dist/tex/latex/filehook/filehook-fink.sty
@@ -18,7 +18,7 @@
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
-%% $Id: filehook.dtx 2252 2011-03-09 19:21:15Z martin $
+%% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $
\ProvidesPackage{filehook-fink}[2011/01/03 v0.1 filehook compatibility code for fink package]
\RequirePackage{filehook}
\RequirePackage{currfile}%
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook-listings.sty b/Master/texmf-dist/tex/latex/filehook/filehook-listings.sty
index 2266e9d004c..b4f8ecd945b 100644
--- a/Master/texmf-dist/tex/latex/filehook/filehook-listings.sty
+++ b/Master/texmf-dist/tex/latex/filehook/filehook-listings.sty
@@ -18,7 +18,7 @@
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
-%% $Id: filehook.dtx 2252 2011-03-09 19:21:15Z martin $
+%% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $
\ProvidesPackage{filehook-listings}[2011/01/02 v0.1 Patch for listings to avoid hooks for verbatim input files]
\begingroup
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook-memoir.sty b/Master/texmf-dist/tex/latex/filehook/filehook-memoir.sty
index 5b579a2de7e..19d8a605ea5 100644
--- a/Master/texmf-dist/tex/latex/filehook/filehook-memoir.sty
+++ b/Master/texmf-dist/tex/latex/filehook/filehook-memoir.sty
@@ -18,7 +18,7 @@
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
-%% $Id: filehook.dtx 2252 2011-03-09 19:21:15Z martin $
+%% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $
\ProvidesPackage{filehook-memoir}[2011/01/03 v0.1 filehook patch for memoir class]
\RequirePackage{filehook}
\begingroup
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook-scrlfile.sty b/Master/texmf-dist/tex/latex/filehook/filehook-scrlfile.sty
index 7ba97cf8bd9..9ed93dcb436 100644
--- a/Master/texmf-dist/tex/latex/filehook/filehook-scrlfile.sty
+++ b/Master/texmf-dist/tex/latex/filehook/filehook-scrlfile.sty
@@ -18,7 +18,7 @@
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
-%% $Id: filehook.dtx 2252 2011-03-09 19:21:15Z martin $
+%% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $
\ProvidesPackage{filehook-scrlfile}[2011/01/03 v0.1 filehook patch for scrlfile package]
\RequirePackage{filehook}
\begingroup
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook.sty b/Master/texmf-dist/tex/latex/filehook/filehook.sty
index 54f7b28a700..acdce91068a 100644
--- a/Master/texmf-dist/tex/latex/filehook/filehook.sty
+++ b/Master/texmf-dist/tex/latex/filehook/filehook.sty
@@ -18,48 +18,53 @@
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
-%% $Id: filehook.dtx 2252 2011-03-09 19:21:15Z martin $
+%% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{filehook}
- [2011/03/09 v0.5a Hooks for input files]
+ [2011/07/18 v0.5b Hooks for input files]
\newif\iffilehook@force
\DeclareOption{force}{\filehook@forcetrue}
\ProcessOptions\relax
+\@ifpackageloaded{etoolbox}{%
+ \let\filehook@csuse\csuse
+}{%
+ \def\filehook@csuse#1{\ifcsname #1\endcsname\csname #1\expandafter\endcsname\fi}
+}
\def\filehook@include@atbegin#1{%
\let\InputIfFileExists\filehook@@InputIfFileExists
- \@nameuse{\filehook@include@atbegin@#1}%
+ \filehook@csuse{\filehook@include@atbegin@#1}%
\filehook@include@@atbegin
}
\def\filehook@include@@atbegin{}
\def\filehook@include@atend#1{%
\filehook@include@@atend
- \@nameuse{\filehook@include@atend@#1}%
+ \filehook@csuse{\filehook@include@atend@#1}%
}
\def\filehook@include@@atend{}
\def\filehook@include@after#1{%
\filehook@include@@after
- \@nameuse{\filehook@include@after@#1}%
+ \filehook@csuse{\filehook@include@after@#1}%
}
\def\filehook@include@@after{}
\def\filehook@input@atbegin#1{%
\let\InputIfFileExists\filehook@@InputIfFileExists
- \@nameuse{\filehook@input@atbegin@\filehook@ensureext{#1}}%
+ \filehook@csuse{\filehook@input@atbegin@\filehook@ensureext{#1}}%
\filehook@input@@atbegin
}
\def\filehook@input@@atbegin{}
\def\filehook@input@atend#1{%
\filehook@input@@atend
- \@nameuse{\filehook@input@atend@\filehook@ensureext{#1}}%
+ \filehook@csuse{\filehook@input@atend@\filehook@ensureext{#1}}%
}
\def\filehook@input@@atend{}
\def\filehook@atbegin#1{%
- \@nameuse{\filehook@atbegin@\filehook@ensureext{#1}}%
+ \filehook@csuse{\filehook@atbegin@\filehook@ensureext{#1}}%
\filehook@@atbegin
}
\def\filehook@@atbegin{}
\def\filehook@atend#1{%
\filehook@@atend
- \@nameuse{\filehook@atend@\filehook@ensureext{#1}}%
+ \filehook@csuse{\filehook@atend@\filehook@ensureext{#1}}%
}
\def\filehook@@atend{}
\def\filehook@every@atbegin#1{%
diff --git a/Master/texmf-dist/tex/latex/filehook/pgf-filehook.sty b/Master/texmf-dist/tex/latex/filehook/pgf-filehook.sty
index d9e1d63dd15..23346d1f954 100644
--- a/Master/texmf-dist/tex/latex/filehook/pgf-filehook.sty
+++ b/Master/texmf-dist/tex/latex/filehook/pgf-filehook.sty
@@ -18,7 +18,7 @@
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
-%% $Id: filehook.dtx 2252 2011-03-09 19:21:15Z martin $
+%% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $
\ProvidesPackage{pgf-filehook}[2010/01/07 v1.0 PGF keys for the filehook package]
\RequirePackage{filehook}
\RequirePackage{pgfkeys}