GNU bug report logs -
#25002
Fail to preview latex in macOS emacs
Previous Next
Full log
Message #11 received at 25002 <at> debbugs.gnu.org (full text, mbox):
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.