summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/everyhook/everyhook.sty9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/everyhook/everyhook.sty b/Master/texmf-dist/tex/latex/everyhook/everyhook.sty
index 64e8d20785b..d35debea7bb 100644
--- a/Master/texmf-dist/tex/latex/everyhook/everyhook.sty
+++ b/Master/texmf-dist/tex/latex/everyhook/everyhook.sty
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% everyhook.dtx
-%% Copyright (C) 2010, 2011 by Stephen Checkoway
+%% Copyright (C) 2010, 2011, 2014 by Stephen Checkoway
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -26,8 +26,8 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\RequirePackage{svn-prov}
\ProvidesPackageSVN
-{$Id: everyhook.dtx 10 2011-02-04 06:43:36Z steve $}
-[v1.1 \revinfo\ Hooks for low level TeX everyX primitives.]
+{$Id: everyhook.dtx 12 2014-11-26 15:34:56Z steve $}
+[v1.2 \revinfo\ Hooks for low level TeX everyX primitives.]
\DeclareOption{excludeor}{%
\AtBeginDocument{%
\output\expandafter{%
@@ -42,11 +42,12 @@
\def\eh@definehook#1#2{%
\cslet{eh@every#1}#2%
\newtoks#2%
+\cslet{eh@private#1}#2%
#2\csuse{eh@every#1}%
\csdef{eh@pre#1}{}%
\csdef{eh@post#1}{}%
\csuse{eh@every#1}\expandafter{\csname eh@pre#1\expandafter\endcsname
-\expandafter\the\expandafter\expandafter\expandafter#2%
+\expandafter\the\csname eh@private#1\expandafter\endcsname
\csname eh@post#1\endcsname}%
}
\eh@definehook{par}\everypar