summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-21 23:56:23 +0000
committerKarl Berry <karl@freefriends.org>2017-12-21 23:56:23 +0000
commitd16b7dc51965de2c4a0451d90200f9b4808d23a4 (patch)
treed7d7beadfd2e5a11e532c3b55ae62e762d11ea0b /Master
parent5149fd09e4686b79e89ecc9b5e8fb7b1619f39ba (diff)
overlays (21dec17)
git-svn-id: svn://tug.org/texlive/trunk@46112 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/overlays/ChangeLog4
-rw-r--r--Master/texmf-dist/doc/latex/overlays/README4
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.pdfbin36768 -> 36804 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.tex14
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.pdfbin65090 -> 65031 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.tex4
-rw-r--r--Master/texmf-dist/tex/latex/overlays/overlays.sty10
7 files changed, 25 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/overlays/ChangeLog b/Master/texmf-dist/doc/latex/overlays/ChangeLog
index 1692ace4f04..8f1faeb2872 100644
--- a/Master/texmf-dist/doc/latex/overlays/ChangeLog
+++ b/Master/texmf-dist/doc/latex/overlays/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-20:
+ * hide included images in the argument of the "\visible" command
+ * bump version to 2.9
+
2017-11-19:
* "\psvisible" and "\psalert" commands for PSTricks-only effects
* bump version to 2.8
diff --git a/Master/texmf-dist/doc/latex/overlays/README b/Master/texmf-dist/doc/latex/overlays/README
index 8b1d9a44f56..c86f5bfe64b 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.8)
+The "overlays" LaTeX package (version 2.9)
------------------------------------------
The "overlay" package allows to write presentations with dynamic slides. It does
@@ -9,7 +9,7 @@ The package requires the following packages: "xcolor", "environ", and "pgffor"
(part of "pgf").
It is released 'as is' with no warranty under the LaTeX Project Public License,
-version 1.3 [1].
+version 1.3c [1].
Andreas Nolda (andreas@nolda.org)
----
diff --git a/Master/texmf-dist/doc/latex/overlays/overlays.pdf b/Master/texmf-dist/doc/latex/overlays/overlays.pdf
index 60c1924baf4..4104b5a8451 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 0fc92c3de95..7b8c8d4fa68 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{2017/11/19 (v.\,2.8)}
+\date{2017/12/20 (v.\,2.9)}
\maketitle
\noindent The \textsf{overlay} package allows to write presentations with
@@ -109,12 +109,16 @@ to the list name.
The \textsf{overlays} package requires the following packages: \textsf{xcolor},
\textsf{environ}, and \textsf{pgffor} (part of \textsf{pgf}).
+The \textsf{overlays} package enables support for the \textsf{graphics} and
+\textsf{graphicx} packages if one of them is loaded before the \textsf{overlays}
+package.
+
\DescribeMacro{\psalert}
\DescribeMacro{\psvisible}
-The \textsf{overlays} package enables support for the \textsf{pstricks} package
-if the latter is loaded before the former. In particular, the commands
-|\psalert| and |\psvisible| are provided for highlighting or uncovering lines
-only.
+Similarly, the \textsf{overlays} package enables support for the
+\textsf{pstricks} package if the latter is loaded before the former. In
+particular, the commands |\psalert| and |\psvisible| are provided for
+highlighting or uncovering lines only.
\section{Credits}
diff --git a/Master/texmf-dist/doc/latex/overlays/sample.pdf b/Master/texmf-dist/doc/latex/overlays/sample.pdf
index 3b8c444c1c5..226fa0333b7 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 7a45a82a606..ac66c605665 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.8 \\
-19 November 2017}
+{\small Version 2.9 \\
+20 December 2017}
\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 15bd79591da..5b8a97dd931 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}[2017/11/19 v2.8 Incremental slides]
+\ProvidesPackage{overlays}[2017/12/20 v2.9 Incremental slides]
% Copyright (C) 2017 Andreas Nolda
% Author: Andreas Nolda <andreas@nolda.org>
-% Version: 2.8
+% Version: 2.9
% 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)
@@ -151,13 +151,19 @@
\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}
+
\@ifpackageloaded{pstricks}%
{\def\pssetb@ckgroundcolor{\psset{linecolor=background}}}%
{\def\pssetb@ckgroundcolor{\relax}}
+\@ifpackageloaded{graphics}%
+ {\def\hidegr@phics{\setkeys{Gin}{draft}}}%
+ {\def\hidegr@phics{\relax}}
+
\newcommand{\visible}[2]{\overl@y{#1}{#2}{{\color{background}%
\blendcolors{!0!background}%
\pssetb@ckgroundcolor
+ \hidegr@phics
{#2}%
\ifvmode
\unskip % undo spurious space introduced by \color