summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:56:57 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:56:57 +0000
commitf07bb53970ee2ecc53f81a206a3d3a67ef665e4a (patch)
tree6f57a1d62971db79e5ff023bdfd83b22cb971dc9 /Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat
parent007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (diff)
doc 6
git-svn-id: svn://tug.org/texlive/trunk@85 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat')
-rw-r--r--Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat b/Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat
new file mode 100644
index 00000000000..b4d775603ea
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat
@@ -0,0 +1,23 @@
+:: This is a sample batch illustrating how to make color separation
+:: using CMYK-HAX.TEX. The script can be easily adapted to any platform
+:: Calls for `TEX' and `DVIPS' should be changed to respective local names:
+:: TEX calls tex with appropriate format (e.g., plain or MeX, or...)
+:: DVIPS calls dvips (or dvips32.exe)
+:: Names SAMPLE1.TEX, SAM1-C.PS, SAM1-M.PS, SAM1-Y.PS, SAM1-K.PS
+:: should be replaced appropriately by parameters of the script.
+::
+:: MAKE CYAN SEPARATION (PROJECTION):
+call tex \def\separate{\CYAN}\input sample1.tex
+call dvips sample1 -osam1-c.ps
+::
+:: MAKE MAGENTA SEPARATION (PROJECTION):
+call tex \def\separate{\MAGENTA}\input sample1.tex
+call dvips sample1 -osam1-m.ps
+::
+:: MAKE YELLOW SEPARATION (PROJECTION):
+call tex \def\separate{\YELLOW}\input sample1.tex
+call dvips sample1 -osam1-y.ps
+::
+:: MAKE BLACK SEPARATION (PROJECTION):
+call tex \def\separate{\BLACK}\input sample1.tex
+call dvips sample1 -osam1-k.ps