summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xcolor
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2006-10-04 08:43:01 +0000
committerNorbert Preining <preining@logic.at>2006-10-04 08:43:01 +0000
commitba9472aebfed07843bc4faa00c7b96bc86194691 (patch)
tree4a952a012e2f1663beaac6384dec265fb50dd361 /Master/texmf-dist/doc/latex/xcolor
parenta88bdfe70c672cfced299babf0a54881a916bcca (diff)
Fix ctan2tds for pgf installation
comment powerdot-doc-vn in tpm-ctan-check, it always breaks Update of the following packages: labelcas pstricks-add sectionbox ltxmisc frenchle flowfram verse emulateapj pst-pdf poemscol babelbib dk-bib breakurl screenplay ncctools xkeyval bibleref muthesis pst-labo pgf ncclatex active-conf xcolor commath lineno dottex makeplo git-svn-id: svn://tug.org/texlive/trunk@2240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/xcolor')
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/ChangeLog52
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/README10
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor.lox5
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor.pdfbin606645 -> 700615 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor1.tex6
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor2.pdfbin95240 -> 95372 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor2.tex12
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor3.tex186
-rw-r--r--Master/texmf-dist/doc/latex/xcolor/xcolor4.tex136
9 files changed, 324 insertions, 83 deletions
diff --git a/Master/texmf-dist/doc/latex/xcolor/ChangeLog b/Master/texmf-dist/doc/latex/xcolor/ChangeLog
index 0434350886b..1a287bb3259 100644
--- a/Master/texmf-dist/doc/latex/xcolor/ChangeLog
+++ b/Master/texmf-dist/doc/latex/xcolor/ChangeLog
@@ -4,6 +4,58 @@ Package `xcolor' by Dr. Uwe Kern
History
=======
+2005/12/21 v2.09
+* New features:
+ - \definecolor and \color now accept space-separated color
+ specifications, e.g., \color[rgb]{1 .5 0};
+ - experimental `xcdraw' option extended to `pdftex' and `dvipdfm'
+ drivers.
+* Changes:
+ - test file xcolor2.tex made compatible with recent changes in
+ `pstricks';
+ - test file xcolor3.tex extended;
+ - driver test file xcolor4.tex extended to demonstrate the different
+ frame drawing approaches;
+ - more efficient implementation of driver-specific code.
+
+2005/11/25 v2.08
+* New features:
+ - more flexibility for \fcolorbox arguments, e.g.,
+ \fcolorbox[gray]{0.5}[wave]{580}{test};
+ - \boxframe returns a frame of given dimensions;
+ - new implementation of \f(rame)box and \fcolorbox as an extension
+ of bug report latex/3655 to reduce pixel positioning errors in
+ output devices;
+ - `kernelfbox' option for those who prefer the previous \f(rame)box
+ approach;
+ - experimental `xcdraw' option uses PostScript commands to draw
+ frames and color boxes in case of `dvips'.
+* Bugfixes:
+ - insufficient expression type detection within \colorlet;
+ - wrong calculation in the unit interval reduction for negative
+ integers (affecting color series and extended color expressions).
+
+2005/11/12 v2.07
+* New features:
+ - color model `Hsb' allows to specify hue in degrees;
+ - color model `tHsb' (`tuned Hsb') for user-defined hue
+ configuration on color wheels;
+ - easy generation of color harmonies derived from `Hsb' or `tHsb'
+ color wheels, e.g., \color{red>wheel,1,12} yields an `analogous'
+ color to `red' on a 12-spoke wheel;
+ - additional 317 predefined color names according to rgb.txt, which
+ is part of Unix/X11 distributions;
+ - `svgnames' option extended by 4 colors taken from rgb.txt;
+ - enhanced syntax for immediate conversion, e.g.,
+ \definecolor{foo}{rgb:gray}{0.3} or \color[rgb:wave]{478};
+ - \@ifundefinedcolor and \@ifundefinedmodel commands.
+* Changes:
+ - enhanced documentation;
+ - several changes to internal macros.
+* Bugfixes:
+ - wrong calculation of color series components in some cases of
+ negative step parameters.
+
2005/10/15 v2.06
* New features:
- color model `wave' for (approximate) visualisation of light
diff --git a/Master/texmf-dist/doc/latex/xcolor/README b/Master/texmf-dist/doc/latex/xcolor/README
index 155040a75f4..9996c72a2c4 100644
--- a/Master/texmf-dist/doc/latex/xcolor/README
+++ b/Master/texmf-dist/doc/latex/xcolor/README
@@ -1,15 +1,15 @@
Package `xcolor' by Dr. Uwe Kern
(xcolor at ukern dot de)
-v2.06 (2005/10/15)
+v2.09 (2005/12/21)
`xcolor' provides easy driver-independent access to several kinds of
colors, tints, shades, tones, and mixes of arbitrary colors by means of
color expressions like \color{red!50!green!20!blue}.
It allows to select a document-wide target color model and offers tools
for automatic color schemes, conversion between nine color models,
-alternating table row colors, color blending and masking, and color
-separation.
+alternating table row colors, color blending and masking, color
+separation, and color wheel calculations.
Installation instructions
=========================
@@ -41,8 +41,8 @@ Notes
50-page document with several systematic color conversion examples
- `xcolor2.tex' is a 3-page `pstricks' example document that won't run
with pdfLaTeX
-- `xcolor3.tex' is a 1-page example for demonstrating the logging
- facilities
+- `xcolor3.tex' is a 2-page example for demonstrating several display
+ and logging facilities
- `xcolor4.tex' is a 1-page driver test file;
uncomment the relevant code line in the header and run it with the
appropriate program, e.g., `latex xcolor4' or any other processor;
diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor.lox b/Master/texmf-dist/doc/latex/xcolor/xcolor.lox
index adccdddbf87..03233045853 100644
--- a/Master/texmf-dist/doc/latex/xcolor/xcolor.lox
+++ b/Master/texmf-dist/doc/latex/xcolor/xcolor.lox
@@ -25,8 +25,8 @@
%% Copyright (C) 2003-2005 by Dr. Uwe Kern <xcolor at ukern dot de>
%% ----------------------------------------------------------------
%%
-\def\XCfileversion{v2.06}%
-\def\XCfiledate{2005/10/15}%
+\def\XCfileversion{v2.09}%
+\def\XCfiledate{2005/12/21}%
\def\ukfile#1#2#3#4%
{\def\ukhead
{\ifnum#1>2 \perCent!^^J\fi
@@ -43,6 +43,7 @@
\generate{
\ukfile0{xcolor}{package}{LaTeX color extensions}
\ukfile2{svgnam}{svgnames}{Predefined colors according to SVG 1.1}
+\ukfile2{x11nam}{x11names}{Predefined colors according to Unix/X11}
\ukfile1{xcolor1}{test1}{Color conversion test}
\ukfile1{xcolor2}{test2}{Pstricks color test}
\ukfile1{xcolor3}{test3}{Color logging test}
diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf b/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf
index e1806f83fa2..433d3cabfce 100644
--- a/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf
+++ b/Master/texmf-dist/doc/latex/xcolor/xcolor.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor1.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor1.tex
index 74215b2d4bb..5beeb036035 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}
- [2005/10/15 v2.06 Color conversion test (UK)]
+ [2005/12/21 v2.09 Color conversion test (UK)]
%%
%% ----------------------------------------------------------------
%% Copyright (C) 2003-2005 by Dr. Uwe Kern <xcolor at ukern dot de>
%% ----------------------------------------------------------------
%%
-\def\XCfileversion{v2.06}%
-\def\XCfiledate{2005/10/15}%
+\def\XCfileversion{v2.09}%
+\def\XCfiledate{2005/12/21}%
\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 a71b77c8ca5..33c72a09044 100644
--- a/Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf
+++ b/Master/texmf-dist/doc/latex/xcolor/xcolor2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor2.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor2.tex
index 38f04d8a5d4..e369af14e5f 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}
- [2005/10/15 v2.06 Pstricks color test (UK)]
+ [2005/12/21 v2.09 Pstricks color test (UK)]
%%
%% ----------------------------------------------------------------
%% Copyright (C) 2003-2005 by Dr. Uwe Kern <xcolor at ukern dot de>
%% ----------------------------------------------------------------
%%
-\def\XCfileversion{v2.06}%
-\def\XCfiledate{2005/10/15}%
+\def\XCfileversion{v2.09}%
+\def\XCfiledate{2005/12/21}%
\listfiles
\documentclass{article}
@@ -57,7 +57,7 @@
\begin{figure}[htb]\caption{Modified version of an example from the \textsf{pstricks} manual; requires \textsf{pst-tree}}
\begin{SideBySideExample}[fontsize=\footnotesize,xrightmargin=.45\textwidth]
- \begin{pspicture}[.5](-0.5,-2)(3,2)
+ \begin{pspicture}(-0.5,-2)(3,2)
\cnode(0,0){.5cm}{root}
\cnode*[linecolor=red](3,1.5){4pt}{A}
\cnode*[linecolor=red!72.5375!blue](3,0){4pt}{B}
@@ -123,8 +123,8 @@
\begin{Example}[fontsize=\footnotesize,xrightmargin=.45\textwidth]
\newcount\WL \unitlength.75pt
\def\WaveToPS#1%
- {\definecolor{tmp}{wave}{#1}\extractcolorspec{tmp}\tmp
- \expandafter\convertcolorspec\tmp{rgb}\tmp \expandafter\WaveToPSi\tmp,}
+ {\definecolor{tmp}{rgb:wave}{#1}\extractcolorspecs{tmp}\tmpm\tmpc
+ \expandafter\WaveToPSi\tmpc,}
\def\WaveToPSi#1,#2,#3,{\pstVerb{/Red{#1}def /Green{#2}def /Blue{#3}def}}
\def\DisplayBar#1#2%
{\linethickness{1.25\unitlength}\WL=360
diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex
index a9e6dc0613b..4956e60f3bb 100644
--- a/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex
+++ b/Master/texmf-dist/doc/latex/xcolor/xcolor3.tex
@@ -22,17 +22,24 @@
%% in the same archive or directory.)
%%
\ProvidesFile{xcolor3}
- [2005/10/15 v2.06 Color logging test (UK)]
+ [2005/12/21 v2.09 Color logging test (UK)]
%%
%% ----------------------------------------------------------------
%% Copyright (C) 2003-2005 by Dr. Uwe Kern <xcolor at ukern dot de>
%% ----------------------------------------------------------------
%%
-\def\XCfileversion{v2.06}%
-\def\XCfiledate{2005/10/15}%
+\def\XCfileversion{v2.09}%
+\def\XCfiledate{2005/12/21}%
\listfiles
-\documentclass{article}
-\usepackage[table,dvipsnames]{xcolor}[2005/03/24]
+\documentclass[a4paper]{article}
+\usepackage[showerrors,table,dvipsnames*,hyperref]{xcolor}[2005/12/21]
+\usepackage[margin=2.25cm]{geometry}
+\usepackage
+ [\GinDriver,hyperindex=false,bookmarks,bookmarksopen,bookmarksopenlevel=1,%
+ pdftitle={xcolor3 \XCfileversion{} (\XCfiledate)},pdfauthor={Dr. Uwe Kern},%
+ pdfsubject={Color extensions for LaTeX and pdfLaTeX},%
+ pdfkeywords={xcolor,color,colour,model,tint,tone,shade,harmony,spot,latex,pdftex,dvips,%
+ conversion,blend,mix,mask,separation,rgb,cmy,cmyk,hsb,gray,html,wave,thsb,wheel}]{hyperref}
\tracingcolors=4
%%\tracingcolors=3
@@ -43,40 +50,132 @@
\parindent0pt
\pagecolor{gray!25}
+\definecolors{JungleGreen,DarkOrchid}
+
\begin{document}
-\title{Color extensions with the \textsf{xcolor} package --- log file example}
-\author{Dr. Uwe Kern\thanks{This file is part of the \textsf{xcolor} distribution which can be downloaded from the CTAN mirrors (\texttt{macros/latex/contrib/xcolor/}) or the homepage \texttt{www.ukern.de/tex/xcolor.html}. Please send error reports and suggestions for improvements to \texttt{xcolor@ukern.de}.}}
-\date{\XCfileversion{} (\XCfiledate)}
+\title{Color extensions with the \textsf{xcolor} package --- various examples}
+\author{\href{mailto:xcolor@ukern.de}{\fboxrule0pt\fboxsep2pt\fbox{Dr. Uwe Kern}}}
+\date{\XCfileversion{} (\XCfiledate)
+\thanks{This file (\texttt{\jobname.tex}) is part of the \textsf{xcolor} distribution which can be downloaded from the CTAN mirrors \texttt{\href{http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor/}{CTAN/macros/latex/contrib/xcolor/}} or the homepage \texttt{\href{http://www.ukern.de/tex/xcolor.html}{www.ukern.de/tex/xcolor.html}}. Please send error reports and suggestions for improvements to \texttt{\href{mailto:xcolor@ukern.de}{xcolor@ukern.de}}.}}
\maketitle
-The purpose of this file is to demonstrate the logging facilities of the \textsf{xcolor} package.
+The purpose of this file is to demonstrate a variety of capabilities including the logging facilities of the \textsf{xcolor} package.
By playing around with different values of \texttt{\string\tracingcolors}, one can observe the different behavior in the \texttt{log} file.
-\bigskip
-Table example:
-\rowcolors[\hline]{1}{green!25}{yellow!50}
-\begin{tabular}{ll}
-test & row \number\rownum\\
-test & row \number\rownum\\
-\rowcolor{blue!25}
-test & row \number\rownum\\
-test & row \number\rownum\\
-\hiderowcolors
-test & row \number\rownum\\
-test & row \number\rownum\\
-\showrowcolors
-test & row \number\rownum\\
-test & row \number\rownum\\
-\multicolumn{1}%
- {>{\columncolor{red!12}}l}{test} & row \number\rownum\\
-\end{tabular}
+\section{Predefined colors}
+
+\begingroup
+\small\sffamily
+\rowcolors1{}{}
+\begin{testcolors}[rgb,cmyk,hsb,HTML,gray]
+\testcolor{red}
+\testcolor{green}
+\testcolor{blue}
+\testcolor{cyan}
+\testcolor{magenta}
+\testcolor{yellow}
+\testcolor{orange}
+\testcolor{violet}
+\testcolor{purple}
+\testcolor{brown}
+\testcolor{pink}
+\testcolor{olive}
+\testcolor{black}
+\testcolor{darkgray}
+\testcolor{gray}
+\testcolor{lightgray}
+\testcolor{white}
+\noalign{\medskip}\hline\noalign{\medskip}
+\testcolor{-red}
+\testcolor{-green}
+\testcolor{-blue}
+\testcolor{-cyan}
+\testcolor{-magenta}
+\testcolor{-yellow}
+\testcolor{-orange}
+\testcolor{-violet}
+\testcolor{-purple}
+\testcolor{-brown}
+\testcolor{-pink}
+\testcolor{-olive}
+\testcolor{-black}
+\testcolor{-darkgray}
+\testcolor{-gray}
+\testcolor{-lightgray}
+\testcolor{-white}
+\noalign{\medskip}\hline\noalign{\medskip}
+\testcolor{JungleGreen}
+\testcolor{DarkOrchid}
+\noalign{\medskip}\hline\noalign{\medskip}
+\testcolor{-JungleGreen}
+\testcolor{-DarkOrchid}
+\end{testcolors}
+\endgroup
+
+\vfill
+
+\clearpage
+\pagecolor{white}
+
+\section{Color definition and application}
-\bigskip
\providecolor{dummy}{rgb}{.6,.5,.4}
\definecolor{dummy}{rgb}{.6,.5,.4}
\providecolor{dummy}{rgb}{.6,.5,.4}
\hbox{\textcolor{dummy}{Test with \texttt{\string\definecolor}}}
+\bigskip
+
+Comma-separated and space-separated definitions:
+
+\definecolor{c1}{rgb}{.7,.6,.5}
+\definecolor{c2}{rgb}{.7 .6 .5}
+\colorlet{c1a}{c1}
+\colorlet{c2a}{c2}
+
+\textcolor{c1}{identical} =
+\textcolor{c2}{identical} =
+\textcolor{c1a}{identical} =
+\textcolor{c2a}{identical} =
+\textcolor[rgb]{.7,.6,.5}{identical} =
+\textcolor[rgb]{.7 .6 .5}{identical} =
+\textcolor{rgb,10:red,7;green,6;blue,5}{identical}
+\textcolor{rgb,15:red,10.5;green,9;blue,7.5}{identical}
+
+\medskip
+
+\begingroup
+\sffamily
+\begin{testcolors}
+\testcolor{c1}
+\testcolor{c2}
+\testcolor{c1a}
+\testcolor{c2a}
+\testcolor[rgb]{.7,.6,.5}
+\testcolor[rgb]{.7 .6 .5}
+\testcolor{rgb,10:red,7;green,6;blue,5}
+\testcolor{rgb,15:red,10.5;green,9;blue,7.5}
+\end{testcolors}
+\endgroup
+
+\bigskip
+
+\textcolor{rgb:red!50,4;green!25,2}{Another extended color expression (rgb:red!50,4;green!25,2)}.
+
+\bigskip
+
+\begingroup
+\color{black}
+Test with named colors:\par
+\color{blue}
+Test: \textcolor[named]{JungleGreen}{JungleGreen};
+Test: \textcolor{JungleGreen}{JungleGreen};
+Test: \textcolor{JungleGreen!50!DarkOrchid}{JungleGreen!50!DarkOrchid};
+Test: \textcolor{green!50!red}{green!50!red}.
+\endgroup
+
+\bigskip
+
{\color[rgb]{.4,.5,.6}Test with \texttt{\string\color}}
\bigskip
@@ -105,16 +204,29 @@ Test\test\test\test\test\test\test Test
\def\test{\hbox to 1em{{\color{foo!![2]}\vrule width 1em height 1.5ex}}}
Test\test\test\test\test\test\test Test
-\bigskip
-\color{black}
-Test with named colors:\par
-\color{blue}
-Test: \textcolor[named]{JungleGreen}{JungleGreen};
-Test: \textcolor{JungleGreen}{JungleGreen};
-Test: \textcolor{JungleGreen!50!DarkOrchid}{JungleGreen!50!DarkOrchid};
-Test: \textcolor{green!50!red}{green!50!red}.
\endgroup
+\section{Color in tables}
+
+\rowcolors[\hline]{1}{green!25}{yellow!50}
+\begin{tabular}{ll}
+test & row \number\rownum\\
+test & row \number\rownum\\
+\rowcolor{blue!25}
+test & row \number\rownum\\
+test & row \number\rownum\\
+\hiderowcolors
+test & row \number\rownum\\
+test & row \number\rownum\\
+\showrowcolors
+test & row \number\rownum\\
+test & row \number\rownum\\
+\multicolumn{1}%
+ {>{\columncolor{red!12}}l}{test} & row \number\rownum\\
+\end{tabular}
+
+\section{Color information}
+
Type test:
\makeatletter
\@namedef{\string\color@foo1}{foo1{}{}{}{}}\edef\tempa{\XC@type{foo1}}\tempa
@@ -123,8 +235,6 @@ Type test:
\@namedef{\string\color@foo4}{\xcolor@{}{}{foo4}{}}\edef\tempd{\XC@type{foo4}}\tempd
\makeatother
-\textcolor{rgb:red!50,4;green!25,2}{Extended color expression (rgb:red!50,4;green!25,2)}.
-
\end{document}
\endinput
%%
diff --git a/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex b/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex
index 17d14c18a4a..a922f2bc88c 100644
--- a/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex
+++ b/Master/texmf-dist/doc/latex/xcolor/xcolor4.tex
@@ -22,45 +22,123 @@
%% in the same archive or directory.)
%%
\ProvidesFile{xcolor4}
- [2005/10/15 v2.06 Color driver test (UK)]
+ [2005/12/21 v2.09 Color driver test (UK)]
%%
%% ----------------------------------------------------------------
%% Copyright (C) 2003-2005 by Dr. Uwe Kern <xcolor at ukern dot de>
%% ----------------------------------------------------------------
%%
-\def\XCfileversion{v2.06}%
-\def\XCfiledate{2005/10/15}%
+\def\XCfileversion{v2.09}%
+\def\XCfiledate{2005/12/21}%
\listfiles
\documentclass[a4paper]{article}
+%%\PassOptionsToPackage{dvipdf}{xcolor}
+%%\PassOptionsToPackage{dvipdfm}{xcolor}
+%%\PassOptionsToPackage{dvipdfmx}{xcolor}
+%%\PassOptionsToPackage{dvips}{xcolor}
+%%\PassOptionsToPackage{dvipsone}{xcolor}
+%%\PassOptionsToPackage{dviwin}{xcolor}
+%%\PassOptionsToPackage{dviwindo}{xcolor}
+%%\PassOptionsToPackage{emtex}{xcolor}
+%%\PassOptionsToPackage{oztex}{xcolor}
+%%\PassOptionsToPackage{pctex32}{xcolor}
+%%\PassOptionsToPackage{pctexhp}{xcolor}
+%%\PassOptionsToPackage{pctexps}{xcolor}
+%%\PassOptionsToPackage{pctexwin}{xcolor}
+%%\PassOptionsToPackage{pdftex}{xcolor}
+%%\PassOptionsToPackage{tcidvi}{xcolor}
+%%\PassOptionsToPackage{textures}{xcolor}
+%%\PassOptionsToPackage{truetex}{xcolor}
+%%\PassOptionsToPackage{vtex}{xcolor}
+%%\PassOptionsToPackage{xdvi}{xcolor}
+%%\PassOptionsToPackage{xetex}{xcolor}
+%%\PassOptionsToPackage{prologue}{xcolor}
+%%\PassOptionsToPackage{kernelfbox}{xcolor}
+%%\PassOptionsToPackage{xcdraw}{xcolor}
+\usepackage[emtex]{graphics}
\usepackage{xcolor}
-%%\usepackage[dvipdf]{xcolor}
-%%\usepackage[dvipdfm]{xcolor}
-%%\usepackage[dvipdfmx]{xcolor}
-%%\usepackage[dvips]{xcolor}
-%%\usepackage[dvipsone]{xcolor}
-%%\usepackage[dviwin]{xcolor}
-%%\usepackage[emtex]{xcolor}
-%%\usepackage[pctex32]{xcolor}
-%%\usepackage[pctexhp]{xcolor}
-%%\usepackage[pctexps]{xcolor}
-%%\usepackage[pctexwin]{xcolor}
-%%\usepackage[pdftex]{xcolor}
-%%\usepackage[tcidvi]{xcolor}
-%%\usepackage[textures]{xcolor}
-%%\usepackage[truetex]{xcolor}
-%%\usepackage[vtex]{xcolor}
-%%\usepackage[xetex]{xcolor}
-%%\usepackage[dviwindo]{xcolor}
-%%\usepackage[oztex]{xcolor}
-%%\usepackage[xdvi]{xcolor}
\usepackage[margin=1.25cm,noheadfoot]{geometry}
\pagestyle{empty}
\parindent0pt
\nofiles
\let\familydefault\sfdefault
+\makeatletter
+%% special code for driver list construction via
+%% latex \def\xcdriverlist{1}\input{xcolor4}
+%% writes list in file xcolor4.tmp
+\@ifundefined{xcdriverlist}{}{%
+%% optional * (skips test whether #1.def exists)
+%% #1 = driver
+%% #2 = additional options (stored in \options@#2)
+%% #3 = processor 1
+%% #4 = output format 1
+%% #5 = processor 2
+%% #6 = output format 2
+%% #7 = processor 3
+%% #8 = output format 3
+\def\0{\@ifstar
+ {\def\@@tmp####1{\@firstoftwo}\1}{\def\@@tmp####1{\IfFileExists{####1.def}}\1}}
+\def\1#1#2#3#4#5#6#7#8{\@@tmp{#1}%
+ {\XC@let@Nc\@@tmp{options@#2}
+ \ifx\@@tmp\@empty\else
+ \edef\@@tmp{,\@@tmp}\XC@replace\@@tmp,{;#1-}\XC@replace\@@tmp;,
+ \fi
+ \edef\@@tmp{:=#1\@@tmp}
+ \expandafter\@for\expandafter\@tempa\@@tmp\do
+ {\let\@@tmp\@tempa\XC@replace\@@tmp-,
+ \edef\@@tmp{\@tempa\space\string\PassOptionsToPackage{\@@tmp}{xcolor}}
+ \@namexdef{list@#4}{\@nameuse{list@#4},#3 \@@tmp}
+ \@namexdef{list@#6}{\@nameuse{list@#6},#5 \@@tmp}
+ \@namexdef{list@#8}{\@nameuse{list@#8},#7 \@@tmp}}}%
+ {\typeout{No file `#1.def' found.}}}
+\def\list@{}
+\def\list@dvi{}
+\def\list@ps{}
+\def\list@pdf{}
+\@namedef{options@0}{}
+\@namedef{options@1}{kernelfbox,prologue,xcdraw,kernelfbox-xcdraw,prologue-xcdraw}
+\0{dvips}1{latex}{dvi}{dvips}{ps}{ps2pdf}{pdf}
+\0{pctex32}0{latex}{dvi}{dvips}{ps}{ps2pdf}{pdf}
+\0{dvipdf}0{latex}{dvi}{dvipdf}{pdf}{}{}
+\0{dvipdfm}1{latex}{dvi}{dvipdfm}{pdf}{}{}
+\0{dvipdfmx}0{latex}{dvi}{dvipdfmx}{pdf}{}{}
+\0{dvipsone}0{latex}{dvi}{}{}{}{}
+\0{dviwin}0{latex}{dvi}{}{}{}{}
+\0*{dviwindo}0{latex}{dvi}{}{}{}{}
+\0{emtex}0{latex}{dvi}{}{}{}{}
+\0*{oztex}0{latex}{dvi}{}{}{}{}
+\0{pctexhp}0{latex}{dvi}{}{}{}{}
+\0{pctexps}0{latex}{dvi}{}{}{}{}
+\0{pctexwin}0{latex}{dvi}{}{}{}{}
+\0{tcidvi}0{latex}{dvi}{}{}{}{}
+\0{textures}0{latex}{dvi}{}{}{}{}
+\0{truetex}0{latex}{dvi}{}{}{}{}
+\0*{xdvi}0{latex}{dvi}{}{}{}{}
+\0{pdftex}1{pdflatex}{pdf}{}{}{}{}
+\0{vtex}0{vlatex}{pdf}{}{}{}{}
+\0{xetex}0{xelatex}{pdf}{}{}{}{}
+\newwrite\@tempa\immediate\openout\@tempa=\jobname.tmp
+\@tfor\@tempb:={dvi}{ps}{pdf}\do
+ {\edef\@@tmp{\@nameuse{list@\@tempb}}\edef\@@tmp{:=\expandafter\@gobble\@@tmp}
+ \expandafter\@for\expandafter\@@tmp\@@tmp\do
+ {\immediate\write\@tempa{\@@tmp}}}
+\immediate\closeout\@tempa
+\@@end}% end of driver list construction code
+\edef\Options{\expandafter\@gobble\XC@@opt}
+\@tfor\@@tmp:={dvipdf}{dvipdfm}{dvipdfmx}{dvips}{dvipsone}{dviwin}{dviwindo}%
+ {emtex}{oztex}{pctex32}{pctexhp}{pctexps}{pctexwin}{pdftex}%
+ {tcidvi}{textures}{truetex}{vtex}{xdvi}{xetex}%
+ {natural}{table}{fixpdftex}{hyperref}{showerrors}{hideerrors}%
+ {override}{usenames}{nodvipsnames}{debugshow}\do
+ {\expandafter\XC@replace\expandafter\Options\expandafter{\@@tmp,}{}}
+\edef\Options{\XC@@drv,\Options}
+\def\@@tmp#1,#2%
+ {\ifx,#2#1\expandafter\remove@to@nnil\else#1', `\expandafter\@@tmp\fi#2}
+\edef\Options{`\expandafter\@@tmp\Options,,\@nnil'}
+\makeatother
\begin{document}
\vbox to\textheight{\vss\centering
-{\Large\textbf{xcolor} driver test: `\csname XC@@drv\endcsname'}
+{\Large\textbf{xcolor} driver test: \Options}
\vskip0.5cm
\begin{testcolors}[rgb,hsb,cmyk,gray,HTML]
\testcolor{magenta}
@@ -74,35 +152,30 @@
\testcolor[hsb]{0.66667,1,1}
\testcolor[cmyk]{1,1,0,0}
\testcolor[gray]{0.11}
-\testcolor[wave]{440}
\noalign{\medskip}
\testcolor{cyan}
\testcolor[rgb]{0,1,1}
\testcolor[hsb]{0.5,1,1}
\testcolor[cmyk]{1,0,0,0}
\testcolor[gray]{0.7}
-\testcolor[wave]{490}
\noalign{\medskip}
\testcolor{green}
\testcolor[rgb]{0,1,0}
\testcolor[hsb]{0.33333,1,1}
\testcolor[cmyk]{1,0,1,0}
\testcolor[gray]{0.59}
-\testcolor[wave]{510}
\noalign{\medskip}
\testcolor{yellow}
\testcolor[rgb]{1,1,0}
\testcolor[hsb]{0.16667,1,1}
\testcolor[cmyk]{0,0,1,0}
\testcolor[gray]{0.89}
-\testcolor[wave]{580}
\noalign{\medskip}
\testcolor{red}
\testcolor[rgb]{1,0,0}
\testcolor[hsb]{0,1,1}
\testcolor[cmyk]{0,1,1,0}
\testcolor[gray]{0.3}
-\testcolor[wave]{645}
\noalign{\medskip}
\testcolor{black}
\testcolor[rgb]{0,0,0}
@@ -121,6 +194,11 @@
\testcolor[hsb]{0,0,1}
\testcolor[cmyk]{0,0,0,0}
\testcolor[gray]{1}
+\noalign{\medskip\smallskip}
+f(color)box &
+\multicolumn5{c}{\def\i{\fbox{\a}}\def\ii{\fcolorbox{red}{yellow}{\a}}\def\iii{\scalebox{3}}%
+\def\a{{\setbox0=\hbox to3ex{\hss\textcolor{blue}{\vrule width .75ex height1.5ex depth1.5ex}\hss}\ht0=0pt\dp0=0pt\box0}}%
+\fboxsep0.333ex \i\quad\ii\quad\iii\i\quad\iii\ii\quad\fboxrule.75ex \iii\i\quad\iii\ii}
\end{testcolors}
\vskip0.5cm
{\footnotesize This table was generated with \textbf{xcolor4.tex} which is part of the \textbf{xcolor} package \XCfileversion{} (\XCfiledate) by Uwe Kern.}