Bug#940191: texlive-binaries: xdvi does not display enclosed eps graphics due to ghostscript dropped execute command (patch)
Hi Camm, hi Chris,
On Fri, 13 Sep 2019, Camm Maguire wrote:
> buster unable to render enclosed eps graphics. xdvik-ja has
> implemented execute natively in version -3 with the patch below,
Upstream xdvi-k is using the following patch that is already in our
repository for the next upload:
diff --git a/texk/xdvik/psgs.c b/texk/xdvik/psgs.c
index 98df53717..bb70ef7db 100644
--- a/texk/xdvik/psgs.c
+++ b/texk/xdvik/psgs.c
@@ -561,7 +561,8 @@ initGS(void)
">> setuserparams .locksafe "
"} stopped pop\n";
static const char str1[] =
- "/xdvi$run {$error /newerror false put {currentfile cvx execute} stopped pop} "
+ "/xdvi$run "
+ "{$error /newerror false put currentfile cvx stopped {handleerror} if} "
"def "
"/xdvi$ack (\347\310\376) def "
"/xdvi$dslen countdictstack def "
That should work as expected. Have you any objections to the above
improvement?
Thanks
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Reply to: