xdvi figure rendering broken with gs 9.26

Paul Vojta vojta at math.berkeley.edu
Mon Jul 22 08:56:18 CEST 2019

On Sun, Jul 21, 2019 at 03:21:58PM -0600, Karl Berry wrote:
>     -       "/xdvi$run {$error /newerror false put {currentfile cvx execute} stopped pop} "
>     +       "/xdvi$run "
>     +       "{$error /newerror false put currentfile cvx stopped {handleerror} if} "
> Sadly, it doesn't work for me with gs 9.27 (installed unmodified from
> the original source), and the original test .tex+.eps from
> https://bugs.mageia.org/show_bug.cgi?id=24941. The figure space still
> comes up empty (and still shows up fine with 9.26).
> Or is that the new expected behavior? (I'm missing how anything gets
> executed now.) That would mean PS rendering is doa, since GS will
> presumably never bring back those operators :(. --thanks, karl.

Admittedly, I didn't test it with xdvik, only with plain xdvi.

But, just now I tested it with an old version of xdvik (the version on
sourceforge, which goes back to 2016, r40253 in the TL svn).
That does work.

One possibility comes to mind.  Are you sure you're using ghostscript 9.27,
and not the current git version?  The newest gs (it identifies itself
as GIT PRERELEASE 9.28 in the first line of `gs -h`) also gives a blank
figure, but for a different reason.  In that case, though, you get terminal
output starting with "gs: Error: /invalidfileaccess in --run--".

If you are using the prerelease gs 9.28, adding the -nogssafer option
to xdvi allows you to see the figure.

Do you get any output on the terminal?

What output do you get when you run with -debug ps ?


More information about the tex-live mailing list