[XeTeX] Bug with color \specials?

Ulrike Fischer news3 at nililand.de
Tue Jun 24 17:14:12 CEST 2014


Am Tue, 24 Jun 2014 23:30:41 +0900 schrieb Akira Kakuto:

> Dear Ulrike,
> 
>> I can avoid the problem by redefining this two commands of a current
>> pgfsys-dvipdfmx.def:
 
> \makeatletter
> \def\pgfsys at dvipdfmx@suspendcontent{%
>   \special{pdf: bcontent}%
>   \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
> }
> 
> \def\pgfsys at dvipdfmx@unsuspendcontent{%
>   \special{pdf:code Q Q Q}%
>   \special{pdf: econtent}%
> }

Yes this seems to work. But I don't know if this is ok or will break
something e.g. in normal pgfpictures. Someone who understands the
drivers will have to look at it. And it is still unclear why it is
necessary with texlive but not miktex. 



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




More information about the XeTeX mailing list