summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-24 21:30:28 +0000
committerKarl Berry <karl@freefriends.org>2016-10-24 21:30:28 +0000
commit7015ef628b85aa393ac31de15d4494d643fae708 (patch)
treef1f038a237d281aea70504702619a3b41a97b1e8 /Master/texmf-dist
parent39bec3187a966abbe72fe5da8cde8bcbb1563ae2 (diff)
overlays (24oct16)
git-svn-id: svn://tug.org/texlive/trunk@42348 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/overlays/ChangeLog4
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.pdfbin35368 -> 35201 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.tex2
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.pdfbin55770 -> 55654 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.tex4
-rw-r--r--Master/texmf-dist/tex/latex/overlays/overlays.sty14
6 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/overlays/ChangeLog b/Master/texmf-dist/doc/latex/overlays/ChangeLog
index e3aeec05ad6..5bb0c60202b 100644
--- a/Master/texmf-dist/doc/latex/overlays/ChangeLog
+++ b/Master/texmf-dist/doc/latex/overlays/ChangeLog
@@ -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
diff --git a/Master/texmf-dist/doc/latex/overlays/overlays.pdf b/Master/texmf-dist/doc/latex/overlays/overlays.pdf
index 964eccd285a..1db316fa8ee 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 b4230b6a1f6..67b2cf9d86c 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/04 (v.\,2.3)}
+\date{2016/10/24 (v.\,2.4)}
\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 0d67b94e3ef..b071b89e87c 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 6d455342566..61c8f46ff1d 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.3 \\
-4 October 2016}
+{\small Version 2.4 \\
+24 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 42d76fd33df..2db16f624ba 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/04 v2.3 Incremental slides]
+\ProvidesPackage{overlays}[2016/10/24 v2.4 Incremental slides]
% Copyright (C) 2016 Andreas Nolda
% Author: Andreas Nolda <andreas@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@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}}
+
\newcommand{\visible}[2]{\overl@y{#1}{#2}{{\color{background}%
+ \pssetb@ckgroundcolor
\let\default@color\current@color % make equation number invisible
#2%
\ifvmode
@@ -146,7 +151,12 @@
\fi}}}
\definecolor{alert}{rgb}{1,0,0}
+\@ifpackageloaded{pstricks}%
+ {\def\psset@lertcolor{\psset{linecolor=alert}}}%
+ {\def\psset@lertcolor{\relax}}
+
\newcommand{\alert}[2]{\overl@y{#1}{{\color{alert}%
+ \psset@lertcolor
#2%
\ifvmode
\unskip % undo spurious space introduced by \color