summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-04 21:34:10 +0000
committerKarl Berry <karl@freefriends.org>2016-10-04 21:34:10 +0000
commitd90bb85661d0273758ed15830e16416bec46fc92 (patch)
tree8f299bdf12ea017d582445e79a14b5f9fff0f0ed /Master/texmf-dist
parent055795d75854050642b8dd98e5352723ff2ad01f (diff)
overlays (4oct16)
git-svn-id: svn://tug.org/texlive/trunk@42206 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/overlays/ChangeLog5
-rw-r--r--Master/texmf-dist/doc/latex/overlays/README2
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.pdfbin34995 -> 35368 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.tex2
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.pdfbin54808 -> 55770 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.tex4
-rw-r--r--Master/texmf-dist/tex/latex/overlays/overlays.sty12
7 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/overlays/ChangeLog b/Master/texmf-dist/doc/latex/overlays/ChangeLog
index aa5452e56c3..e3aeec05ad6 100644
--- a/Master/texmf-dist/doc/latex/overlays/ChangeLog
+++ b/Master/texmf-dist/doc/latex/overlays/ChangeLog
@@ -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
diff --git a/Master/texmf-dist/doc/latex/overlays/README b/Master/texmf-dist/doc/latex/overlays/README
index 6680dc5bccb..256f5ae56ad 100644
--- a/Master/texmf-dist/doc/latex/overlays/README
+++ b/Master/texmf-dist/doc/latex/overlays/README
@@ -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
diff --git a/Master/texmf-dist/doc/latex/overlays/overlays.pdf b/Master/texmf-dist/doc/latex/overlays/overlays.pdf
index 12694973009..964eccd285a 100644
--- a/Master/texmf-dist/doc/latex/overlays/overlays.pdf
+++ b/Master/texmf-dist/doc/latex/overlays/overlays.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/overlays/overlays.tex b/Master/texmf-dist/doc/latex/overlays/overlays.tex
index 43afcd8953f..b4230b6a1f6 100644
--- a/Master/texmf-dist/doc/latex/overlays/overlays.tex
+++ b/Master/texmf-dist/doc/latex/overlays/overlays.tex
@@ -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
diff --git a/Master/texmf-dist/doc/latex/overlays/sample.pdf b/Master/texmf-dist/doc/latex/overlays/sample.pdf
index 0a1e1eb67b7..0d67b94e3ef 100644
--- a/Master/texmf-dist/doc/latex/overlays/sample.pdf
+++ b/Master/texmf-dist/doc/latex/overlays/sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/overlays/sample.tex b/Master/texmf-dist/doc/latex/overlays/sample.tex
index 69de4a44a3f..6d455342566 100644
--- a/Master/texmf-dist/doc/latex/overlays/sample.tex
+++ b/Master/texmf-dist/doc/latex/overlays/sample.tex
@@ -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}
diff --git a/Master/texmf-dist/tex/latex/overlays/overlays.sty b/Master/texmf-dist/tex/latex/overlays/overlays.sty
index 6e0866ff6c2..42d76fd33df 100644
--- a/Master/texmf-dist/tex/latex/overlays/overlays.sty
+++ b/Master/texmf-dist/tex/latex/overlays/overlays.sty
@@ -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@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,19 +135,19 @@
\long\def\overl@y#1#2#3{\ifinoverl@yspec{\curoverl@y}{#1}{#2}{#3}}
-\newcommand{\only}[2]{\overl@y{#1}{#2}{\relax}}
+\newcommand{\only}[2]{\overl@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@y{#1}{#2}{{\color{background}%
- \let\default@color\current@color
+ \let\default@color\current@color % make equation number invisible
#2%
\ifvmode
- \unskip
+ \unskip % undo spurious space introduced by \color
\fi}}}
\definecolor{alert}{rgb}{1,0,0}
\newcommand{\alert}[2]{\overl@y{#1}{{\color{alert}%
#2%
\ifvmode
- \unskip
+ \unskip % undo spurious space introduced by \color
\fi}}{#2}}