From 2e3346e135aa294be11255beb305fc0254222ce7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 7 Nov 2013 22:32:28 +0000 Subject: leaflet (7nov13) git-svn-id: svn://tug.org/texlive/trunk@32093 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/leaflet/leaflet.dtx | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/source/latex/leaflet') diff --git a/Master/texmf-dist/source/latex/leaflet/leaflet.dtx b/Master/texmf-dist/source/latex/leaflet/leaflet.dtx index af3abebebcd..a61811c66c6 100644 --- a/Master/texmf-dist/source/latex/leaflet/leaflet.dtx +++ b/Master/texmf-dist/source/latex/leaflet/leaflet.dtx @@ -5,7 +5,7 @@ % (c) 2000 Walter Schmidt % (c) 2002/2004 Rolf Niepraschk and % Hubert G\"a\ss{}lein -% (c) 2012 Rolf Niepraschk +% (c) 2012,... Rolf Niepraschk % % This file may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -22,14 +22,14 @@ % \iffalse %\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)] % %<*driver|manual> %\def\filename{leaflet.dtx} %\def\filename{leaflet-manual.tex} -\def\fileversion{v1.0d} % change this when leaflet-manual changed, too. -\def\filedate{2012/06/04} -\def\docdate {2012/06/04} % change this when leaflet-manual changed, too. +\def\fileversion{v1.0e} % change this when leaflet-manual changed, too. +\def\filedate{2013/11/06} +\def\docdate {2013/11/06} % change this when leaflet-manual changed, too. % %<*driver> \listfiles @@ -52,7 +52,7 @@ % % \fi % -% \CheckSum{1205} +% \CheckSum{1220} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -515,6 +515,7 @@ % Now the graphics driver is known. % We will Check the graphics driver and set special code for page % dimensions and other. +% \changes{v1.0e}{2013/11/06}{Patch from Toby Thurston for XeLaTeX. (RN)} % \begin{macrocode} \newcommand*\LL@pagesize@specials[2]{} \@ifundefined{Gin@driver}{}% @@ -525,26 +526,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 } % \end{macrocode} -- cgit v1.2.3