summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-24 21:30:17 +0000
committerKarl Berry <karl@freefriends.org>2016-10-24 21:30:17 +0000
commit39bec3187a966abbe72fe5da8cde8bcbb1563ae2 (patch)
tree9d53bc3d1c8e0448d2fcd08943c0a3e6d98a5deb
parentd471ae9ff294a5ee213dc15b2eaca4bfe62bfaee (diff)
handout (24oct16)
git-svn-id: svn://tug.org/texlive/trunk@42347 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdfbin11486 -> 11485 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdfbin11481 -> 11478 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdfbin12759 -> 12757 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdfbin16966 -> 16965 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdfbin19808 -> 19810 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdfbin24189 -> 24190 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdfbin37790 -> 37790 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/handout.pdfbin69941 -> 70104 bytes
-rw-r--r--Master/texmf-dist/doc/latex/handout/handout.tex11
-rw-r--r--Master/texmf-dist/tex/latex/handout/handout.sty9
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
--- a/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf
+++ b/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf
+++ b/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf
+++ b/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf
+++ b/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf
+++ b/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf
Binary files 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
--- 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
Binary files 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
--- a/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf
+++ b/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/handout/handout.pdf
+++ b/Master/texmf-dist/doc/latex/handout/handout.pdf
Binary files 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 <at> maieul <dot> 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}%