Hi AUCTeX developers,

I propose to commit the attached fix.  Comments and suggestions are
welcome.

>>>>> David Kastrup <d...@gnu.org> writes:
> Ok, that's puzzling.  It really should have worked.

William Bader kindly provided me a revised code which works fine in
personal correspondances.  However, I finally chose not to use it
(sorry, William!).

We have to provide a reliable way for preview-latex users to exclude
DELAYBIND from gs invocation option because it can "result in almost any
non-trivial (PDF) file erroring out" for gs binary without proper fix,
according to Chris[1].

In order to achive that, I introduced a new elisp option
`preview-pdf-color-adjust-method' in the proposed patch.  After
reconsideration, I came up with a conclusion that it's more reasonable
to address the required conditionals based on that option at elisp level
than at postscript level.

Best regards,
Ikumi Keita

[1] https://lists.gnu.org/archive/html/auctex-devel/2019-07/msg00004.html

Attachment: 0001-Change-color-adjustment-method-bug-35571-bug-35696-b.patch.gz
Description: fix preview-latex with new Ghostscript

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to