diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-05 00:15:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-05 00:15:26 +0000 |
commit | c3ed9e84dc5c1916d9e69d90d6665211aaf120c8 (patch) | |
tree | 346a729ad4021265358f78f1cf05cfb4771e45f7 /Master/texmf-dist/tex/latex/zwpagelayout | |
parent | 36652261b786d6a6134577abf73551c9b8053d48 (diff) |
zwpagelayout (4sep11)
git-svn-id: svn://tug.org/texlive/trunk@23812 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/zwpagelayout')
-rw-r--r-- | Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty b/Master/texmf-dist/tex/latex/zwpagelayout/zwpagelayout.sty index fe33debd52e..9829e307e84 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}[2010/12/21 ZW Page Layout] -\PackageInfo{zwpagelayout}{$Id: zwpagelayout.sty 377 2010-12-21 14:29:56Z zw $\@gobble} +\ProvidesPackage{zwpagelayout}[2011/09/04 ZW Page Layout] +\PackageInfo{zwpagelayout}{$Id: zwpagelayout.sty 382 2011-09-04 11:06:05Z zw $\@gobble} %% Copyright 2008--2010 Z. Wagner, http://icebearsoft.euweb.cz % @@ -55,7 +55,6 @@ \DeclareStringOption[210mm,297mm]{papersize}[] % empty means to calculate % Normalized paper sizes -\errorcontextlines 999 \DeclareVoidOption{a0}{\setkeys{zwpl}{AllowWidthHeightSwitching,papersize={841mm,1189mm}}} \DeclareVoidOption{a1}{\setkeys{zwpl}{AllowWidthHeightSwitching,papersize={594mm,841mm}}} @@ -201,7 +200,7 @@ \DeclareRobustCommand\ZWifdriver[2]{\expandafter\ifx\csname zwpl@use#1\endcsname\relax \PackageWarningNoLine{zwpagelayout}{Driver #1 not recognized, code ignored}% \else - \ifnum\csname zwpl@use#1\endcsname=\zwpl@Driver\relax #2\fi} + \ifnum\csname zwpl@use#1\endcsname=\zwpl@Driver\relax #2\fi\fi} \PackageInfo{zwpagelayout}{Driver mode used: \ifcaseZWdriver unknown\or pdftex\or xetex\else dvips\fi.\MessageBreak} @@ -671,9 +670,9 @@ } \or % xetex \iffalse % disabled because it does not work - \special{pdf: object @opoff << /Type /ExtGState /op false /OP false /OPM 0 >>} - \special{pdf: object @opon << /Type /ExtGState /op true /OP true /OPM 1 >>} - \special{pdf: object @extgs << /GSko @opoff 0 R /GSop @opon 0 R >>} + \special{pdf: obj @opoff << /Type /ExtGState /op false /OP false /OPM 0 >>} + \special{pdf: obj @opon << /Type /ExtGState /op true /OP true /OPM 1 >>} + \special{pdf: obj @extgs << /GSko @opoff 0 R /GSop @opon 0 R >>} \special{pdf: put @resources << /ExtGState @extgs 0 R >>} % macros for setting and resetting the overprint state \def\zwpl@setop{\zwpl@resetop |