summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/leaflet
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-07 22:32:28 +0000
committerKarl Berry <karl@freefriends.org>2013-11-07 22:32:28 +0000
commit2e3346e135aa294be11255beb305fc0254222ce7 (patch)
treeadfe80f3a815f4a170b7f8cff8d33b51abdd834a /Master/texmf-dist/tex/latex/leaflet
parent3ea2ae6056ef56dd5c344c9069abe6b632d4e7c0 (diff)
leaflet (7nov13)
git-svn-id: svn://tug.org/texlive/trunk@32093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/leaflet')
-rw-r--r--Master/texmf-dist/tex/latex/leaflet/leaflet.cls17
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]{%