diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf | bin | 85717 -> 85717 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf | bin | 319560 -> 320120 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/pagecolor/pagecolor.drv | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx | 77 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/pagecolor/pagecolor.ins | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty | 27 |
8 files changed, 80 insertions, 57 deletions
diff --git a/Master/texmf-dist/doc/latex/pagecolor/README b/Master/texmf-dist/doc/latex/pagecolor/README index 3ed0bdc5e23..a1dc382c79e 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/README +++ b/Master/texmf-dist/doc/latex/pagecolor/README @@ -1,4 +1,4 @@ -README for pagecolor package, 2015/08/30, v1.0h +README for pagecolor package, 2017/05/29, v1.0i TABLE OF CONTENTS diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf Binary files differindex e5bc106130f..dba8dd4f911 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf +++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex index 0a1e7a61ae0..da72469ed78 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex +++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex @@ -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: @@ -63,8 +63,9 @@ \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, @@ -80,13 +81,13 @@ % \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 @@ -94,7 +95,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 diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf b/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf Binary files differindex a7c6ad97453..d2f611b6ee7 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf +++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf 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: diff --git a/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty b/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty index 51cf349366d..912187a91bc 100644 --- a/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty +++ b/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty @@ -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: @@ -45,7 +45,7 @@ %% Hans-Klaus Muench + 2014/08/24 %% \NeedsTeXFormat{LaTeX2e}[2014/05/01] -\ProvidesPackage{pagecolor}[2015/06/20 v1.0h +\ProvidesPackage{pagecolor}[2017/05/29 v1.0i Provides thepagecolor (HMM)] %% Provides the \thepagecolor, \thepagecolornone, \newpagecolor{...}, %% and \restorepagecolor commands and the a replacement for the @@ -107,7 +107,8 @@ 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% @@ -170,10 +171,13 @@ \@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% }% % Let us just hope everything got fixed: \renewcommand{\nopagecolor}{% @@ -199,7 +203,8 @@ \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% @@ -247,8 +252,10 @@ \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% }% % Let us just hope everything got fixed: \renewcommand{\nopagecolor}{% |