tcolorbox.sty 和 tikz 不支持专色(使用 dvips)

tcolorbox.sty 和 tikz 不支持专色(使用 dvips)

我的代码如下:

% Using spot colors with xcolor and pstricks.
% process with:
% $ latex xcpst
% $ dvips -h tex.pro -h xcolor.pro -h spot.pro filename.dvi
\begin{filecontents*}{PANTONE2925C.pro}
% spot.pro
TeXDict begin
/SpotsCMYK [0.85 0.24 0 0] def
/Pantone2925CSpot (Pantone2925C) def
/Pantone2925CDef SpotsCMYK aload pop Pantone2925CSpot
findcmykcustomcolor def
/XC@Pantone2925C{ Pantone2925CDef 1.0 setcustomcolor}XCdef
/XC@Pantone2925C100{ Pantone2925CDef 1.0 setcustomcolor}XCdef
end
\end{filecontents*}

\documentclass{book}
\usepackage[prologue]{xcolor}%
\input colordvi%%

\definecolor{Pantone2925C}{cmyk}{1 0 0 0}
\colorlet{Pantone2925C100}{Pantone2925C}

\usepackage{tikz}
\usetikzlibrary{arrows,backgrounds,calc,positioning,shapes,shadows}

\makeatletter
\newbox\tcolorboxstut%
\setbox\tcolorboxstut=\hbox{hy}%
\newdimen\tcolorboxstutdimen%
\tcolorboxstutdimen=\ht\tcolorboxstut%
\advance\tcolorboxstutdimen by -1.75\p@%
\usepackage[breakable]{tcolorbox}%
\tcbuselibrary{skins,breakable}
\tcbset{enhanced jigsaw,colback=white,colframe=Pantone2925C,boxrule=3pt,breakable,arc=5pt,before skip=17.5pt,after skip=16pt,bottom=\tcolorboxstutdimen}%
\makeatother
\begin{document}

\begin{tcolorbox} {\bf Experimental research} examines how a treatment causally
  affects an outcome by assigning varying values of the treatment
  variable to different observations and measuring their corresponding
  values of the outcome variable.
\end{tcolorbox}

\textcolor{Pantone2925C}{For Test}
\end{document}

我正在使用LaTeXthendvips -Ppdf -h tex.pro -h xcolor.pro -h PANTONE2925C.pro test.dviPS2PDF获取 PDF 输出。

在此处输入图片描述 输出已成功生成,但tcolorbox仍然仅显示CMYK,但同时,文本For Test显示为Pantone彩色,我该如何实现?请提出建议...

编辑

根据Ulrike建议,我已经尝试过colorspace.sty并且PDFLaTeXMWE

\documentclass{book}
\usepackage{colorspace}
\definespotcolor{PANTONE286UC100}{PANTONE286UC}{0.90,0.75,0.01,0}
\usepackage{tcolorbox}
\tcbuselibrary{skins}
\begin{document}

\begin{tcolorbox}[enhanced jigsaw,colback=white,colframe=PANTONE286UC100,boxrule=3pt,arc=5pt]
The content of this chapter has been published in the SRRW conference in 2017.  The work of this chapter is also extended to handle the ER problem. 
\end{tcolorbox}

\textcolor{PANTONE286UC100}{This is for test}
\end{document}

但它产生了空白页,如果我将颜色从 更改为,colframe=PANTONE286UC100那么colframe=cyan它就可以工作,请告知如何获取专色colframe......

相关内容