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/doc/latex/leaflet/README | 11 ++++---- .../doc/latex/leaflet/leaflet-manual.pdf | Bin 92848 -> 93307 bytes .../doc/latex/leaflet/leaflet-manual.tex | 6 ++--- Master/texmf-dist/doc/latex/leaflet/leaflet.pdf | Bin 237889 -> 238104 bytes Master/texmf-dist/source/latex/leaflet/leaflet.dtx | 28 +++++++++++++-------- Master/texmf-dist/tex/latex/leaflet/leaflet.cls | 17 +++++++++---- 6 files changed, 39 insertions(+), 23 deletions(-) diff --git a/Master/texmf-dist/doc/latex/leaflet/README b/Master/texmf-dist/doc/latex/leaflet/README index a39c7699590..9b2f1802cf3 100644 --- a/Master/texmf-dist/doc/latex/leaflet/README +++ b/Master/texmf-dist/doc/latex/leaflet/README @@ -1,9 +1,10 @@ -The leaflet class +The leaflet document class +========================== -A 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.) +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: diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf index d9822e52bcc..4c6bcdfaedb 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 39d0849707c..a14b4f5b59c 100644 --- a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex +++ b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex @@ -21,9 +21,9 @@ %% This work has the LPPL maintenance status "author-maintained". %% \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. \listfiles \errorcontextlines=99 \documentclass[ diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf b/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf index 3ef240750d9..be5abfb674c 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 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} diff --git a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls index 77dd3dbf3cc..8609afcc6cd 100644 --- a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls +++ b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls @@ -22,7 +22,7 @@ %% \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)] \let\LL@shipout\shipout \let\LL@outputpage\@outputpage \let\LL@begindvi\@begindvi \let\LL@@end\@@end \@ifundefined{iflandscape}{\newif\iflandscape}{}% @@ -236,26 +236,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 } \newcommand*\LL@CmdIgnored[1]{% -- cgit v1.2.3