From 4a015bd256d6153d3355017e5c6a1d911ededfa0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 17 Mar 2017 21:33:42 +0000 Subject: leaflet (17may17) git-svn-id: svn://tug.org/texlive/trunk@43523 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/leaflet/leaflet.cls | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/leaflet') 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}% -- cgit v1.2.3