summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pagecolor
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-05 23:19:45 +0000
committerKarl Berry <karl@freefriends.org>2017-06-05 23:19:45 +0000
commitcfada733d6cd9f6fc41842c30c0047105c70ae63 (patch)
tree2e39aac6b8487d6c25609ebc5d73043fccd83e53 /Master/texmf-dist/source/latex/pagecolor
parentfce301a6819bafa26446cd66bfd2f83f406970c6 (diff)
pagecolor (29may17)
git-svn-id: svn://tug.org/texlive/trunk@44487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pagecolor')
-rw-r--r--Master/texmf-dist/source/latex/pagecolor/pagecolor.drv8
-rw-r--r--Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx77
-rw-r--r--Master/texmf-dist/source/latex/pagecolor/pagecolor.ins10
3 files changed, 55 insertions, 40 deletions
diff --git a/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv b/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
index 56dc55f13df..31e35c7db5c 100644
--- a/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
+++ b/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
@@ -9,9 +9,9 @@
%% This is a generated file.
%%
%% Project: pagecolor
-%% Version: 2015/08/30 v1.0h
+%% Version: 2017/05/29 v1.0i
%%
-%% Copyright (C) 2011 - 2015 by
+%% Copyright (C) 2011 - 2017 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%%
%% The usual disclaimer applies:
@@ -46,8 +46,10 @@
%%
\NeedsTeXFormat{LaTeX2e}[2014/05/01]
\ProvidesFile{pagecolor.drv}%
- [2015/08/30 v1.0h Provides thepagecolor (HMM)]
+ [2017/05/29 v1.0i Provides thepagecolor (HMM)]
\documentclass{ltxdoc}[2014/09/29]% v2.0u
+\usepackage{xcolor}[2007/01/21]% v2.11
+\definecolor{darkgreen}{rgb}{0.0, 0.3, 0.0}%
\usepackage{holtxdoc}[2012/03/21]% v0.24
%% pagecolor may work with earlier versions of LaTeX2e and those
%% class and package, but this was not tested.
diff --git a/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx b/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
index 48b3e38efe8..7df746c4504 100644
--- a/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
+++ b/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
@@ -1,9 +1,9 @@
% \iffalse meta-comment
%
% File: pagecolor.dtx
-% Version: 2015/08/30 v1.0h
+% Version: 2017/05/29 v1.0i
%
-% Copyright (C) 2011 - 2015 by
+% Copyright (C) 2011 - 2017 by
% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%
% This work may be distributed and/or modified under the
@@ -48,7 +48,7 @@
\input docstrip.tex
\Msg{******************************************************************}
\Msg{* Installation *}
-\Msg{* Package: pagecolor 2015/08/30 v1.0h Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2017/05/29 v1.0i Provides thepagecolor (HMM)*}
\Msg{******************************************************************}
\keepsilent
@@ -60,9 +60,9 @@
This is a generated file.
Project: pagecolor
-Version: 2015/08/30 v1.0h
+Version: 2017/05/29 v1.0i
-Copyright (C) 2011 - 2015 by
+Copyright (C) 2011 - 2017 by
H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
The usual disclaimer applies:
@@ -150,8 +150,10 @@ In memoriam
%<*driver>
\NeedsTeXFormat{LaTeX2e}[2014/05/01]
\ProvidesFile{pagecolor.drv}%
- [2015/08/30 v1.0h Provides thepagecolor (HMM)]
+ [2017/05/29 v1.0i Provides thepagecolor (HMM)]
\documentclass{ltxdoc}[2014/09/29]% v2.0u
+\usepackage{xcolor}[2007/01/21]% v2.11
+\definecolor{darkgreen}{rgb}{0.0, 0.3, 0.0}%
\usepackage{holtxdoc}[2012/03/21]% v0.24
%% pagecolor may work with earlier versions of LaTeX2e and those
%% class and package, but this was not tested.
@@ -237,7 +239,7 @@ In memoriam
% \DoNotIndex{\pagecolourtmpa,\pagecolourtmpb,\pagecolourtmpc}
%
% \title{The \xpackage{pagecolor} package}
-% \date{2015/08/30 v1.0h}
+% \date{2017/05/29 v1.0i}
% \author{H.-Martin M\"{u}nch\\\xemail{Martin.Muench at Uni-Bonn.de}}
%
% \maketitle
@@ -268,7 +270,7 @@ In memoriam
%
% \bigskip
%
-% \noindent {\color{green} Save per page about $200\unit{ml}$ water,
+% \noindent {\color{darkgreen} Save per page about $200\unit{ml}$ water,
% $2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood:\\
% Therefore please print only if this is really necessary.}
%
@@ -348,11 +350,11 @@ In memoriam
% could be as simple as |white| or |black|, but when \hbox{e.\,g. the}
% \xpackage{xcolor} package is used (loaded before \xpackage{pagecolor}!),
% also colours like |red!50!green!20!blue| are possible.
-% The default is |pagecolor={none}|. When |\nopagecolor| is unknown
+% The default is |nopagecolor={none}|. When |\nopagecolor| is unknown
% (e.\,g. \XeLaTeX ) or broken (\xpackage{crop} package) |\nopagecolor|
% is replaced by a |\pagecolor| command using the colour defined with the
% |nopagecolor| option. If |\nopagecolor| is not available and
-% |nopagecolor| is |none|, instead of |none|\hspace{1em}|white| is used.
+% |nopagecolor| is |none|, it is used |white| instead of |none|.
%
% \newpage
%
@@ -405,8 +407,9 @@ In memoriam
\usepackage[x11names]{xcolor}[2007/01/21]% v2.11
% The xcolor package would not be needed for just using
% the base colours. The color package would be sufficient for that.
+\definecolor{darkgreen}{rgb}{0.0, 0.3, 0.0}%
\usepackage[pagecolor={LightGoldenrod1},%
- nopagecolor={none}]{pagecolor}[2015/08/30]% v1.0h
+ nopagecolor={none}]{pagecolor}[2017/05/29]% v1.0i
\usepackage{afterpage}[2014/10/28]% v1.08
% The afterpage package is generally not needed,
@@ -422,13 +425,13 @@ In memoriam
% \hologo{pdfTeX}, \hologo{LuaTeX}, and \hologo{XeTeX}.
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
-\listfiles
+\listfiles%
\begin{document}
\pagenumbering{arabic}
\section*{Example for pagecolor}
This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.0h as of 2015/08/30 (HMM).\newline
+\textsf{pagecolor}, v1.0i as of 2017/05/29 (HMM).\newline
The used options were\newline
\verb|pagecolor={LightGoldenrod1}| (\verb|pagecolor={none}|
would be the default), and
@@ -436,7 +439,7 @@ would be the default), and
\noindent For more details please see the documentation!\newline
-\noindent {\color{teal} Save per page about $200\unit{ml}$ water,
+\noindent {\color{darkgreen} Save per page about $200\unit{ml}$ water,
$2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood:\newline
Therefore please print only if this is really necessary.}\newline
@@ -528,7 +531,7 @@ in mid-sentence!
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[2014/05/01]
-\ProvidesPackage{pagecolor}[2015/06/20 v1.0h
+\ProvidesPackage{pagecolor}[2017/05/29 v1.0i
Provides thepagecolor (HMM)]
% \end{macrocode}
%
@@ -633,7 +636,8 @@ in mid-sentence!
unknown:\MessageBreak%
By option nopagecolor the "colour" to be used with%
\string\nopagecolor\MessageBreak%
- is set. The current value is "none" (maybe by default),\MessageBreak%
+ is set. The current value is "none" (maybe by default),%
+ \MessageBreak%
but command \string\nopagecolor\space is undefined.\MessageBreak%
Therefore the colour cannot be "none".\MessageBreak%
Please change the option accordingly!\MessageBreak%
@@ -722,11 +726,17 @@ in mid-sentence!
\@ifpackagelater{crop}{2003/05/21}{%
% later than 2003/05/20 v1.9 might be OK
\PackageWarning{pagecolor}{%
- \string\nopagecolor\space did not work with package\MessageBreak%
+ \string\nopagecolor\space did not work with package%
+ \MessageBreak%
crop 2003/05/20 v1.9. A newer version is used, \MessageBreak%
- which the pagecolor package does not know how to handle.\MessageBreak%
- Please contact the maintainer of the pagecolor package!\MessageBreak%
+ which the pagecolor package does not know how to handle.%
+ \MessageBreak%
+ Please contact the maintainer of the pagecolor package!%
+ \MessageBreak%
}%
+% \end{macrocode}
+% \pagebreak
+% \begin{macrocode}
% Let us just hope everything got fixed:
\renewcommand{\nopagecolor}{%
\xdef\thepagecolor{white}%
@@ -751,7 +761,8 @@ in mid-sentence!
\string\nopagecolor\MessageBreak%
is set. The current value is "none" (maybe by default),%
\MessageBreak%
- but the crop package broke \string\nopagecolor .\MessageBreak%
+ but the crop package broke \string\nopagecolor .%
+ \MessageBreak%
Therefore the colour cannot be "none".\MessageBreak%
Please change the option accordingly!\MessageBreak%
As first aid nopagecolor is now set to white\MessageBreak%
@@ -787,6 +798,7 @@ in mid-sentence!
% \end{macrocode}
%
+% \pagebreak
% Now the page (background) colour as well as |\thepagecolor| are\\
% |\pagecolor@pagecolor|. |\thepagecolornone| is |none|, if that colour is known,
% otherwise it is |\pagecolor@nopagecolor|, and if that was |none| (but that unknown),
@@ -857,12 +869,11 @@ in mid-sentence!
\PackageWarning{pagecolor}{%
\string\nopagecolor\space did not work with package\MessageBreak%
crop 2003/05/20 v1.9. A newer version is used, \MessageBreak%
- which the pagecolor package does not know how to handle.\MessageBreak%
- Please contact the maintainer of the pagecolor package!\MessageBreak%
+ which the pagecolor package does not know how to handle.%
+ \MessageBreak%
+ Please contact the maintainer of the pagecolor package!%
+ \MessageBreak%
}%
-% \end{macrocode}
-% \pagebreak
-% \begin{macrocode}
% Let us just hope everything got fixed:
\renewcommand{\nopagecolor}{%
\xdef\thepagecolor{white}%
@@ -958,7 +969,7 @@ in mid-sentence!
% The |pagecolor-example.tex| requires the same file as all
% documents using the \xpackage{pagecolor} package, i.\,e.
% \begin{description}
-% \item[-] package \xpackage{pagecolor}, 2015/08/30, v1.0h,
+% \item[-] package \xpackage{pagecolor}, 2017/05/29, v1.0i,
% \url{https://www.ctan.org/pkg/pagecolor}\\
% (Well, it is the example file for this package, and because you are reading the
% documentation for the \xpackage{pagecolor} package, it~can be assumed that you already
@@ -1200,16 +1211,14 @@ in mid-sentence!
% I thank \textsc{haoyun\_tex} for suggesting the |\newpagecolor|/|\restorepagecolor|
% pair of commands and everyone at \url{https://tex.stackexchange.com/q/25137/6865}
% for their contributions there. Thanks go to \textsc{Heiner Richter}
-% for finding a bug and to \textsc{Johannes B\"{o}ttcher} for reporting it.
+% for finding a bug, to \textsc{Johannes B\"{o}ttcher} for reporting it,
+% and to \textsc{Reuben Thomas} for suggestions for improvements
+% of this documentation.
%
% \bigskip
%
% \phantomsection
% \begin{History}\label{History}
-%
-% Some old versions have been archived at
-% \url{http://ctanhg.scharrer-online.de/pkg/pagecolor.html}.
-%
% \begin{Version}{2011/07/16 v1.0a}
% \item First version discussed at \Newsgroup{comp.text.tex}.
% \end{Version}
@@ -1242,11 +1251,15 @@ in mid-sentence!
% \item Replaced all error messages by warnings.
% \end{Version}
% \begin{Version}{2015/08/30 v1.0h}
-% \item Bugfix: Cecking for \xpackage{crop} package done |\AtBeginDocument|,
+% \item Bugfix: Checking for \xpackage{crop} package done |\AtBeginDocument|,
% but some of the related code must already be performed earlier.
% Bug found by \textsc{Heiner Richter} and reported by
% \textsc{Johannes B\"{o}ttcher}, thanks!
% \end{Version}
+% \begin{Version}{2017/05/29 v1.0i}
+% \item Documentation update following suggestions for improvements by
+% \textsc{Reuben Thomas}, thanks!
+% \end{Version}
% \end{History}
%
% \bigskip
diff --git a/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins b/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
index dcbea2f65c9..a0095e5535e 100644
--- a/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
+++ b/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
@@ -9,9 +9,9 @@
%% This is a generated file.
%%
%% Project: pagecolor
-%% Version: 2015/08/30 v1.0h
+%% Version: 2017/05/29 v1.0i
%%
-%% Copyright (C) 2011 - 2015 by
+%% Copyright (C) 2011 - 2017 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%%
%% The usual disclaimer applies:
@@ -47,7 +47,7 @@
\input docstrip.tex
\Msg{******************************************************************}
\Msg{* Installation *}
-\Msg{* Package: pagecolor 2015/08/30 v1.0h Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2017/05/29 v1.0i Provides thepagecolor (HMM)*}
\Msg{******************************************************************}
\keepsilent
@@ -59,9 +59,9 @@
This is a generated file.
Project: pagecolor
-Version: 2015/08/30 v1.0h
+Version: 2017/05/29 v1.0i
-Copyright (C) 2011 - 2015 by
+Copyright (C) 2011 - 2017 by
H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
The usual disclaimer applies: