| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% pctex32.4ht 2009-05-21-09:32 % |
| 3 |
% Copyright (C) 2003--2009 Eitan M. Gurari % |
| 4 |
% % |
| 5 |
% This work may be distributed and/or modified under the % |
| 6 |
% conditions of the LaTeX Project Public License, either % |
| 7 |
% version 1.3c of this license or (at your option) any % |
| 8 |
% later version. The latest version of this license is % |
| 9 |
% in % |
| 10 |
% http://www.latex-project.org/lppl.txt % |
| 11 |
% and version 1.3c or later is part of all distributions % |
| 12 |
% of LaTeX version 2005/12/01 or later. % |
| 13 |
% % |
| 14 |
% This work has the LPPL maintenance status "maintained".% |
| 15 |
% % |
| 16 |
% This Current Maintainer of this work % |
| 17 |
% is Eitan M. Gurari. % |
| 18 |
% % |
| 19 |
% If you modify this program your changing its signature % |
| 20 |
% with a directive of the following form will be % |
| 21 |
% appreciated. % |
| 22 |
% \message{signature} % |
| 23 |
% % |
| 24 |
% [email protected] % |
| 25 |
% http://www.cse.ohio-state.edu/~gurari % |
| 26 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 27 |
\immediate\write-1{version 2009-05-21-09:32} |
| 28 |
|
| 29 |
\def\colortyp:gray:#1 #2//{% |
| 30 |
\if :#1:% |
| 31 |
\colortyp:gray:#2 //% |
| 32 |
\else |
| 33 |
\HColor:gray #1 //% |
| 34 |
\fi |
| 35 |
} |
| 36 |
|
| 37 |
\def\colortyp:cmyk:#1 #2 #3 #4 #5//{% |
| 38 |
\if :#1:% |
| 39 |
\colortyp:cmyk:#2 #3 #4 #5//% |
| 40 |
\else\if :#2:% |
| 41 |
\colortyp:cmyk:#1 #3 #4 #5//% |
| 42 |
\else\if :#3:% |
| 43 |
\colortyp:cmyk:#1 #2 #4 #5//% |
| 44 |
\else\if :#4:% |
| 45 |
\colortyp:cmyk:#1 #2 #3 #5//% |
| 46 |
\else |
| 47 |
\HColor:cmyk #1,#2,#3,#4 //% |
| 48 |
\fi\fi\fi\fi |
| 49 |
} |
| 50 |
|
| 51 |
\def\colortyp:rgb:#1 #2 #3 #4//{% |
| 52 |
\if :#1:% |
| 53 |
\colortyp:rgb:#2 #3 #4 //% |
| 54 |
\else\if :#2:% |
| 55 |
\colortyp:rgb:#1 #3 #4 //% |
| 56 |
\else\if :#3:% |
| 57 |
\colortyp:rgb:#1 #2 #4 //% |
| 58 |
\else |
| 59 |
\HColor:rgb #1,#2,#3 //% |
| 60 |
\fi\fi\fi |
| 61 |
} |
| 62 |
|
| 63 |
\def\colortyp:#1 #2//{% |
| 64 |
\expandafter\ifx \csname colortyp:#1:\endcsname\relax \else |
| 65 |
\csname colortyp:#1:\endcsname #2 //\fi} |
| 66 |
|
| 67 |
\Hinput{pctex32} |
| 68 |
\endinput |
| 69 |
|