texlive[42206] Master/texmf-dist: overlays (4oct16)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 4 23:34:10 CEST 2016


Revision: 42206
          http://tug.org/svn/texlive?view=revision&revision=42206
Author:   karl
Date:     2016-10-04 23:34:10 +0200 (Tue, 04 Oct 2016)
Log Message:
-----------
overlays (4oct16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog
    trunk/Master/texmf-dist/doc/latex/overlays/README
    trunk/Master/texmf-dist/doc/latex/overlays/overlays.pdf
    trunk/Master/texmf-dist/doc/latex/overlays/overlays.tex
    trunk/Master/texmf-dist/doc/latex/overlays/sample.pdf
    trunk/Master/texmf-dist/doc/latex/overlays/sample.tex
    trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty

Modified: trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog	2016-10-04 21:33:59 UTC (rev 42205)
+++ trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog	2016-10-04 21:34:10 UTC (rev 42206)
@@ -1,3 +1,8 @@
+2016-10-04:
+ * ensure side-effects (such as incremented counters) of hidden content of the
+   "\only" command
+ * bump version to 2.3
+
 2016-10-02:
  * "\savebetweenoverlays" command for counters not to be incremented between
    overlays

Modified: trunk/Master/texmf-dist/doc/latex/overlays/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/overlays/README	2016-10-04 21:33:59 UTC (rev 42205)
+++ trunk/Master/texmf-dist/doc/latex/overlays/README	2016-10-04 21:34:10 UTC (rev 42206)
@@ -1,4 +1,4 @@
-The "overlays" LaTeX package (version 2.2)
+The "overlays" LaTeX package (version 2.3)
 ------------------------------------------
 
 The "overlay" package allows to write presentations with dynamic slides. It does

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

Modified: trunk/Master/texmf-dist/doc/latex/overlays/overlays.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/overlays/overlays.tex	2016-10-04 21:33:59 UTC (rev 42205)
+++ trunk/Master/texmf-dist/doc/latex/overlays/overlays.tex	2016-10-04 21:34:10 UTC (rev 42206)
@@ -9,7 +9,7 @@
 \begin{document}
 \title{\textsf{overlays} -- incremental slides}
 \author{Andreas Nolda}
-\date{2016/10/02 (v.\,2.2)}
+\date{2016/10/04 (v.\,2.3)}
 \maketitle
 
 \noindent The \textsf{overlay} package allows to write presentations with

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

Modified: trunk/Master/texmf-dist/doc/latex/overlays/sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/overlays/sample.tex	2016-10-04 21:33:59 UTC (rev 42205)
+++ trunk/Master/texmf-dist/doc/latex/overlays/sample.tex	2016-10-04 21:34:10 UTC (rev 42206)
@@ -33,8 +33,8 @@
 \textit{A sample presentation}} \\[\baselineskip]
 Andreas Nolda \\
 \url{http://andreas.nolda.org}}\vfill
-{\small Version 2.2 \\
-2 October 2016}
+{\small Version 2.3 \\
+4 October 2016}
 \clearpage
 
 \begin{fragileoverlays}{6}

Modified: trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty	2016-10-04 21:33:59 UTC (rev 42205)
+++ trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty	2016-10-04 21:34:10 UTC (rev 42206)
@@ -1,9 +1,9 @@
-\ProvidesPackage{overlays}[2016/10/02 v2.2 Incremental slides]
+\ProvidesPackage{overlays}[2016/10/04 v2.3 Incremental slides]
 
 % Copyright (C) 2016 Andreas Nolda
 
 % Author: Andreas Nolda <andreas at nolda.org>
-% Version: 2.2
+% Version: 2.3
 
 % This work may be distributed and/or modified under the conditions of the LaTeX
 % Project Public License, either version 1.3 of this license or (at your option)
@@ -135,14 +135,14 @@
 
 \long\def\overl at y#1#2#3{\ifinoverl at yspec{\curoverl at y}{#1}{#2}{#3}}
 
-\newcommand{\only}[2]{\overl at y{#1}{#2}{\relax}}
+\newcommand{\only}[2]{\overl at y{#1}{#2}{\setbox1=\vbox{#2}}} % ensure side-effects of content (such as incremented counters)
 
 \definecolor{background}{rgb}{1,1,1}
 \newcommand{\visible}[2]{\overl at y{#1}{#2}{{\color{background}%
-                                           \let\default at color\current at color
+                                           \let\default at color\current at color % make equation number invisible
                                            #2%
                                            \ifvmode
-                                             \unskip
+                                             \unskip % undo spurious space introduced by \color
                                            \fi}}}
 
 \definecolor{alert}{rgb}{1,0,0}
@@ -149,5 +149,5 @@
 \newcommand{\alert}[2]{\overl at y{#1}{{\color{alert}%
                                      #2%
                                      \ifvmode
-                                       \unskip
+                                       \unskip % undo spurious space introduced by \color
                                      \fi}}{#2}}



More information about the tex-live-commits mailing list