[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#917996: texlive-pstricks: gs gives undefined in --execute-- when using color.tex with pstricks on plain tex.



Am 02.01.2019 um 05:24 teilte P V Mathew mit:

Hi,

> Inclusion of color.tex and calling \pscircle. plain tex compiled ok
> with
>   >tex test.tex 
> and created test.dvi 
> But running xdvi on generated test.dvi file results in gs error.
> If we remove the \input color line, every thing works ok.
> 
Here is the difference between the Postscript files:

hille@debian-amd64-sid:~/devel/TeXLive/open_bugs/917996$ diff
917996_1.ps 917996.ps

<differences in time stamp snipped>

2881,2883c2881,2883
<  0.8 SLW 0. setgray   0.0 0.0 2 copy moveto 42.67911 0 CLW mul round
< sub dup 0 rmoveto 0 360 arc closepath  gsave 0.8 SLW 0. setgray  1.
< .setopacityalpha   0  setlinejoin 0  setlinecap stroke  grestore end
---
>  0.8 SLW gray 0   0.0 0.0 2 copy moveto 42.67911 0 CLW mul round sub
> dup 0 rmoveto 0 360 arc closepath  gsave 0.8 SLW gray 0  1.
.setopacityalpha
>   0  setlinejoin 0  setlinecap stroke  grestore end

So it is basically how the color is specified, in case the color package
is called, the command is "gray", meanwhile w/o it is "setgray". At the
first glance the last command is the correct one. So it seems to be a
bug in color.sty...but I'm not 100% confident as I don't speak Postscript.

Hilmar
-- 
sigfault
#206401 http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: