/usr/share/doc/texlive-doc/generic/tex-ps/cmyk-hax/sample2.tex is in texlive-generic-recommended 2013.20140215-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | % E Sample TeX file demonstrating how to separate by changing colors using
% CMYK-HAX macros -- outline graphics
% P Przyk/ladowy plik TeX-owy demonstruj/acy separacj/e kolor/ow poprzez
% zamian/e kolor/ow za pomoc/a makr pakietu CMYK-HAX -- grafika obwiedniowa
%
\input epsf % DVIPS standard distribution
\input cmyk-hax
\special{landscape}
\nopagenumbers
\voffset -0.25in
\hoffset -0.5in
\vsize 180mm
\hsize 270mm
\def\RED{%
\setCMYKchange
\forcolor{0 1 1 0}\changecolor{0 0 0 1} % E change red to black
% P zamie/n czerwony na czarny
\forcolor{0 0 1 0}\changecolor{0 0 0 0} % E change yellow to white
% P zamie/n /z/o/lty na bia/ly
\addstroke{0 0 0 0} % E add the white stroke to yellow
% P /z/o/lty zyskuje bia/l/a obw/odk/e
\strokehook{2 truemm setlinewidth % E of thickness 2 truemm
% P grubo/sci 2 truemm
0 setlinejoin % E with pointed joints
% P spiczaste po/l/aczenia
2 setlinecap % E with lenghtened tips
% P wyd/lu/zone ko/nce
5 setmiterlimit % E with medium miter limits
% P obcinane /srednio daleko
}%
\useCMYKchange}
\def\YELLOW{%
\setCMYKchange
\forcolor{0 0 1 0}\changecolor{0 0 0 1} % E change yellow to black
% P zamie/n /z/o/lty na czarny
\forcolor{0 0 0 0}\delcolor % E make white invisible
% P uczy/n bia/ly niewidzialnym
\forcolor{0 1 1 0}\delcolor % E make red invisible
% P uczy/n czerwony niewidzialnym
\useCMYKchange}
\def\SPEC{%
\setCMYKchange
\forcolor{0 0 1 0}\changecolor{0 0 0 0} % E change yellow to white
% P zamie/n /z/o/lty na bia/ly
\forcolor{0 0 0 0}\changecolor{0 0 0 1} % E change white to black
% P zamie/n bia/ly na czarny
\forcolor{0 1 1 0}\delcolor % E make red invisible
% P uczy/n czerwony niewidzialnym
\addstroke{0 0 0 1} % E add the black stroke to red
% P czerwony zyskuje czarn/a obw/odk/e
\strokehook{2 truemm setlinewidth % E of thickness 2 truemm
% P grubo/sci 2 truemm
0 setlinejoin % E with pointed joints
% P spiczaste po/l/aczenia
2 setlinecap % E with lenghten tips
% P wyd/lu/zone ko/nce
5 setmiterlimit % E with medium miter limits
% P obcinane /srednio daleko
}%
\useCMYKchange}
\setbox1\hbox{\epsfysize 15cm \epsffile{gdansk.eps}}
\vbox{\centerline{%
\PSbegingroup\RED{\copy1}\PSendgroup \hskip3cm
\PSbegingroup\SPEC{\copy1}\PSendgroup}
\kern-20mm
\centerline{\vbox to0cm{\PSbegingroup\YELLOW{\copy1}\PSendgroup\vss}}}
\end
|