%%
%% This is file `xcolor4.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% xcolor.dtx  (with options: `test4')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from xcolor4.tex.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file xcolor.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%
\ProvidesFile{xcolor4}
 [2016/05/11 v2.12 Color driver test (UK)]
%%
%% ----------------------------------------------------------------
%% Copyright (C) 2003-2016 by Dr. Uwe Kern <xcolor at ukern dot de>
%% ----------------------------------------------------------------
%%
\def\XCfileversion{v2.12}%
\def\XCfiledate{2016/05/11}%
\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{luatex}{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[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: \Options}
\vskip0.5cm
\begin{testcolors}[rgb,hsb,cmyk,gray,HTML]
\testcolor{magenta}
\testcolor[rgb]{1,0,1}
\testcolor[hsb]{0.83333,1,1}
\testcolor[cmyk]{0,1,0,0}
\testcolor[gray]{0.41}
\noalign{\medskip}
\testcolor{blue}
\testcolor[rgb]{0,0,1}
\testcolor[hsb]{0.66667,1,1}
\testcolor[cmyk]{1,1,0,0}
\testcolor[gray]{0.11}
\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}
\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}
\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}
\noalign{\medskip}
\testcolor{red}
\testcolor[rgb]{1,0,0}
\testcolor[hsb]{0,1,1}
\testcolor[cmyk]{0,1,1,0}
\testcolor[gray]{0.3}
\noalign{\medskip}
\testcolor{black}
\testcolor[rgb]{0,0,0}
\testcolor[hsb]{0,0,0}
\testcolor[cmyk]{0,0,0,1}
\testcolor[gray]{0}
\noalign{\medskip}
\testcolor{gray}
\testcolor[rgb]{0.5,0.5,0.5}
\testcolor[hsb]{0,0,0.5}
\testcolor[cmyk]{0,0,0,0.5}
\testcolor[gray]{0.5}
\noalign{\medskip}
\testcolor{white}
\testcolor[rgb]{1,1,1}
\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.}
\vss}
\end{document}
\endinput
%%
%% End of file `xcolor4.tex'.
