texlive[46112] Master/texmf-dist: overlays (21dec17)

commits+karl at tug.org commits+karl at tug.org
Fri Dec 22 00:56:24 CET 2017


Revision: 46112
          http://tug.org/svn/texlive?view=revision&revision=46112
Author:   karl
Date:     2017-12-22 00:56:23 +0100 (Fri, 22 Dec 2017)
Log Message:
-----------
overlays (21dec17)

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	2017-12-21 23:56:08 UTC (rev 46111)
+++ trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog	2017-12-21 23:56:23 UTC (rev 46112)
@@ -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

Modified: trunk/Master/texmf-dist/doc/latex/overlays/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/overlays/README	2017-12-21 23:56:08 UTC (rev 46111)
+++ trunk/Master/texmf-dist/doc/latex/overlays/README	2017-12-21 23:56:23 UTC (rev 46112)
@@ -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 @@
 (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 at nolda.org)
 ----

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	2017-12-21 23:56:08 UTC (rev 46111)
+++ trunk/Master/texmf-dist/doc/latex/overlays/overlays.tex	2017-12-21 23:56:23 UTC (rev 46112)
@@ -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 @@
 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}
 

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	2017-12-21 23:56:08 UTC (rev 46111)
+++ trunk/Master/texmf-dist/doc/latex/overlays/sample.tex	2017-12-21 23:56:23 UTC (rev 46112)
@@ -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}

Modified: trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty	2017-12-21 23:56:08 UTC (rev 46111)
+++ trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty	2017-12-21 23:56:23 UTC (rev 46112)
@@ -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 at 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 at 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 at ckgroundcolor{\psset{linecolor=background}}}%
   {\def\pssetb at ckgroundcolor{\relax}}
 
+\@ifpackageloaded{graphics}%
+  {\def\hidegr at phics{\setkeys{Gin}{draft}}}%
+  {\def\hidegr at phics{\relax}}
+
 \newcommand{\visible}[2]{\overl at y{#1}{#2}{{\color{background}%
                                            \blendcolors{!0!background}%
                                            \pssetb at ckgroundcolor
+                                           \hidegr at phics
                                            {#2}%
                                            \ifvmode
                                              \unskip % undo spurious space introduced by \color



More information about the tex-live-commits mailing list