| 1 |
:: This is a sample batch illustrating how to make color separation |
| 2 |
:: using CMYK-HAX.TEX. The script can be easily adapted to any platform |
| 3 |
:: Calls for `TEX' and `DVIPS' should be changed to respective local names: |
| 4 |
:: TEX calls tex with appropriate format (e.g., plain or MeX, or...) |
| 5 |
:: DVIPS calls dvips (or dvips32.exe) |
| 6 |
:: Names SAMPLE1.TEX, SAM1-C.PS, SAM1-M.PS, SAM1-Y.PS, SAM1-K.PS |
| 7 |
:: should be replaced appropriately by parameters of the script. |
| 8 |
:: |
| 9 |
:: MAKE CYAN SEPARATION (PROJECTION): |
| 10 |
call tex \def\separate{\CYAN}\input sample1.tex |
| 11 |
call dvips sample1 -osam1-c.ps |
| 12 |
:: |
| 13 |
:: MAKE MAGENTA SEPARATION (PROJECTION): |
| 14 |
call tex \def\separate{\MAGENTA}\input sample1.tex |
| 15 |
call dvips sample1 -osam1-m.ps |
| 16 |
:: |
| 17 |
:: MAKE YELLOW SEPARATION (PROJECTION): |
| 18 |
call tex \def\separate{\YELLOW}\input sample1.tex |
| 19 |
call dvips sample1 -osam1-y.ps |
| 20 |
:: |
| 21 |
:: MAKE BLACK SEPARATION (PROJECTION): |
| 22 |
call tex \def\separate{\BLACK}\input sample1.tex |
| 23 |
call dvips sample1 -osam1-k.ps |