diff options
author | Karl Berry <karl@freefriends.org> | 2007-04-22 17:14:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-04-22 17:14:12 +0000 |
commit | 3a0595042f7a56658ecc4a51fe68f2ab4312bc49 (patch) | |
tree | 4a9226c3e5b6e27b47ca17b9afc98b5d1d1d7601 /Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty | |
parent | 64e0b27d1ebe077904838f130fc85b3b1981df2b (diff) |
atbegshi 1.2 (oberdiek 20apr07)
git-svn-id: svn://tug.org/texlive/trunk@4170 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty b/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty index a80260d5c1d..9e4a56f9f6f 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/pdflscape.sty @@ -29,7 +29,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pdflscape}% - [2007/04/11 v0.7 Landscape pages in PDF (HO)] + [2007/04/17 v0.8 Landscape pages in PDF (HO)] \let\PLS@driver\@empty \DeclareOption{pdftex}{% \PassOptionsToPackage\CurrentOption{lscape}% @@ -156,42 +156,42 @@ \fi \def\PLS@temp{dvips} \ifx\PLS@temp\PLS@driver - \RequirePackage{everyshi}% - \EveryShipout{\PLS@EveryShi}% - \let\PLS@EveryShi\@empty + \RequirePackage{atbegshi}% + \AtBeginShipout{\PLS@AtBeginShipout}% + \let\PLS@AtBeginShipout\@empty \def\PLS@AddRotate#1{% \ifnum#1=0 % \else - \def\PLS@EveryShi{% - \global\setbox\@cclv\vbox{% + \def\PLS@AtBeginShipout{% + \global\setbox\AtBeginShipoutBox\vbox{% \Gin@PS@raw{% [{ThisPage}\string<\string</Rotate #1\string>\string>% /PUT pdfmark% }% - \box\@cclv + \box\AtBeginShipoutBox }% }% \fi }% - \def\PLS@RemoveRotate{\let\PLS@EveryShi\@empty}% + \def\PLS@RemoveRotate{\let\PLS@AtBeginShipout\@empty}% \fi \def\PLS@temp{dvipdfm} \ifx\PLS@temp\PLS@driver - \RequirePackage{everyshi}% - \EveryShipout{\PLS@EveryShi}% - \let\PLS@EveryShi\@empty + \RequirePackage{atbegshi}% + \AtBeginShipout{\PLS@AtBeginShipout}% + \let\PLS@AtBeginShipout\@empty \def\PLS@AddRotate#1{% \ifnum#1=0 % \else - \def\PLS@EveryShi{% - \global\setbox\@cclv\vbox{% + \def\PLS@AtBeginShipout{% + \global\setbox\AtBeginShipoutBox\vbox{% \special{pdf: put @thispage <</Rotate #1>>}% - \box\@cclv + \box\AtBeginShipoutBox }% }% \fi }% - \def\PLS@RemoveRotate{\let\PLS@EveryShi\@empty}% + \def\PLS@RemoveRotate{\let\PLS@AtBeginShipout\@empty}% \fi \g@addto@macro{\landscape}{\PLS@Rotate{90}} \g@addto@macro{\endlandscape}{\PLS@Rotate{0}} |