[XeTeX] cmyk colour support broken?

William Adams will.adams at frycomm.com
Fri May 19 16:40:19 CEST 2006


I'm setting up a journal in XeTeX, but I'm not able to get process  
black type:

%!TEX TS-program = xelatex
\documentclass{minimal}
\newcommand{\blacktype}[1]{\special{color push}\special{color cmyk 0  
0 0 1}#1\special{color pop}}
\newcommand{\graytype}[1]{\special{color push}\special{color gray 0}#1 
\special{color pop}}
\newcommand{\cyantype}[1]{\special{color push}\special{color cmyk 1 0  
0 0}#1\special{color pop}}
\begin{document}
\blacktype{This should be process black, no cyan, magenta or yellow,  
but instead it has all of the above}

\graytype{This should be defined as gray, hence black only, but is a  
rich black as above}

\cyantype{This is cyan, no magenta, yellow or black}
\end{document}

The cmyk colour model works _if_ I include a cyan, magenta and/or  
yellow component, but fails when trying to make something which is  
only black.

Any idea why?

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


More information about the XeTeX mailing list