texlive[42348] Master/texmf-dist: overlays (24oct16)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 24 23:30:28 CEST 2016


Revision: 42348
          http://tug.org/svn/texlive?view=revision&revision=42348
Author:   karl
Date:     2016-10-24 23:30:28 +0200 (Mon, 24 Oct 2016)
Log Message:
-----------
overlays (24oct16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog
    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-24 21:30:17 UTC (rev 42347)
+++ trunk/Master/texmf-dist/doc/latex/overlays/ChangeLog	2016-10-24 21:30:28 UTC (rev 42348)
@@ -1,3 +1,7 @@
+2016-10-24:
+ * if PSTricks is loaded, set linecolor to background or alert color
+ * bump version to 2.4
+
 2016-10-04:
  * ensure side-effects (such as incremented counters) of hidden content of the
    "\only" command

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-24 21:30:17 UTC (rev 42347)
+++ trunk/Master/texmf-dist/doc/latex/overlays/overlays.tex	2016-10-24 21:30:28 UTC (rev 42348)
@@ -9,7 +9,7 @@
 \begin{document}
 \title{\textsf{overlays} -- incremental slides}
 \author{Andreas Nolda}
-\date{2016/10/04 (v.\,2.3)}
+\date{2016/10/24 (v.\,2.4)}
 \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-24 21:30:17 UTC (rev 42347)
+++ trunk/Master/texmf-dist/doc/latex/overlays/sample.tex	2016-10-24 21:30:28 UTC (rev 42348)
@@ -33,8 +33,8 @@
 \textit{A sample presentation}} \\[\baselineskip]
 Andreas Nolda \\
 \url{http://andreas.nolda.org}}\vfill
-{\small Version 2.3 \\
-4 October 2016}
+{\small Version 2.4 \\
+24 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-24 21:30:17 UTC (rev 42347)
+++ trunk/Master/texmf-dist/tex/latex/overlays/overlays.sty	2016-10-24 21:30:28 UTC (rev 42348)
@@ -1,9 +1,9 @@
-\ProvidesPackage{overlays}[2016/10/04 v2.3 Incremental slides]
+\ProvidesPackage{overlays}[2016/10/24 v2.4 Incremental slides]
 
 % Copyright (C) 2016 Andreas Nolda
 
 % Author: Andreas Nolda <andreas at nolda.org>
-% Version: 2.3
+% Version: 2.4
 
 % 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)
@@ -138,7 +138,12 @@
 \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}}
+
 \newcommand{\visible}[2]{\overl at y{#1}{#2}{{\color{background}%
+                                           \pssetb at ckgroundcolor
                                            \let\default at color\current at color % make equation number invisible
                                            #2%
                                            \ifvmode
@@ -146,7 +151,12 @@
                                            \fi}}}
 
 \definecolor{alert}{rgb}{1,0,0}
+\@ifpackageloaded{pstricks}%
+  {\def\psset at lertcolor{\psset{linecolor=alert}}}%
+  {\def\psset at lertcolor{\relax}}
+
 \newcommand{\alert}[2]{\overl at y{#1}{{\color{alert}%
+                                     \psset at lertcolor
                                      #2%
                                      \ifvmode
                                        \unskip % undo spurious space introduced by \color



More information about the tex-live-commits mailing list