summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/leaflet
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-17 21:33:42 +0000
committerKarl Berry <karl@freefriends.org>2017-03-17 21:33:42 +0000
commit4a015bd256d6153d3355017e5c6a1d911ededfa0 (patch)
tree71483a1e2a2c0109930867a340c10d1e3d8c777b /Master/texmf-dist/tex/latex/leaflet
parentfff5a369da97241a63e46dd0e5a9b39796d45530 (diff)
leaflet (17may17)
git-svn-id: svn://tug.org/texlive/trunk@43523 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/leaflet')
-rw-r--r--Master/texmf-dist/tex/latex/leaflet/leaflet.cls20
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls
index cbdc3a4a7e4..b1561488ee4 100644
--- a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls
+++ b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls
@@ -6,9 +6,9 @@
%%
%% leaflet.dtx (with options: `class')
%%
-%% Copyright (C) 2003, 2004
+%% Copyright (C) 2003, 2004, ...
%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Hubert Gaesslein, hubertjg@gmx.de
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -232,8 +232,7 @@
\LoadClass{article}
\RequirePackage{everyshi,graphicx}
\newcommand*\LL@pagesize@specials[2]{}
-\@ifundefined{Gin@driver}{}%
-{%
+\@ifundefined{Gin@driver}{}{%
\ifx\Gin@driver\@empty\else%
\filename@parse{\Gin@driver}\@tempswafalse%
\def\reserved@a{dvips}%
@@ -253,6 +252,19 @@
\@tempdima=#1\@tempdimb=#2%
\pdfpagewidth\@tempdima\pdfpageheight\@tempdimb}%
\fi
+ \def\reserved@a{luatex}%
+ \ifx\filename@base\reserved@a
+ \ClassInfo{leaflet}{Generating code for LuaTeX}%
+ \ifx\pdfvariable\@undefined
+ \def\LL@pagesize@specials#1#2{%
+ \@tempdima=#1\@tempdimb=#2%
+ \pdfpagewidth\@tempdima\pdfpageheight\@tempdimb}%
+ \else
+ \def\LL@pagesize@specials#1#2{%
+ \@tempdima=#1\@tempdimb=#2%
+ \pagewidth\@tempdima\pageheight\@tempdimb}%
+ \fi
+ \fi
\def\reserved@a{xetex}%
\ifx\filename@base\reserved@a
\ClassInfo{leaflet}{Generating code for XeTeX}%