texlive[42266] Master/texmf-dist: handout (14oct16)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 16 00:51:51 CEST 2016


Revision: 42266
          http://tug.org/svn/texlive?view=revision&revision=42266
Author:   karl
Date:     2016-10-16 00:51:51 +0200 (Sun, 16 Oct 2016)
Log Message:
-----------
handout (14oct16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/handout/README
    trunk/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf
    trunk/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf
    trunk/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf
    trunk/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf
    trunk/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf
    trunk/Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdf
    trunk/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf
    trunk/Master/texmf-dist/doc/latex/handout/handout.pdf
    trunk/Master/texmf-dist/doc/latex/handout/handout.tex
    trunk/Master/texmf-dist/tex/latex/handout/handout.sty

Modified: trunk/Master/texmf-dist/doc/latex/handout/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/handout/README	2016-10-15 22:51:31 UTC (rev 42265)
+++ trunk/Master/texmf-dist/doc/latex/handout/README	2016-10-15 22:51:51 UTC (rev 42266)
@@ -1,4 +1,4 @@
 Create handout for auditors of a speech.
 
-Copyright 2014 Maïeul Rouquette
+Copyright 2014-… Maïeul Rouquette
 LLPL 1.3 http://www.latex-project.org/lppl.txt
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example1-minimal.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example2-cancel-quotation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example3-defined-path.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example4-sectioning.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example5-numbering.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example6-not-and-only.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/examples/example7-biblatex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/handout.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/handout/handout.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/handout/handout.tex	2016-10-15 22:51:31 UTC (rev 42265)
+++ trunk/Master/texmf-dist/doc/latex/handout/handout.tex	2016-10-15 22:51:51 UTC (rev 42266)
@@ -16,8 +16,8 @@
   subtitle={to support your talk},
   email={maieul <at> maieul <dot> net},
   author={Maïeul Rouquette},
-  revision={1.2.1a},
-  date={16/04/2015},
+  revision={1.3.0},
+  date={13/10/2016},
   url={https://github.com/maieul/handout}}
 
 
@@ -69,7 +69,7 @@
 You have just to split your pdf in two parts to obtain your handout for your audience.
 See example~1.
 
-\section{Code to be run at the beginning of the handout}
+\section{Code to be run at the beginning / at the end of the handout}
 
 You can execute any code at the beginning of the handout by defining a command \cmd{beforehandout}. For example, to suppress the extra margins of the \env{quotation} environment:
 \begin{minted}{tex}
@@ -86,6 +86,13 @@
   \item Disable \cmd{index} and \cmd{label} command.
 \end{itemize}
 
+You can also execute any code at the end of the handout by defining a command \cmd{afterhandout}.
+ For example, if you want to add additional remarks on your handout, but not in your main text.
+\begin{minted}{tex}
+\newcommand{\afterhandout}{%
+  Additional remarks.
+}
+\end{minted}
 \section{Putting all your examples in a single folder}
 
 In most cases, all your external files will be in a single folder. So you can fix this folder with the package's option \opt{dir}:
@@ -155,7 +162,7 @@
     \forhandout{%
       \cite[\strfield{postnote}]{\strfield{entrykey}}%
       }%
-            \forhandout{%
+    \forhandout{%
       \afterhandoutref%
     }%
   }%
@@ -173,6 +180,10 @@
 
 \begin{changelog}
 
+\begin{release}{1.3.0}{2016-10-04}
+\item Add possibility to add additional content at the end of the handout. 
+\end{release}
+
 \begin{release}{1.2.1}{2015-01-06}
 \item Optimize performance with \opt{sectioning} option.
 \end{release}

Modified: trunk/Master/texmf-dist/tex/latex/handout/handout.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/handout/handout.sty	2016-10-15 22:51:31 UTC (rev 42265)
+++ trunk/Master/texmf-dist/tex/latex/handout/handout.sty	2016-10-15 22:51:51 UTC (rev 42266)
@@ -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}[2015/04/16 1.2.1a Handout package]
+\ProvidesPackage{handout}[2016/10/13 1.3.0 Handout package]
 \RequirePackage{kvoptions,etoolbox}
 
 % Options
@@ -97,6 +97,7 @@
 		  \makeatletter%
 		  \input\jobname.handout%
 		  \makeatother%
+		  \ifdef{\afterhandout}{\afterhandout}{\handout at warning{No command defined to be run after handout}}
 	    \fi%
     \fi%
 }



More information about the tex-live-commits mailing list