diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-07 22:32:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-07 22:32:28 +0000 |
commit | 2e3346e135aa294be11255beb305fc0254222ce7 (patch) | |
tree | adfe80f3a815f4a170b7f8cff8d33b51abdd834a /Master/texmf-dist/source/latex/leaflet | |
parent | 3ea2ae6056ef56dd5c344c9069abe6b632d4e7c0 (diff) |
leaflet (7nov13)
git-svn-id: svn://tug.org/texlive/trunk@32093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/leaflet')
-rw-r--r-- | Master/texmf-dist/source/latex/leaflet/leaflet.dtx | 28 |
1 files changed, 18 insertions, 10 deletions
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 <w.a.schmidt@gmx.net> % (c) 2002/2004 Rolf Niepraschk <Rolf.Niepraschk@ptb.de> and % Hubert G\"a\ss{}lein <HubertJG@open.mind.de> -% (c) 2012 Rolf Niepraschk <Rolf.Niepraschk@gmx.de> +% (c) 2012,... Rolf Niepraschk <Rolf.Niepraschk@gmx.de> % % 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 %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<class>\ProvidesClass{leaflet} -%<class> [2012/06/04 v1.0d LaTeX document class (JS,WaS,RN,HjG)] +%<class> [2013/11/06 v1.0d LaTeX document class (JS,WaS,RN,HjG)] % %<*driver|manual> %<driver>\def\filename{leaflet.dtx} %<manual>\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|manual> %<*driver> \listfiles @@ -52,7 +52,7 @@ %</driver> % \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} |