From 7c462278a2429faf985004a87d2e3332aee13ea3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 11 May 2016 21:29:20 +0000 Subject: xcolor (11may16) git-svn-id: svn://tug.org/texlive/trunk@41044 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/xcolor/ChangeLog | 10 ++ Master/texmf-dist/doc/latex/xcolor/README | 2 +- Master/texmf-dist/doc/latex/xcolor/xcolor.lox | 6 +- Master/texmf-dist/doc/latex/xcolor/xcolor.pdf | Bin 708541 -> 706269 bytes Master/texmf-dist/doc/latex/xcolor/xcolor1.tex | 8 +- Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf | Bin 95173 -> 96760 bytes Master/texmf-dist/doc/latex/xcolor/xcolor2.tex | 8 +- Master/texmf-dist/doc/latex/xcolor/xcolor3.tex | 13 ++- Master/texmf-dist/doc/latex/xcolor/xcolor4.tex | 9 +- Master/texmf-dist/dvips/xcolor/xcolor.pro | 4 +- Master/texmf-dist/source/latex/xcolor/xcolor.dtx | 114 +++++++++++++++-------- Master/texmf-dist/tex/latex/xcolor/svgnam.def | 4 +- Master/texmf-dist/tex/latex/xcolor/x11nam.def | 4 +- Master/texmf-dist/tex/latex/xcolor/xcolor.sty | 35 ++++--- 14 files changed, 142 insertions(+), 75 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/xcolor/ChangeLog b/Master/texmf-dist/doc/latex/xcolor/ChangeLog index fa98bcbea50..630eff06d9b 100644 --- a/Master/texmf-dist/doc/latex/xcolor/ChangeLog +++ b/Master/texmf-dist/doc/latex/xcolor/ChangeLog @@ -4,6 +4,16 @@ Package `xcolor' by Dr. Uwe Kern History ======= +2016/05/11 v2.12 +* New features: + - \nopagecolor command as introduced in `color' v1.1a + (example added to xcolor3.tex); + - `luatex' driver option (code provided by DPC) to fix + incompatibilities due to changes in new LuaTeX version. +* Bugfixes: + - possible name conflict by \XC@ifxcase call; + - incorrect internal \@hex@@Hex macro. + 2007/01/21 v2.11 * New features: - color names `lime' and `teal' added to the set of predefined diff --git a/Master/texmf-dist/doc/latex/xcolor/README b/Master/texmf-dist/doc/latex/xcolor/README index 12d30a04ce1..c81492b5d46 100644 --- a/Master/texmf-dist/doc/latex/xcolor/README +++ b/Master/texmf-dist/doc/latex/xcolor/README @@ -1,7 +1,7 @@ Package `xcolor' by Dr. Uwe Kern (xcolor at ukern dot de) -v2.11 (2007/01/21) +v2.12 (2016/05/11) `xcolor' provides easy driver-independent access to several kinds of colors, tints, shades, tones, and mixes of arbitrary colors by means of diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor.lox b/Master/texmf-dist/doc/latex/xcolor/xcolor.lox index 4ca5c000c98..7a299077419 100644 --- a/Master/texmf-dist/doc/latex/xcolor/xcolor.lox +++ b/Master/texmf-dist/doc/latex/xcolor/xcolor.lox @@ -22,11 +22,11 @@ %% in the same archive or directory.) %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% -\def\XCfileversion{v2.11}% -\def\XCfiledate{2007/01/21}% +\def\XCfileversion{v2.12}% +\def\XCfiledate{2016/05/11}% \def\ukfile#1#2#3#4% {\def\ukhead {\ifnum#1>2 \perCent!^^J\fi diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf b/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf index ccd9a19b571..0f5cdff702b 100644 Binary files a/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf and b/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf differ diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor1.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor1.tex index d9758ba6a8d..9190df20491 100644 --- a/Master/texmf-dist/doc/latex/xcolor/xcolor1.tex +++ b/Master/texmf-dist/doc/latex/xcolor/xcolor1.tex @@ -22,14 +22,14 @@ %% in the same archive or directory.) %% \ProvidesFile{xcolor1} - [2007/01/21 v2.11 Color conversion test (UK)] + [2016/05/11 v2.12 Color conversion test (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% -\def\XCfileversion{v2.11}% -\def\XCfiledate{2007/01/21}% +\def\XCfileversion{v2.12}% +\def\XCfiledate{2016/05/11}% \documentclass[a4paper]{article} \usepackage{array,multicol,multido,textcomp} diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf b/Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf index f0cb6672215..d9ed84b6535 100644 Binary files a/Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf and b/Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf differ diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor2.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor2.tex index 7d42358337c..b327f0d8724 100644 --- a/Master/texmf-dist/doc/latex/xcolor/xcolor2.tex +++ b/Master/texmf-dist/doc/latex/xcolor/xcolor2.tex @@ -22,14 +22,14 @@ %% in the same archive or directory.) %% \ProvidesFile{xcolor2} - [2007/01/21 v2.11 Pstricks color test (UK)] + [2016/05/11 v2.12 Pstricks color test (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% -\def\XCfileversion{v2.11}% -\def\XCfiledate{2007/01/21}% +\def\XCfileversion{v2.12}% +\def\XCfiledate{2016/05/11}% \listfiles \documentclass{article} diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex index 7b1c8cddf11..9a625fc8bc2 100644 --- a/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex +++ b/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex @@ -22,14 +22,14 @@ %% in the same archive or directory.) %% \ProvidesFile{xcolor3} - [2007/01/21 v2.11 Color logging test (UK)] + [2016/05/11 v2.12 Color logging test (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% -\def\XCfileversion{v2.11}% -\def\XCfiledate{2007/01/21}% +\def\XCfileversion{v2.12}% +\def\XCfiledate{2016/05/11}% \listfiles \documentclass[a4paper]{article} \usepackage[showerrors,table,dvipsnames*,hyperref]{xcolor}[2005/12/21] @@ -114,6 +114,11 @@ By playing around with different values of \texttt{\string\tracingcolors}, one c \vfill +\clearpage +\nopagecolor +Switch off \texttt{\string\pagecolor} by \texttt{\string\nopagecolor}. +The driver may or may not obey this command \dots + \clearpage \pagecolor{white} diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex index 27c034a188c..5533deb7a32 100644 --- a/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex +++ b/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex @@ -22,14 +22,14 @@ %% in the same archive or directory.) %% \ProvidesFile{xcolor4} - [2007/01/21 v2.11 Color driver test (UK)] + [2016/05/11 v2.12 Color driver test (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% -\def\XCfileversion{v2.11}% -\def\XCfiledate{2007/01/21}% +\def\XCfileversion{v2.12}% +\def\XCfiledate{2016/05/11}% \listfiles \documentclass[a4paper]{article} %%\PassOptionsToPackage{dvipdf}{xcolor} @@ -41,6 +41,7 @@ %%\PassOptionsToPackage{dviwindo}{xcolor} %%\PassOptionsToPackage{emtex}{xcolor} %%\PassOptionsToPackage{oztex}{xcolor} +%%\PassOptionsToPackage{luatex}{xcolor} %%\PassOptionsToPackage{pctex32}{xcolor} %%\PassOptionsToPackage{pctexhp}{xcolor} %%\PassOptionsToPackage{pctexps}{xcolor} diff --git a/Master/texmf-dist/dvips/xcolor/xcolor.pro b/Master/texmf-dist/dvips/xcolor/xcolor.pro index fcda805da5b..10536f9df3c 100644 --- a/Master/texmf-dist/dvips/xcolor/xcolor.pro +++ b/Master/texmf-dist/dvips/xcolor/xcolor.pro @@ -23,10 +23,10 @@ %% in the same archive or directory.) %% %% xcolor.pro (PostScript/dvips header file) -%% [2007/01/21 v2.11 LaTeX color extensions (UK)] +%% [2016/05/11 v2.12 LaTeX color extensions (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% userdict begin diff --git a/Master/texmf-dist/source/latex/xcolor/xcolor.dtx b/Master/texmf-dist/source/latex/xcolor/xcolor.dtx index 8e51c6e85f8..48ab957f481 100644 --- a/Master/texmf-dist/source/latex/xcolor/xcolor.dtx +++ b/Master/texmf-dist/source/latex/xcolor/xcolor.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% %<*package> @@ -17,8 +17,8 @@ %% % %<*extract|driver|test1|test2|test3|test4> -\def\XCfileversion{v2.11}% -\def\XCfiledate{2007/01/21}% +\def\XCfileversion{v2.12}% +\def\XCfiledate{2016/05/11}% % % % This file may be distributed and/or modified under the @@ -376,7 +376,7 @@ % % In general, there are several types of options: % \begin{itemize} -% \item options that determine the color driver as explained in \cite{dpc} and \cite{color}, currently: \Option{dvips}, \Option{xdvi}, \Option{dvipdf}, \Option{dvipdfm}, \Option{dvipdfmx}, \Option{pdftex}, \Option{dvipsone}, \Option{dviwindo}, \Option{emtex}, \Option{dviwin}, \Option{oztex}, \Option{textures}, \Option{pctexps}, \Option{pctexwin}, \Option{pctexhp}, \Option{pctex32}, \Option{truetex}, \Option{tcidvi}, \Option{vtex}, \Option{xetex}, +% \item options that determine the color driver as explained in \cite{dpc} and \cite{color}, currently: \Option{dvips}, \Option{xdvi}, \Option{dvipdf}, \Option{dvipdfm}, \Option{dvipdfmx}, \Option{luatex}, \Option{pdftex}, \Option{dvipsone}, \Option{dviwindo}, \Option{emtex}, \Option{dviwin}, \Option{oztex}, \Option{textures}, \Option{pctexps}, \Option{pctexwin}, \Option{pctexhp}, \Option{pctex32}, \Option{truetex}, \Option{tcidvi}, \Option{vtex}, \Option{xetex}, % \item options that determine the target color model\footnote{Section \vref{sec.tgt} explains how this setting can be overridden at any point in a document.} (\Option{natural}, \Option{rgb}, \Option{cmy}, \Option{cmyk}, \Option{hsb}, \Option{gray}, \Option{RGB}, \Option{HTML}, \Option{HSB}, \Option{Gray}) or disable colored output (\Option{monochrome}), % \item options that control whether and how certain sets of predefined colors are being loaded: \Option{dvipsnames}, \Option{dvipsnames*}, \Option{svgnames}, \Option{svgnames*}, \Option{x11names}, \Option{x11names*}, % \item options that determine which other packages are to be loaded or supported: \Option{table}, \Option{fixpdftex}, @@ -897,7 +897,7 @@ % \item \Option{x11names}/\Option{x11names*} loads a set of 317 \Model{rgb} color names\footnote{These names represent 315 different colors.} that are basically variations of a subset of the \Index{SVG} set mentioned before, according to the file \File{rgb.txt} which is part of \Index{Unix}/\Index{X11} distributions\footnote{Again, the original definitions are given in \Model{RGB} parameters, converted to \Model{rgb} by the author.}. % We describe now how to access all 752 color names of \File{rgb.txt} without much effort: % \begin{itemize} -% \item Load \Option{x11namees} as well as \Option{svgnames}. +% \item Load \Option{x11names} as well as \Option{svgnames}. % \item Capitalise initials and skip blanks: \Color[-]{DarkSlateGray} instead of \Color[-]{dark slate gray}. % \item \Index{X11} names without numbers are identical to the corresponding \Index{SVG} colors, except in 5~cases: % use \Color{Gray0}, \Color{Grey0}, \Color{Green0}, \Color{Maroon0}, \Color{Purple0} instead of \Color[-]{Gray}, \Color[-]{Grey}, \Color[-]{Green}, \Color[-]{Maroon}, \Color[-]{Purple} to obtain the original \Index{X11} colors. @@ -1095,6 +1095,10 @@ % Note that color-specific commands from other packages may give unexpected results if directly confronted with color expressions (e.g., \Package{soul}'s |\sethlcolor| and friends). % However, one can turn the expression into a name via |\colorlet| and try to use that name instead. % +% \DescribeMacro\nopagecolor +% Removes any currently specified page color returning to the default transparent background. +% It is not yet supported by all driver options and so generates a warning if there is no definition in the driver file. +% % % \subsubsection{Colored boxes}\label{sec.fbox} % @@ -2154,37 +2158,35 @@ % \rowcolor{tableheadcolor} % \hline % \em Driver&\em Version&\Model{rgb}&\Model{cmy}&\Model{cmyk}&\Model{hsb}&\Model{gray}&\Model{RGB}&\Model{HTML}&\Model{HSB}&\Model{Gray}\\ -% \Option{dvipdf}&1999/02/16 v3.0i&d&n&d&n&d&i&n&n&n\\ -% \Option{dvips}&1999/02/16 v3.0i&d&n&d&d&d&i&n&n&n\\ -% \Option{dvipsone}&1999/02/16 v3.0i&d&n&d&d&d&i&n&n&n\\ -% \Option{pctex32}&1999/02/16 v3.0i&d&n&d&d&d&i&n&n&n\\ -% \Option{pctexps}&1999/02/16 v3.0i&d&n&d&d&d&i&n&n&n\\ -% \hline -% \Option{pdftex}&2006/03/02 v0.03p&d&n&d&n&d&i&n&n&n\\ +% \Option{dvipdf}&2015/12/30 v3.0k&d&n&d&n&d&i&n&n&n\\ +% \Option{dvips}&2015/12/30 v3.0k&d&n&d&d&d&i&n&n&n\\ +% \Option{dvipsone}&2015/12/30 v3.0k&d&n&d&d&d&i&n&n&n\\ +% \Option{pctex32}&2015/12/30 v3.0k&d&n&d&d&d&i&n&n&n\\ +% \Option{pctexps}&2015/12/30 v3.0k&d&n&d&d&d&i&n&n&n\\ % \hline -% \Option{dvipdfm}&1998/11/24 vx.x\,\footnotemark[1]&d&n&d&a&d&i&n&n&n\\ -% \Option{dvipdfm}&1999/9/6 vx.x\,\footnotemark[2]&d&n&d&a&d&i&n&n&n\\ +% \Option{pdftex}&2011/05/27 v0.06d&d&n&d&n&d&i&n&n&n\\ +% \Option{luatex}&2016/01/23 v0.01b&d&n&d&n&d&i&n&n&n\\ % \hline -% \Option{dvipdfmx}&?&d&n&d&f&d&i&n&n&n\\ +% \Option{dvipdfm}&1999/9/6 vx.x&d&n&d&n&d&i&n&n&n\\ +% \Option{dvipdfmx}&2016/04/06 v4.08&d&n&d&?&d&i&n&n&n\\ % \hline -% \Option{textures}&1997/5/28 v0.3&d&n&d&a&i&n&n&n&n\\ +% \Option{textures}&1997/5/28 v0.3&d&n&d&?&i&n&n&n&n\\ % \hline % \Option{vtex}&1999/01/14 v6.3&d&n&d&n&i&i&n&n&n\\ % \hline -% \Option{xetex}&2004/05/09 v0.7&i&n&i&i&i&i&d&n&n\\ +% \Option{xetex}&2016/04/06 v4.08&d&n&d&d&d&i&n&n&n\\ % \hline -% \Option{tcidvi}&1999/02/16 v3.0i&i&n&i&n&i&d&n&n&n\\ -% \Option{truetex}&1999/02/16 v3.0i&i&n&i&n&i&d&n&n&n\\ +% \Option{tcidvi}&2015/12/30 v3.0k&i&n&i&n&i&d&n&n&n\\ +% \Option{truetex}&2015/12/30 v3.0k&i&n&i&n&i&d&n&n&n\\ % \hline -% \Option{dviwin}&1999/02/16 v3.0i&n&n&n&n&n&n&n&n&n\\ -% \Option{emtex}&1999/02/16 v3.0i&n&n&n&n&n&n&n&n&n\\ -% \Option{pctexhp}&1999/02/16 v3.0i&n&n&n&n&n&n&n&n&n\\ -% \Option{pctexwin}&1999/02/16 v3.0i&n&n&n&n&n&n&n&n&n\\ +% \Option{dviwin}&2015/12/30 v3.0k&n&n&n&n&n&n&n&n&n\\ +% \Option{emtex}&2015/12/30 v3.0k&n&n&n&n&n&n&n&n&n\\ +% \Option{pctexhp}&2015/12/30 v3.0k&n&n&n&n&n&n&n&n&n\\ +% \Option{pctexwin}&2015/12/30 v3.0k&n&n&n&n&n&n&n&n&n\\ % \hline\hline % \multicolumn{11}c{\Option{dviwindo} = \Option{dvipsone}; \Option{oztex} = \Option{dvips}; \Option{xdvi} = \Option{dvips} + \Option{monochrome}}\\ -% \multicolumn{11}c{\footnotemark[1]\,part of \Package{graphics} package\quad \footnotemark[2]\,additionally distributed with MiK\TeX}\\ % \hline -% \multicolumn{11}c{Driver's color model support: d\,=\,direct, i\,=\,indirect, a\,=\,alleged, n\,=\,none, f\,=\,faulty}\\ +% \multicolumn{11}c{Driver's color model support: d\,=\,direct, i\,=\,indirect, n\,=\,none}\\ % \hline % \end{tabular} % \end{table} @@ -3056,11 +3058,11 @@ % \URL{http://www.physics.sfasu.edu/astro/color/spectra.html}} % % \bibitem{dpc}% -% {\People{David P.}{Carlisle}: ``Packages in the `graphics' bundle'', 2005. +% {\People{David P.}{Carlisle}: ``Packages in the `graphics' bundle'', 2014. % \CTAN{macros/latex/required/graphics/}{grfguide.*}} % % \bibitem{color}% -% {\People{David P.}{Carlisle}: \LCP, ``2005/11/14 v1.0j Standard \LaTeX{} Color''. +% {\People{David P.}{Carlisle}: \LCP, ``2016/01/03 v1.1b Standard LaTeX Color (DPC)''. % \CTAN{macros/latex/required/graphics/}{color.dtx}} % % \bibitem{colortbl}% @@ -3142,6 +3144,20 @@ % \subsection*{History} % \addcontentsline{toc}{subsection}{History} % +% \subsubsection*{2016/05/11 v2.12} +% \begin{itemize} +% \item New features: +% \begin{itemize} +% \item |\nopagecolor| command as introduced in \LC{} v1.1a (example added to \File{xcolor3.tex}); +% \item \Option{luatex} driver option (code provided by DPC) to fix incompatibilities due to changes in new Lua\TeX\ version. +% \end{itemize} +% \item Bugfixes: +% \begin{itemize} +% \item possible name conflict by |\XC@ifxcase| call; +% \item incorrect internal |\@hex@@Hex| macro. +% \end{itemize} +% \end{itemize} +% % \subsubsection*{2007/01/21 v2.11} % \begin{itemize} % \item New features: @@ -3789,10 +3805,10 @@ % If all tests are `false', then \Meta{default code} is executed. % \begin{macrocode} \long\def\XC@ifxcase#1#2#3% - {\long\def\@@tmp##1##2% + {\long\def\XC@if@##1##2% {\ifx#1##1% - \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\@@tmp\fi}% - \@@tmp#2#1{#3}\@nnil\the\toks@} + \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\XC@if@\fi}% + \XC@if@#2#1{#3}\@nnil\the\toks@} % \end{macrocode} % \end{macro} % @@ -3804,10 +3820,10 @@ % If all tests are `false', then \Meta{default code} is executed. % \begin{macrocode} \long\def\XC@ifcase#1#2#3% - {\long\def\@@tmp##1##2% + {\long\def\XC@if@##1##2% {\@expandtwoargs\in@{,#1,}{,##1,}\ifin@ - \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\@@tmp\fi}% - \@@tmp#2{#1}{#3}\@nnil\the\toks@} + \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\XC@if@\fi}% + \XC@if@#2{#1}{#3}\@nnil\the\toks@} % \end{macrocode} % \end{macro} % @@ -4029,7 +4045,7 @@ % Drivers that come with their individual definition files: % \begin{macrocode} \@tfor\@@tmp:={dvipdf}{dvipdfm}{dvipdfmx}{dvips}{dvipsone}{dviwin}% - {emtex}{pctex32}{pctexhp}{pctexps}{pctexwin}{pdftex}% + {emtex}{luatex}{pctex32}{pctexhp}{pctexps}{pctexwin}{pdftex}% {tcidvi}{textures}{truetex}{vtex}{xetex}\do {\edef\@@tmp{\noexpand\DeclareOption{\@@tmp}% {\def\noexpand\Gin@driver{\@@tmp.def}}}% @@ -4142,6 +4158,13 @@ {pdftex}% {\def\@tempa{1} \def\XC@special#1{\pdfliteral{ q #1 Q }}}% + {luatex}% + {\def\@tempa{1} + \ifnum\luatexversion<87% + \def\XC@special#1{\pdfliteral{ q #1 Q }}% + \else% + \def\XC@special#1{\pdfextension literal{ q #1 Q }}% + \fi}% {dvipdfm}% {\def\@tempa{1} \def\XC@special#1{\special{pdf: content #1}}}% @@ -4255,7 +4278,7 @@ % \begin{macrocode} \def\GetGinDriver {\@tempswafalse - \@tfor\@@tmp:={dvips}{pdftex}{dvipdf}{dvipdfm}{dvipsone}{vtex}{textures}% + \@tfor\@@tmp:={dvips}{luatex}{pdftex}{dvipdf}{dvipdfm}{dvipsone}{vtex}{textures}% \do{\ifx\XC@@drv\@@tmp\@tempswatrue\@break@tfor\fi}% \edef\GinDriver{\if@tempswa\XC@@drv\else hypertex\fi}} % \end{macrocode} @@ -4273,7 +4296,7 @@ \def\@hex@Hex#1{\ifx#1\relax\else\expandafter\@hex@@Hex\expandafter#1\fi} \def\@hex@@Hex#1% {\if a#1A\else \if b#1B\else \if c#1C\else \if d#1D\else - \if e#1E\else \if f#1f\else #1\fi\fi\fi\fi\fi\fi \@hex@Hex} + \if e#1E\else \if f#1F\else #1\fi\fi\fi\fi\fi\fi \@hex@Hex} % \end{macrocode} % \end{macro} % @@ -5415,6 +5438,17 @@ % \end{macrocode} % \end{macro} % +% \begin{macro}{\nopagecolor} +% Removes any currently specified page color returning to the default transparent background. +% It is not yet supported by all driver options and so generates a warning if there is no definition in the driver file. +% \begin{macrocode} +\def\nopagecolor + {\@ifundefined{no@page@color}% + {\PackageInfo{xcolor}{\string\nopagecolor\space is not supported}}% + {\no@page@color}} +% \end{macrocode} +% \end{macro} +% % % \subsubsection{Colored boxes} % @@ -6958,7 +6992,7 @@ % \end{macrocode} % % \begin{macrocode} - {dvipsone,pctexps,pdftex,tcidvi,truetex,vtex,xetex}% + {dvipsone,luatex,pctexps,pdftex,tcidvi,truetex,vtex,xetex}% {\def\c@lor@@named#1,#2,#3\@@#4% {\edef#4{\expandafter\expandafter\expandafter\@thirdoffive \csname\string\color@#1\endcsname}} @@ -7988,6 +8022,11 @@ By playing around with different values of \texttt{\string\tracingcolors}, one c \vfill +\clearpage +\nopagecolor +Switch off \texttt{\string\pagecolor} by \texttt{\string\nopagecolor}. +The driver may or may not obey this command \dots + \clearpage \pagecolor{white} @@ -8124,6 +8163,7 @@ Type test: %%\PassOptionsToPackage{dviwindo}{xcolor} %%\PassOptionsToPackage{emtex}{xcolor} %%\PassOptionsToPackage{oztex}{xcolor} +%%\PassOptionsToPackage{luatex}{xcolor} %%\PassOptionsToPackage{pctex32}{xcolor} %%\PassOptionsToPackage{pctexhp}{xcolor} %%\PassOptionsToPackage{pctexps}{xcolor} diff --git a/Master/texmf-dist/tex/latex/xcolor/svgnam.def b/Master/texmf-dist/tex/latex/xcolor/svgnam.def index adb84576223..a947636ab3f 100644 --- a/Master/texmf-dist/tex/latex/xcolor/svgnam.def +++ b/Master/texmf-dist/tex/latex/xcolor/svgnam.def @@ -22,10 +22,10 @@ %% in the same archive or directory.) %% \ProvidesFile{svgnam.def} - [2007/01/21 v2.11 Predefined colors according to SVG 1.1 (UK)] + [2016/05/11 v2.12 Predefined colors according to SVG 1.1 (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% \def\colornameprefix{XC@} diff --git a/Master/texmf-dist/tex/latex/xcolor/x11nam.def b/Master/texmf-dist/tex/latex/xcolor/x11nam.def index 2a92a29f985..61bcdecb88d 100644 --- a/Master/texmf-dist/tex/latex/xcolor/x11nam.def +++ b/Master/texmf-dist/tex/latex/xcolor/x11nam.def @@ -22,10 +22,10 @@ %% in the same archive or directory.) %% \ProvidesFile{x11nam.def} - [2007/01/21 v2.11 Predefined colors according to Unix/X11 (UK)] + [2016/05/11 v2.12 Predefined colors according to Unix/X11 (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% \def\colornameprefix{XC@} diff --git a/Master/texmf-dist/tex/latex/xcolor/xcolor.sty b/Master/texmf-dist/tex/latex/xcolor/xcolor.sty index 96e87614d53..7bcf5cc20c2 100644 --- a/Master/texmf-dist/tex/latex/xcolor/xcolor.sty +++ b/Master/texmf-dist/tex/latex/xcolor/xcolor.sty @@ -22,10 +22,10 @@ %% in the same archive or directory.) %% \ProvidesPackage{xcolor} - [2007/01/21 v2.11 LaTeX color extensions (UK)] + [2016/05/11 v2.12 LaTeX color extensions (UK)] %% %% ---------------------------------------------------------------- -%% Copyright (C) 2003-2007 by Dr. Uwe Kern +%% Copyright (C) 2003-2016 by Dr. Uwe Kern %% ---------------------------------------------------------------- %% %% Please send error reports and suggestions for @@ -115,15 +115,15 @@ {\ifx#1\@@ifxempty \expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi} \long\def\XC@ifxcase#1#2#3% - {\long\def\@@tmp##1##2% + {\long\def\XC@if@##1##2% {\ifx#1##1% - \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\@@tmp\fi}% - \@@tmp#2#1{#3}\@nnil\the\toks@} + \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\XC@if@\fi}% + \XC@if@#2#1{#3}\@nnil\the\toks@} \long\def\XC@ifcase#1#2#3% - {\long\def\@@tmp##1##2% + {\long\def\XC@if@##1##2% {\@expandtwoargs\in@{,#1,}{,##1,}\ifin@ - \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\@@tmp\fi}% - \@@tmp#2{#1}{#3}\@nnil\the\toks@} + \toks@{##2}\expandafter\remove@to@nnil\else\expandafter\XC@if@\fi}% + \XC@if@#2{#1}{#3}\@nnil\the\toks@} \def\XC@@opt{,} \def\@ifXCopt#1% {\@expandtwoargs\in@{,#1,}{\XC@@opt}% @@ -189,7 +189,7 @@ \@break@tfor\fi}}} \providecommand*\Gin@driver{} \@tfor\@@tmp:={dvipdf}{dvipdfm}{dvipdfmx}{dvips}{dvipsone}{dviwin}% - {emtex}{pctex32}{pctexhp}{pctexps}{pctexwin}{pdftex}% + {emtex}{luatex}{pctex32}{pctexhp}{pctexps}{pctexwin}{pdftex}% {tcidvi}{textures}{truetex}{vtex}{xetex}\do {\edef\@@tmp{\noexpand\DeclareOption{\@@tmp}% {\def\noexpand\Gin@driver{\@@tmp.def}}}% @@ -236,6 +236,13 @@ {pdftex}% {\def\@tempa{1} \def\XC@special#1{\pdfliteral{ q #1 Q }}}% + {luatex}% + {\def\@tempa{1} + \ifnum\luatexversion<87% + \def\XC@special#1{\pdfliteral{ q #1 Q }}% + \else% + \def\XC@special#1{\pdfextension literal{ q #1 Q }}% + \fi}% {dvipdfm}% {\def\@tempa{1} \def\XC@special#1{\special{pdf: content #1}}}% @@ -276,13 +283,13 @@ \def\xglobalize@#1{\ifx\xglobal@\global\global\let#1#1\fi} \def\GetGinDriver {\@tempswafalse - \@tfor\@@tmp:={dvips}{pdftex}{dvipdf}{dvipdfm}{dvipsone}{vtex}{textures}% + \@tfor\@@tmp:={dvips}{luatex}{pdftex}{dvipdf}{dvipdfm}{dvipsone}{vtex}{textures}% \do{\ifx\XC@@drv\@@tmp\@tempswatrue\@break@tfor\fi}% \edef\GinDriver{\if@tempswa\XC@@drv\else hypertex\fi}} \def\@hex@Hex#1{\ifx#1\relax\else\expandafter\@hex@@Hex\expandafter#1\fi} \def\@hex@@Hex#1% {\if a#1A\else \if b#1B\else \if c#1C\else \if d#1D\else - \if e#1E\else \if f#1f\else #1\fi\fi\fi\fi\fi\fi \@hex@Hex} + \if e#1E\else \if f#1F\else #1\fi\fi\fi\fi\fi\fi \@hex@Hex} \def\XC@strip@comma#1,#2% {\ifx,#2% #1\expandafter\remove@to@nnil\else#1 \expandafter\XC@strip@comma\fi @@ -752,6 +759,10 @@ {\begingroup \let\ignorespaces\endgroup \let\set@color\set@page@color \color} +\def\nopagecolor + {\@ifundefined{no@page@color}% + {\PackageInfo{xcolor}{\string\nopagecolor\space is not supported}}% + {\no@page@color}} \def\colorbox#1#{\protect\color@box{#1}} \def\color@box#1#2{\color@b@x\relax{\color#1{#2}}} \def\fcolorbox#1#{\color@fbox{#1}} @@ -1398,7 +1409,7 @@ \csname\string\color@#1\endcsname}} \def\define@color@named#1#2% {\@namedef{\string\color@#1}{{}{}{ \colornameprefix#1}{}{}}}}% - {dvipsone,pctexps,pdftex,tcidvi,truetex,vtex,xetex}% + {dvipsone,luatex,pctexps,pdftex,tcidvi,truetex,vtex,xetex}% {\def\c@lor@@named#1,#2,#3\@@#4% {\edef#4{\expandafter\expandafter\expandafter\@thirdoffive \csname\string\color@#1\endcsname}} -- cgit v1.2.3