summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-21 23:40:00 +0000
committerKarl Berry <karl@freefriends.org>2012-05-21 23:40:00 +0000
commit7ae4cacb27858b7f5cd8098daafe51e52cf61a3a (patch)
tree875e1f7fe72bcc5921fac83d475a81fbabc53790 /Master/texmf-dist/tex/latex
parent8ddf4012aa829655a657b87c422449e81bf93d93 (diff)
zwpagelayout 1.4a (21may12)
git-svn-id: svn://tug.org/texlive/trunk@26549 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty b/Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty
index 461383265d3..67a9f34d11f 100644
--- a/Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty
+++ b/Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty
@@ -1,5 +1,5 @@
-\ProvidesPackage{zwpagelayout}[2012/05/13 ZW Page Layout]
-\PackageInfo{zwpagelayout}{$Id: zwpagelayout.sty 432 2012-05-13 15:31:25Z zw $\@gobble}
+\ProvidesPackage{zwpagelayout}[2012/05/20 ZW Page Layout]
+\PackageInfo{zwpagelayout}{$Id: zwpagelayout.sty 435 2012-05-20 18:02:14Z zw $\@gobble}
%% Copyright 2008--2012 Z. Wagner, http://icebearsoft.euweb.cz
%
@@ -747,7 +747,10 @@
\fi
\def\zwpl@testps#1{\xdef\zw@pstyle{ZW\ZWpercent#1\ZWpercent}%
- \@ifundefined{ps@\zw@pstyle}{\zwpl@patchps{#1}{\zw@pstyle}}{}\zwpl@next{\zw@pstyle}}
+ \@ifundefined{ps@#1}{\xdef\zw@reqstyle{empty}%
+ \PackageError{zwpagelayout}{Page style `#1' undefined, `empty' will be used.}}%
+ {\xdef\zw@reqstyle{#1}}%
+ \@ifundefined{ps@\zw@pstyle}{\zwpl@patchps{\zw@reqstyle}{\zw@pstyle}}{}\zwpl@next{\zw@pstyle}}
\def\zwpl@patchps#1#2{\expandafter\gdef\csname ps@#2\endcsname{\csname ps@#1\endcsname \zwpl@patchfoot}}