GNU bug report logs - #35696
preview-latex does not work under any Emacs themes

Previous Next

Package: auctex;

Reported by: Hua Wang <hackitforfun <at> gmail.com>

Date: Sun, 12 May 2019 10:20:01 UTC

Severity: normal

Tags: fixed

Merged with 35571, 36039

Found in version 12.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Gennady Uraltsev <gennady.uraltsev <at> gmail.com>,
 Hua Wang <hackitforfun <at> gmail.com>, Berthold Lorke <berthold <at> lorke.de>
Cc: 35571 <at> debbugs.gnu.org, 35696 <at> debbugs.gnu.org, 36039 <at> debbugs.gnu.org
Subject: Re: bug#35696; bug#35571; bug#36039
Date: Sun, 21 Jul 2019 21:14:15 +0900
Dear the bug reporters,

I just committed a "fix" for preview-latex in the git repository of
AUCTeX.  You can try it out at git://git.savannah.gnu.org/auctex.git .

Unfortunately, the latest development version offers only partial
solution if you are using gs 9.27.  Please read on for detail.

1. When you use gs 9.28 or later after gs 9.28 is released, customize
   `preview-pdf-color-adjust-method' to t.
   This includes the case that your (Linux or *BSD) binary package
   manager distributes gs 9.27 with necessary patches.
2. When you use gs 9.26 or before, customize
   `preview-pdf-color-adjust-method' to `compatible'.
3. When you use gs 9.27 and it doesn't have the necessary patches
   applied,
3-1. if you don't customize the foreground color of Emacs, customize
     `preview-pdf-color-adjust-method' to `compatible'.
3-2. if you customize the foreground color of Emacs and the background
     is light (i.e. not dark), customize
     `preview-pdf-color-adjust-method' to `compatible' and
     `preview-reference-face' to have default (black) foreground color.
3-3. if you customize the foreground color of Emacs and the background
     is dark, customize `preview-pdf-color-adjust-method' to nil.  This
     forces plain "black on white" appearance for the generated image.
     You can at least read what are written in the image although they
     may not match with your Emacs color well.

Best regards,
Ikumi Keita




This bug report was last modified 5 years and 308 days ago.

Previous Next


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