[XeTeX] Bug with color \specials?

Ulrike Fischer news3 at nililand.de
Tue Jun 24 15:18:09 CEST 2014


Am Tue, 24 Jun 2014 21:53:26 +0900 schrieb Akira Kakuto:

> Thus problems are in pgfsys-dvipdfmx.def
> and pgfsys-xetex.def.

I can avoid the problem by redefining this two commands of a current
pgfsys-dvipdfmx.def:

\documentclass[]{article}
\usepackage{lipsum}
\usepackage{tcolorbox}
%
\tcbuselibrary{breakable}

\makeatletter
\def\pgfsys at dvipdfmx@suspendcontent{%
 % \special{pdf:code q -1 0 0 -1 0 0 cm q}%
%  \special{pdf: econtent}%
%  \special{pdf: bcontent}%
%  \special{pdf:code -1 0 0 -1 0 0 cm}%
%  \special{pdf:code q}% translate to original system
%  \special{pdf: econtent}%
}

\def\pgfsys at dvipdfmx@unsuspendcontent{%
%  \special{pdf: bcontent}%
%  \special{pdf:code Q Q Q}%
}



%
\begin{document}
%
\rule{0.4pt}{17cm}
%
\begin{tcolorbox}[breakable]
\lipsum[1]
\end{tcolorbox}%\makeatletter \reset at color
\lipsum
\end{document}



But the binary (x)dvipdfmx must be involved somehow too: Even if I
use all the files from texlive2014 with miktex I don't get the error
there. 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/




More information about the XeTeX mailing list