diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-18 22:19:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-18 22:19:10 +0000 |
commit | 19dcc636657c83f928c71c3ad6cdc1c2dedb265f (patch) | |
tree | 6de2d817472d83763c77ced1449f6bc0510d1604 /Master/texmf-dist/tex/xelatex | |
parent | 3f21ad1106c152aa75655ef3ff6c9079047cef55 (diff) |
xespotcolor (18mar15)
git-svn-id: svn://tug.org/texlive/trunk@36555 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xespotcolor/xespotcolor.sty | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xespotcolor/xespotcolor.sty b/Master/texmf-dist/tex/xelatex/xespotcolor/xespotcolor.sty index 9481a1dc24b..b0a6e5fcf03 100644 --- a/Master/texmf-dist/tex/xelatex/xespotcolor/xespotcolor.sty +++ b/Master/texmf-dist/tex/xelatex/xespotcolor/xespotcolor.sty @@ -6,7 +6,7 @@ %% %% xespotcolor.dtx (with options: `xespotcolor') %% -%% (c) Copyright 2007—2013 Apostolos Syropoulos +%% (c) Copyright 2014-2015 Apostolos Syropoulos %% This program can be redistributed and/or modified under the %% terms of the LaTeX Project Public License Distributed from %% http://www.latex-project.org/lppl.txt; either @@ -36,10 +36,10 @@ %% Right brace \} Tilde \~} %% \ProvidesFile{xesporcolor.sty} - [2014/11/12 v1.0 Package `xespotcolor.sty'] + [2015/03/18 v1.1 Package `xespotcolor.sty' (bug fix release)] \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xespotcolor} - [2014/11/12 v.1.0, Package for adding Spot Color support to XeLaTeX.] + [2015/03/18 v.1.1, Package for adding Spot Color support to XeLaTeX.] \RequirePackage[xetex]{graphics} \RequirePackage[xetex]{color} \RequirePackage{everypage} @@ -60,14 +60,14 @@ \newtoks\mycolorprofilename \def\AddSpotColor#1#2#3#4{% \mycolorprofilename={@mycolorprofile\the\colorprofilecnt}% - \advance\colorprofilecnt by1% \edef\mycolorprofile{\the\mycolorprofilename <</C0[0 0 0 0]/FunctionType 2/C1[#4]/Domain[0 1]/N 1>>}% \edef\mycolor{[/Separation/#3 /DeviceCMYK \the\mycolorprofilename]}% \edef\tempcs{/#2 \mycolor}% \expandafter\csgrab\expandafter{\tempcs}{\csname #1\endcsname}% \special{pdf:obj \mycolorprofile}% - \special{pdf:obj \mycolor}% + \special{pdf:obj @myowncolor\the\colorprofilecnt \mycolor}% + \advance\colorprofilecnt by1% } \def\SetPageColorResource#1{% \AddEverypageHook{\special{pdf:put @resources <</ColorSpace <<#1>>>>}}% |