diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/leaflet/leaflet.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/leaflet/leaflet.cls | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls index 77dd3dbf3cc..8609afcc6cd 100644 --- a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls +++ b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{leaflet} - [2012/06/04 v1.0d LaTeX document class (JS,WaS,RN,HjG)] + [2013/11/06 v1.0d LaTeX document class (JS,WaS,RN,HjG)] \let\LL@shipout\shipout \let\LL@outputpage\@outputpage \let\LL@begindvi\@begindvi \let\LL@@end\@@end \@ifundefined{iflandscape}{\newif\iflandscape}{}% @@ -236,26 +236,33 @@ \ifx\filename@base\reserved@a\@tempswatrue\fi% \def\reserved@a{dvipdfm}% \ifx\filename@base\reserved@a\@tempswatrue\fi% - \if@tempswa% + \if@tempswa \ClassInfo{leaflet}{Generating code for dvips}% \def\LL@pagesize@specials#1#2{% \@tempdima=#1\@tempdimb=#2% \AtBeginDvi{\special{papersize=\the\@tempdima,\the\@tempdimb}}}% - \fi% + \fi \def\reserved@a{pdftex}% \ifx\filename@base\reserved@a \ClassInfo{leaflet}{Generating code for pdfTeX}% \def\LL@pagesize@specials#1#2{% \@tempdima=#1\@tempdimb=#2% \pdfpagewidth\@tempdima\pdfpageheight\@tempdimb}% - \fi% + \fi + \def\reserved@a{xetex}% + \ifx\filename@base\reserved@a + \ClassInfo{leaflet}{Generating code for XeTeX}% + \def\LL@pagesize@specials#1#2{% + \@tempdima=#1\@tempdimb=#2% + \pdfpagewidth\@tempdima\pdfpageheight\@tempdimb}% + \fi \def\reserved@a{vtex}% \ifx\filename@base\reserved@a \ClassInfo{leaflet}{Generating code for VTeX}% \def\LL@pagesize@specials#1#2{% \@tempdima=#1\@tempdimb=#2% \mediawidth\@tempdima\mediaheight\@tempdimb}% - \fi% + \fi \fi } \newcommand*\LL@CmdIgnored[1]{% |