bug#25002: Fail to preview latex in macOS emacs

2023-01-20 Thread Tassilo Horn
Ruoquan Wang <13307110...@fudan.edu.cn> writes:

Hi Wang,

> 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. The .emacs file are
> in the attachment.

Since we've never heard anything back, I'm closing this report.

Thanks,
Tassilo



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#25002: Fail to preview latex in macOS emacs

2017-11-23 Thread Mosè Giordano
Hi Michael,

adding to what David said, we'll hopefully release a new stable
version of AUCTeX, which will include the fix, by next week.

Bye,
Mosè


2017-11-23 9:10 GMT+01:00 Michael Heerdegen :
> David Kastrup  writes:
>
>> 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.
>
> Ok, it was just a shot in the dark.  Thanks for explaining.
>
>
> Michael.
>
>
>
> ___
> bug-auctex mailing list
> bug-auctex@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-auctex
>



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#25002: Fail to preview latex in macOS emacs

2017-11-22 Thread David Kastrup
Michael Heerdegen  writes:

> Ruoquan Wang <13307110...@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



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#25002: Fail to preview latex in macOS emacs

2017-11-22 Thread Michael Heerdegen
Ruoquan Wang <13307110...@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.


Michael.



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex