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/source/latex/leaflet/leaflet.dtx | 30 ++++++++++++++++------ Master/texmf-dist/source/latex/leaflet/leaflet.ins | 4 +-- 2 files changed, 24 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 7caecba6d2e..da7360318c2 100644 --- a/Master/texmf-dist/source/latex/leaflet/leaflet.dtx +++ b/Master/texmf-dist/source/latex/leaflet/leaflet.dtx @@ -4,7 +4,7 @@ % (c) 1998 J\"urgen Schlegelmilch % (c) 2000 Walter Schmidt % (c) 2002/2004 Rolf Niepraschk and -% Hubert G\"a\ss{}lein +% Hubert G\"a\ss{}lein % (c) 2012,... Rolf Niepraschk % % This file may be distributed and/or modified under the @@ -27,8 +27,8 @@ %<*driver|manual> %\def\filename{leaflet.dtx} %\def\filename{leaflet-manual.tex} -\def\fileversion{v1.1a} % change this when leaflet-manual changed, too. -\def\filedate{2015/12/27} +\def\fileversion{v1.1b} % change this when leaflet-manual changed, too. +\def\filedate{2017/03/17} \def\docdate {2015/12/27} % change this when leaflet-manual changed, too. % %<*driver> @@ -52,7 +52,7 @@ % % \fi % -% \CheckSum{1275} +% \CheckSum{1303} % % \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 @@ -221,7 +221,7 @@ } % \end{macrocode} % \changes{v1.0d}{2004/12/22}{Invalid code for option ``nofoldmark'' -% changed. Thanks to Una Smith ||. (RN)} +% changed. Thanks to Una Smith. (RN)} % \begin{macrocode} \DeclareOption{nofoldmark}{\def\LL@foldmark{}}% % \end{macrocode} @@ -523,13 +523,14 @@ % \end{macrocode} % \begin{macro}{\LL@pagesize@specials} % Now the graphics driver is known. -% We will Check the graphics driver and set special code for page +% 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)} +% \changes{v1.1b}{2017/03/17}{Adding code for LuaTeX \textgreater 0.85. +% Thanks to Knut Lickert for his bug report. (RN)} % \begin{macrocode} \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}% @@ -549,6 +550,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}% diff --git a/Master/texmf-dist/source/latex/leaflet/leaflet.ins b/Master/texmf-dist/source/latex/leaflet/leaflet.ins index fd4c43a42b1..af980d0555d 100644 --- a/Master/texmf-dist/source/latex/leaflet/leaflet.ins +++ b/Master/texmf-dist/source/latex/leaflet/leaflet.ins @@ -3,9 +3,9 @@ \preamble -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 -- cgit v1.2.3