From f9f6d883fba9f42dd455383a0bf1a13a0c193841 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 22 Mar 2015 21:23:11 +0000 Subject: xespotcolor (22mar15) git-svn-id: svn://tug.org/texlive/trunk@36597 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/xespotcolor/README | 12 ++--- .../doc/xelatex/xespotcolor/jatestspot.pdf | Bin 0 -> 66609 bytes .../doc/xelatex/xespotcolor/jatestspot.tex | 53 +++++++++++++++++++++ .../doc/xelatex/xespotcolor/spotcolor-test.pdf | Bin 70346 -> 70346 bytes .../doc/xelatex/xespotcolor/xespotcolor.pdf | Bin 61014 -> 66205 bytes 5 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.pdf create mode 100644 Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.tex (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/README b/Master/texmf-dist/doc/xelatex/xespotcolor/README index 57169d9ac70..fa87f4ad2db 100644 --- a/Master/texmf-dist/doc/xelatex/xespotcolor/README +++ b/Master/texmf-dist/doc/xelatex/xespotcolor/README @@ -4,11 +4,9 @@ of books or other printed material. The spotcolor package by Jens Elstner is a first attempt to introduce the use of spot colors with pdfLaTeX. The xespotcolor package is a reimplementation of this package so to be usable with -XeLaTeX. As such, it has the same user interface and -the same capabilities. The latest version of xdvipdfm-x -(svn revision 36553) has been modified to handle spot colors. -So one needs a very recent version of xdvipdfm-x in order to -run the test file revision 36553. - +XeLaTeX or LaTeX+dvipdfmx. As such, it has the same user +interface and the same capabilities. The recent version +of xdvipdfm-x (svn revision 36553 and later) should be +used to run the tests. Apostolos Syropoulos -2015/03/18 +2015/03/22 diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.pdf b/Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.pdf new file mode 100644 index 00000000000..b588f2c575b Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.tex b/Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.tex new file mode 100644 index 00000000000..92b301b37ae --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xespotcolor/jatestspot.tex @@ -0,0 +1,53 @@ +% +% testspot.tex +% platex testspot.tex +% dvipdfmx testspot +% +\documentclass{jsarticle} +\usepackage[hks,pantone]{xespotcolor} +\begin{document} + \color{blue} + \bf\Huge カラーパッケージを用いた青いテキスト + + \clearpage + \pagecolor{white} + + \SetPageColorSpace{PANTONE} + \SpotColor{PANTONEGreenPC}{1.0} + \bf\Huge Pantone スポットカラー + + \clearpage + \SetPageColorSpace{HKS} + \SpotColor{HKS68N}{1.0} + \bf\Huge HKS スポットカラー + + \clearpage + \NewSpotColorSpace{SOMECOLORSPACE} + \AddSpotColor{SOMECOLORSPACE} {SOMECOLOR} {Spot\SpotSpace Color\SpotSpace Name\SpotSpace in\SpotSpace PDF} {0.5 1.0 0.51 0} + \SetPageColorSpace{SOMECOLORSPACE} + \definecolor{Spots}{spotcolor}{SOMECOLOR,1.0} + + \SpotColor{SOMECOLOR}{1.0} + \bf\Huge ここで定義したスポットカラー\\ + シェーディングも可能:\\ + \SpotColor{SOMECOLOR}{1.0}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.9}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.8}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.7}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.6}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.5}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.4}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.3}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.2}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.1}\rule{1cm}{1cm}\\ + \SpotColor{SOMECOLOR}{0.0}\rule{1cm}{1cm} + + \clearpage + \pagecolor{Spots} + \SpotColor{SOMECOLOR}{0.1} + 背景色としてのスポットカラー + + \clearpage + \pagecolor{white} + \colorbox{Spots}{日日日} +\end{document} diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf b/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf index 28e70ea54f4..06937cc7335 100644 Binary files a/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf and b/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf b/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf index 5ea7cf1cf54..befb2b786f3 100644 Binary files a/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf and b/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf differ -- cgit v1.2.3