From c7cbb3204c55f770253d06d1b5bf0ac87d8d82e7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 27 Nov 2014 23:13:25 +0000 Subject: everyhook (27nov14) git-svn-id: svn://tug.org/texlive/trunk@35675 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/everyhook/everyhook.sty | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex') 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 -- cgit v1.2.3