From 39bec3187a966abbe72fe5da8cde8bcbb1563ae2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Oct 2016 21:30:17 +0000 Subject: handout (24oct16) git-svn-id: svn://tug.org/texlive/trunk@42347 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/handout/examples/example1-minimal.pdf | Bin 11486 -> 11485 bytes .../handout/examples/example2-cancel-quotation.pdf | Bin 11481 -> 11478 bytes .../handout/examples/example3-defined-path.pdf | Bin 12759 -> 12757 bytes .../latex/handout/examples/example4-sectioning.pdf | Bin 16966 -> 16965 bytes .../latex/handout/examples/example5-numbering.pdf | Bin 19808 -> 19810 bytes .../handout/examples/example6-not-and-only.pdf | Bin 24189 -> 24190 bytes .../latex/handout/examples/example7-biblatex.pdf | Bin 37790 -> 37790 bytes Master/texmf-dist/doc/latex/handout/handout.pdf | Bin 69941 -> 70104 bytes Master/texmf-dist/doc/latex/handout/handout.tex | 11 ++++++++--- Master/texmf-dist/tex/latex/handout/handout.sty | 9 ++++++--- 10 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf b/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf index 2ea7c8e31c7..f5b14ee0f3c 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf b/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf index df38c8b764c..8d546279157 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf b/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf index 553a908d2b9..2eb10d13a3c 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf b/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf index 08801b64edf..ec83d8089f9 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf b/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf index b47fcfd09a3..8b3431354df 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdf b/Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdf index af5b76c2311..d6fe9faf8b2 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf b/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf index 882227991f7..7d2756cfe72 100644 Binary files a/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf and b/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/handout.pdf b/Master/texmf-dist/doc/latex/handout/handout.pdf index ab4e0a957c8..d57bd7f7182 100644 Binary files a/Master/texmf-dist/doc/latex/handout/handout.pdf and b/Master/texmf-dist/doc/latex/handout/handout.pdf differ diff --git a/Master/texmf-dist/doc/latex/handout/handout.tex b/Master/texmf-dist/doc/latex/handout/handout.tex index 382ef8eea8a..d1ee7efe3e0 100644 --- a/Master/texmf-dist/doc/latex/handout/handout.tex +++ b/Master/texmf-dist/doc/latex/handout/handout.tex @@ -16,8 +16,8 @@ subtitle={to support your talk}, email={maieul maieul net}, author={Maïeul Rouquette}, - revision={1.3.0}, - date={13/10/2016}, + revision={1.4.0}, + date={24/10/2016}, url={https://github.com/maieul/handout}} @@ -176,11 +176,16 @@ You can call the \cmd{citehandout} command before citation commands when you wan Note that the citation tracker is automatically reset at the beginning of the handout. +You can also add define a \cs{AtEveryHandout} command to be executed in the handout, before each content added to the handout. \section{Change history} \begin{changelog} -\begin{release}{1.3.0}{2016-10-04} +\begin{release}{1.4.0}{2016-10-24} +\item Add possibility to add additional content before every element of an handout. +\end{release} + +\begin{release}{1.3.0}{2016-10-13} \item Add possibility to add additional content at the end of the handout. \end{release} diff --git a/Master/texmf-dist/tex/latex/handout/handout.sty b/Master/texmf-dist/tex/latex/handout/handout.sty index 884ff33feff..a71060527b0 100644 --- a/Master/texmf-dist/tex/latex/handout/handout.sty +++ b/Master/texmf-dist/tex/latex/handout/handout.sty @@ -1,4 +1,4 @@ -%% Copyright 2014 Maïeul Rouquette +%% Copyright 2014… Maïeul Rouquette % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -13,7 +13,7 @@ % The Current Maintainer of this work is Maïeul Rouquette % This work consists of the files handout.sty and example and documentation files. -\ProvidesPackage{handout}[2016/10/13 1.3.0 Handout package] +\ProvidesPackage{handout}[2016/10/24 1.4.0 Handout package] \RequirePackage{kvoptions,etoolbox} % Options @@ -46,7 +46,7 @@ \handoutnumberintxt{\thehandoutnumber}% \fi% \ifhandout@printing% - \immediate\write\@handout {\string\handout@input{#1}}% + \immediate\write\@handout {\string\handout@input{#1}}% \fi% \fi% \input{\handout@dir/#1}% Add the handout @@ -67,6 +67,9 @@ % The command written in the .handout file \newcommand{\handout@input}[1]{% + \ifdefined\AtEveryHandout% + \AtEveryHandout% + \fi% \ifhandout@numbering% \stepcounter{handoutnumber}% \handoutnumber{\thehandoutnumber}% -- cgit v1.2.3