From 57376b4334ee13c6c52710eed0952b2d0ac61227 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 21 Apr 2017 22:17:42 +0000 Subject: handout (21apr17) git-svn-id: svn://tug.org/texlive/trunk@43962 c570f23f-e606-0410-a88d-b1316a301751 --- .../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 12757 -> 12763 bytes .../latex/handout/examples/example4-sectioning.pdf | Bin 16963 -> 16967 bytes .../latex/handout/examples/example5-numbering.pdf | Bin 19811 -> 19829 bytes .../handout/examples/example6-not-and-only.pdf | Bin 24190 -> 24200 bytes .../latex/handout/examples/example7-biblatex.pdf | Bin 37788 -> 37801 bytes Master/texmf-dist/doc/latex/handout/handout.pdf | Bin 70227 -> 72229 bytes Master/texmf-dist/doc/latex/handout/handout.tex | 23 +++++++++++++++++---- 9 files changed, 19 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/doc/latex/handout') 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 f408de6599b..02e809f3c5e 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 c46324d6232..b20e2f83f44 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 86d88403ea9..c9ab4c9c8cd 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 1fb10b050dc..fa80671d510 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 b0832fec25c..d38d4a94a15 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 4773818f9f2..ba60bd2ae2a 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 e83ee90bd8b..2d4eb01c315 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 c43bd706121..19c248beb36 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 37a3852c54e..dc483101d14 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.5.0}, - date={15/11/2016}, + revision={1.6.0}, + date={21/04/2017}, url={https://github.com/maieul/handout}} @@ -145,10 +145,11 @@ The package option \opt{disabled} allows you to disable the handout's generation The argument of a \cmd{onlyhandout} command will be printed only in the handout. Conversely, the argument of a command \cmd{nothandout} will be printed only in the main text. See example~6. \subsection{Insert code in the handout} - +\subsubsection{\cmd{forhandout} and \cmd{forhandout*}}\label{forhandout} The argument of the \cmd{forhandout} command will be added to the handout, even if used outside any included file. -\emph{Be careful}: if the content of the argument starts with a command, this command won't be run before the handout. +All the commands inside will be expanded, except the one which starts argument.. + The \cmd{forhandout} command is quite complex to manage, but can be useful if you want to insert bibliographic references automatically into your handout. If you use \emph{biblatex} to manage your bibliography, you can define a \cmd{citehandout} command with this code: @@ -176,10 +177,24 @@ 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. +The starred version of \cmd{citehandout} command will not expand any macro inside the argument. For example, if you need to write instructions for readers: +\begin{minted}{latex} +\forhandout{Read the three following texts, looking for: +\begin{itemize} + \item Places. + \item Topics. + \item Characters. +\end{itemize} +} +\end{minted} +\subsubsection{\cmd{AtEveryHandout}}\label{forhandout} 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.6.0}{2017-04-21} +\item Add starred version of \cs{forhandout} macro \see{forhandout}. +\end{release} \begin{release}{1.5.0}{2016-11-15} \item Reset automatically table and figure counters before typesetting handout. -- cgit v1.2.3