GNU bug report logs - #25002
Fail to preview latex in macOS emacs

Previous Next

Package: auctex;

Reported by: Ruoquan Wang <13307110260 <at> fudan.edu.cn>

Date: Wed, 23 Nov 2016 16:29:01 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 25002 <at> debbugs.gnu.org (full text, mbox):

From: David Kastrup <dak <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 25002 <at> debbugs.gnu.org, Ruoquan Wang <13307110260 <at> fudan.edu.cn>
Subject: Re: bug#25002: Fail to preview latex in macOS emacs
Date: Thu, 23 Nov 2017 08:46:25 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Ruoquan Wang <13307110260 <at> fudan.edu.cn> writes:
>
>> Here is my proble while installing auctex+emacs. I installed auctex
>> 11.89 and emacs 25.1 on MacOS-Sierra as well as several other plugins
>> of latex. They both work well. I can also produce pdf files
>> normally. But I just cannot do preview in emacs.
>
> I also have this problem.
>
> Internet searching revealed that there is a correlating bug in some
> ghostscript versions.  For example, see
>
>   https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/543266
>
> On my Debian, I downgraded the "ghostscript" package to stable, and then
> it suddenly worked without changing anything on the Emacs side.

That's a different bug (actually several different bugs).  Ghostscript
has a history of changing its security-related behavior around, and
every time preview-latex stops working until another patch is committed
to AUCTeX.  Ghostscript 9.22 finally removed a security related feature
(the .runandhide operator) without working secure replacement.  A fix
has already been committed to upstream AUCTeX: this was comparatively
straightforward to do since preview-latex had in a previous iteration
already removed security-relevant reliance on this operator in order to
stop this game, but it had still relied on its use elsewhere.

-- 
David Kastrup




This bug report was last modified 2 years and 181 days ago.

Previous Next


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