[XeTeX] Bug with color \specials?

Denis Bitouzé dbitouze at wanadoo.fr
Tue Jun 24 15:43:01 CEST 2014


Le mar. 24 juin 2014 à 15h18, Ulrike Fischer
<news3 at nililand.de> a écrit :

> 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}

Sorry, I don't understand: either commented or commented out, this doesn't give
the expected result.
-- 
Denis





More information about the XeTeX mailing list