summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-06 21:59:44 +0000
committerKarl Berry <karl@freefriends.org>2017-03-06 21:59:44 +0000
commitdeca9e355916b23f08e4bbe1cb972adf3658f9ff (patch)
treeeccaa00e1cd0ff11012b9a666befa9a4775dc774
parentb4756ad1fb9b7e291c909dd1bac99a3c0fffce72 (diff)
overlays (6mar17)
git-svn-id: svn://tug.org/texlive/trunk@43418 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/overlays/ChangeLog8
-rw-r--r--Master/texmf-dist/doc/latex/overlays/README4
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.pdfbin36123 -> 36789 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/overlays.tex19
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.pdfbin64816 -> 65104 bytes
-rw-r--r--Master/texmf-dist/doc/latex/overlays/sample.tex11
-rw-r--r--Master/texmf-dist/tex/latex/overlays/overlays.sty11
7 files changed, 34 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/overlays/ChangeLog b/Master/texmf-dist/doc/latex/overlays/ChangeLog
index 728f13f726f..1dcaee6e108 100644
--- a/Master/texmf-dist/doc/latex/overlays/ChangeLog
+++ b/Master/texmf-dist/doc/latex/overlays/ChangeLog
@@ -1,3 +1,11 @@
+2017-03-05:
+ * blend all colors in the content of the "\visible" command with the background
+ color on non-specified overlays
+ * require the "xcolor" package instead of the "color" package
+ * clarify in the documentation how the "\saveseriesbetweenoverlays" command can
+ be used for series of cloned and uncloned lists
+ * bump version to 2.6
+
2017-03-04:
* "\saveseriesbetweenoverlays" command for enumitem series not to be
incremented between overlays (currently restricted to the first level of
diff --git a/Master/texmf-dist/doc/latex/overlays/README b/Master/texmf-dist/doc/latex/overlays/README
index 1d6a7cbdae9..38378848348 100644
--- a/Master/texmf-dist/doc/latex/overlays/README
+++ b/Master/texmf-dist/doc/latex/overlays/README
@@ -1,11 +1,11 @@
-The "overlays" LaTeX package (version 2.5)
+The "overlays" LaTeX package (version 2.6)
------------------------------------------
The "overlay" package allows to write presentations with dynamic slides. It does
not presuppose any specific document class. Rather, it is a lightweight
alternative to full-fledged presentation classes like "beamer".
-The package requires the following packages: "color", "environ", and "pgffor"
+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,
diff --git a/Master/texmf-dist/doc/latex/overlays/overlays.pdf b/Master/texmf-dist/doc/latex/overlays/overlays.pdf
index 63d56254595..5eb33351e9f 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 034cde00e5f..f88ad7c0d77 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/03/04 (v.\,2.5)}
+\date{2017/03/05 (v.\,2.6)}
\maketitle
\noindent The \textsf{overlay} package allows to write presentations with
@@ -80,13 +80,13 @@ compatibility.
\hyphenation{enum-item}
\DescribeMacro{\saveseriesbetweenoverlays}
-Series of first-level lists cloned by means of the |\newlist| command of the
+Series of first-level lists specified by the |series| and |resume| keys of the
\textsf{enumitem} package can be saved between overlays by means of the
following command:
\begin{quote}
|\saveseriesbetweenoverlays{|\meta{series name}|}|
\end{quote}
-See below for known limitations.
+See below for known limitations regarding the series name.
The |\savecountersbetweenoverlays| and |\saveseriesbetweenoverlays| commands
are typically used in the preamble.
@@ -97,14 +97,21 @@ The |\alert|, |\visible|, and |\only| commands must not contain verbatim
commands or environments. They may be used in the content of the |alltt|
environment, though.
-The |\saveseriesbetweenoverlays| command requires that the series name matches
-the list name.
+The |\saveseriesbetweenoverlays| command only supports first-level lists. In
+addition, it requires that the series name matches the basename of the list
+counter (i.e. the counter name without the final |i|). In the case of the
+|enumerate| list, the series name thus should be |enum|; in the case of lists
+cloned by means of the |\newlist| command, the series name should be identical
+to the list name.
\section{Dependencies}
-The \textsf{overlays} package requires the following packages: \textsf{color},
+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{pstricks} package
+if the latter is loaded before the former.
+
\section{Credits}
The code of the \textsf{overlays} package is inspired by Matthias Meister's
diff --git a/Master/texmf-dist/doc/latex/overlays/sample.pdf b/Master/texmf-dist/doc/latex/overlays/sample.pdf
index 089223b9e9b..1afebb52d86 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 ebadb405d28..50473add616 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.5 \\
-4 March 2017}
+{\small Version 2.6 \\
+5 March 2017}
\clearpage
\begin{fragileoverlays}{6}
@@ -161,11 +161,12 @@ incremented between overlays. Other counters can be saved between overlays, too,
by means of the command
\alert{2}{\texttt{\textbackslash{savecounterbetweenoverlays\{\meta{counter name}\}}}}.}
-\visible{3-}{Series of first-level lists cloned by means of the
-\texttt{\textbackslash{}newlist} command of the \textrm{enumitem} package can be saved between
+\visible{3-}{Series of first-level lists specified by the \texttt{series} and
+\texttt{resume} keys of the \textrm{enumitem} package can be saved between
overlays by means of the command
\alert{3}{\texttt{\textbackslash{saveseriesbetweenoverlays\{\meta{series
-name}\}}}}, provided that the series name matches the list name.}
+name}\}}}}, provided that the series name matches the basename of the list
+counter (i.e. the counter name without the final \texttt{i}).}
\end{overlays}
\clearpage
diff --git a/Master/texmf-dist/tex/latex/overlays/overlays.sty b/Master/texmf-dist/tex/latex/overlays/overlays.sty
index 151a34ea69a..0c2b25b9195 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/03/04 v2.5 Incremental slides]
+\ProvidesPackage{overlays}[2017/03/05 v2.6 Incremental slides]
% Copyright (C) 2017 Andreas Nolda
% Author: Andreas Nolda <andreas@nolda.org>
-% Version: 2.5
+% Version: 2.6
% 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)
@@ -17,7 +17,7 @@
% overlays as well as for overlays with verbatim content is taken from the
% "texpower" package, which in turn is based on Till Tantau's "beamer" package.
-\RequirePackage{color}
+\RequirePackage{xcolor}
\RequirePackage{environ}
\RequirePackage{pgffor}
@@ -43,8 +43,7 @@
\let\savebetweenoverlays\savecounterbetweenoverlays % for backward compatibility
\newcommand{\saveseriesbetweenoverlays}[1]%
- {\expandafter\newcount\csname s@ve#1i\endcsname
- \expandafter\def\expandafter\s@vedseries\expandafter{\s@vedseries\@elt{#1}}}
+ {\expandafter\def\expandafter\s@vedseries\expandafter{\s@vedseries\@elt{#1}}}
\savebetweenoverlays{page}
\savebetweenoverlays{equation}
@@ -157,8 +156,8 @@
{\def\pssetb@ckgroundcolor{\relax}}
\newcommand{\visible}[2]{\overl@y{#1}{#2}{{\color{background}%
+ \blendcolors{!0!background}%
\pssetb@ckgroundcolor
- \let\default@color\current@color % make equation number invisible
#2%
\ifvmode
\unskip % undo spurious space introduced by \color