GNU bug report logs - #39927
12.2; preview-latex gs treatment off by one

Previous Next

Package: auctex;

Reported by: candeb <at> free.fr

Date: Thu, 5 Mar 2020 15:23:02 UTC

Severity: normal

Tags: fixed

Found in version 12.2

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: candeb <at> free.fr
Cc: Luke Lau <luke_lau <at> icloud.com>, "Braun, Michael" <braunm <at> mail.smu.edu>, 39927 <at> debbugs.gnu.org
Subject: bug#39927: 12.2; preview-latex gs treatment off by one
Date: Thu, 07 Jan 2021 21:17:10 +0900
[Message part 1 (text/plain, inline)]
Hi Itaï, Luke, Braun,

Sorry for late response. It seems that I managed to fix the bug of
preview-latex you reported before. I don't speak Postscript and the fix
is totally heuristic, but it simply works, at least for me.

The attached patch removes a newline in the middle of initial string
sent to ghostscript. This newline was interpreted as a delimeter as
ghostscript, thus ghostscript responded twice to the initial string, if
my speculation is right, which led to a spurious prompt from
ghostscript.

Could you please test whether this patch fixes the problem on your side
if possible?

Best regards,
Ikumi Keita

[patch (text/x-diff, attachment)]

This bug report was last modified 4 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.