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/doc/latex/leaflet/README | 16 ----------- Master/texmf-dist/doc/latex/leaflet/README.md | 23 ++++++++++++++++ .../doc/latex/leaflet/leaflet-manual.pdf | Bin 94087 -> 93938 bytes .../doc/latex/leaflet/leaflet-manual.tex | 8 +++--- Master/texmf-dist/doc/latex/leaflet/leaflet.pdf | Bin 239407 -> 240797 bytes Master/texmf-dist/source/latex/leaflet/leaflet.dtx | 30 +++++++++++++++------ Master/texmf-dist/source/latex/leaflet/leaflet.ins | 4 +-- Master/texmf-dist/tex/latex/leaflet/leaflet.cls | 20 +++++++++++--- 8 files changed, 67 insertions(+), 34 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/leaflet/README create mode 100644 Master/texmf-dist/doc/latex/leaflet/README.md (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/leaflet/README b/Master/texmf-dist/doc/latex/leaflet/README deleted file mode 100644 index 9b2f1802cf3..00000000000 --- a/Master/texmf-dist/doc/latex/leaflet/README +++ /dev/null @@ -1,16 +0,0 @@ -The leaflet document class -========================== - -A LaTeX document class to create small hand-outs (flyers) that fit on a -single sheet of paper which is then folded twice. Pages are rearranged by -LaTeX so that they print correctly on a single sheet -- no external script -is necessary. (Works with PostScript and PDF.) - -Recommended TDS locations: - - leaflet.cls: tex/latex/leaflet - leaflet.pdf,leaflet-manual.pdf: doc/latex/leaflet - -For general installation advice, see -http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages - diff --git a/Master/texmf-dist/doc/latex/leaflet/README.md b/Master/texmf-dist/doc/latex/leaflet/README.md new file mode 100644 index 00000000000..bc86a827578 --- /dev/null +++ b/Master/texmf-dist/doc/latex/leaflet/README.md @@ -0,0 +1,23 @@ +The leaflet document class +========================== + +A LaTeX document class to create small hand-outs (flyers) that fit on a +single sheet of paper which is then folded twice. Pages are rearranged by +LaTeX so that they print correctly on a single sheet -- no external script +is necessary. (Works with PostScript and PDF.) + +Recommended TDS locations: +``` + leaflet.cls: tex/latex/leaflet + leaflet.pdf,leaflet-manual.pdf: doc/latex/leaflet +``` +For general installation advice, see +http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages + +For bug reports use [this address](https://github.com/rolfn/leaflet/issues). + +The leaflet document class is also on CTAN:[macros/latex/contrib/leaflet](http://mirrors.ctan.org/macros/latex/contrib/leaflet) + + + + diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf index 0b1624659ff..01c189db39d 100644 Binary files a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf and b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex index 095c27106e6..522a4cdf7f3 100644 --- a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex +++ b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex @@ -6,9 +6,9 @@ %% %% leaflet.dtx (with options: `manual') %% -%% 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 @@ -21,8 +21,8 @@ %% This work has the LPPL maintenance status "author-maintained". %% \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. \listfiles \errorcontextlines=99 diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf b/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf index c15ad295bca..ee6687ad8c5 100644 Binary files a/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf and b/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf differ 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 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