summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/everyhook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-11-27 23:13:25 +0000
committerKarl Berry <karl@freefriends.org>2014-11-27 23:13:25 +0000
commitc7cbb3204c55f770253d06d1b5bf0ac87d8d82e7 (patch)
treede3df344b5ec86321915da54b47d4aab9170226d /Master/texmf-dist/tex/latex/everyhook
parent1a1408f472bf9441bdfb843abe54322dcf13ec31 (diff)
everyhook (27nov14)
git-svn-id: svn://tug.org/texlive/trunk@35675 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/everyhook')
-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