GNU bug report logs - #19271
11.88; Colored Equation incorrect foreground color

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Felix Grabowski <8grabows@HIDDEN>; dated Thu, 4 Dec 2014 16:41:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at 19271 <at> debbugs.gnu.org:


Received: (at 19271) by debbugs.gnu.org; 4 Dec 2014 16:55:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 04 11:55:35 2014
Received: from localhost ([127.0.0.1]:53790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XwZgl-0004V2-0P
	for submit <at> debbugs.gnu.org; Thu, 04 Dec 2014 11:55:35 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:36155)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dak@HIDDEN>) id 1XwZgj-0004Us-7v
 for 19271 <at> debbugs.gnu.org; Thu, 04 Dec 2014 11:55:33 -0500
Received: from localhost ([127.0.0.1]:43461 helo=lola)
 by fencepost.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dak@HIDDEN>)
 id 1XwZgi-0000M6-0d; Thu, 04 Dec 2014 11:55:32 -0500
Received: by lola (Postfix, from userid 1000)
 id 77944E0E3C; Thu,  4 Dec 2014 17:55:31 +0100 (CET)
From: David Kastrup <dak@HIDDEN>
To: Felix Grabowski <8grabows@HIDDEN>
Subject: Re: bug#19271: 11.88; Colored Equation incorrect foreground color
References: <10065A7B-7E62-452E-99E5-60FAA1406EB0@HIDDEN>
Date: Thu, 04 Dec 2014 17:55:31 +0100
In-Reply-To: <10065A7B-7E62-452E-99E5-60FAA1406EB0@HIDDEN>
 (Felix Grabowski's message of "Thu, 4 Dec 2014 16:40:12 +0100")
Message-ID: <87k327tkvw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 19271
Cc: 19271 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Felix Grabowski <8grabows@HIDDEN> writes:

> When using LaTeX preview to show colored inline equations in
> combination with a colorscheme that has a non black text color, the
> foreground color of the equations reverts back to black after using
> any color commands.
>
> Example:
> \[
>   colorschemeForegroundColor = {\color{red}{redText}} \cdot thisIsNowBlack 
> \]
> or:
> \[
>   $ c = \color{red}{r} \cdot b $
> \]
> This bevior can be obersved with any colorscheme and the problem is
> especially bad when using dark colorschemes where the equations then
> become indistinguishable from the theme background.

preview-latex is not magic.  It attempts to support Emacs color schemes
by starting the PostScript/PDF rendering with Emacs' background and
foreground colors.  This is an inherent mismatch of the correct page
output (which is black o white by default) and the preview-latex output,
for the sake of getting somewhat reasonable results.

If you use color in the LaTeX document itself, all bets are off
regarding the interference of preview-latex's tentatively preset canvas
and drawing color with the coloring commands in the document.

-- 
David Kastrup




Information forwarded to bug-auctex@HIDDEN:
bug#19271; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Dec 2014 16:40:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 04 11:40:26 2014
Received: from localhost ([127.0.0.1]:53780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XwZS5-00047h-Dj
	for submit <at> debbugs.gnu.org; Thu, 04 Dec 2014 11:40:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49645)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <8grabows@HIDDEN>)
 id 1XwYWJ-0002dk-1A
 for submit <at> debbugs.gnu.org; Thu, 04 Dec 2014 10:40:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <8grabows@HIDDEN>)
 id 1XwYWB-0003Hz-T4
 for submit <at> debbugs.gnu.org; Thu, 04 Dec 2014 10:40:42 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34226)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <8grabows@HIDDEN>)
 id 1XwYWB-0003Hv-G4
 for submit <at> debbugs.gnu.org; Thu, 04 Dec 2014 10:40:35 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51346)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <8grabows@HIDDEN>)
 id 1XwYW5-0002a6-I0
 for bug-auctex@HIDDEN; Thu, 04 Dec 2014 10:40:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <8grabows@HIDDEN>)
 id 1XwYVz-0003Ec-JH
 for bug-auctex@HIDDEN; Thu, 04 Dec 2014 10:40:29 -0500
Received: from mailhost.informatik.uni-hamburg.de ([134.100.9.70]:52660)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <8grabows@HIDDEN>)
 id 1XwYVz-0002xX-AG
 for bug-auctex@HIDDEN; Thu, 04 Dec 2014 10:40:23 -0500
Received: from localhost (localhost [127.0.0.1])
 by mailhost.informatik.uni-hamburg.de (Postfix) with ESMTP id 818FAFB2
 for <bug-auctex@HIDDEN>; Thu,  4 Dec 2014 16:40:15 +0100 (CET)
X-Virus-Scanned: amavisd-new at informatik.uni-hamburg.de
Received: from mailhost.informatik.uni-hamburg.de ([127.0.0.1])
 by localhost (mailhost.informatik.uni-hamburg.de [127.0.0.1]) (amavisd-new,
 port 10024) with LMTP id tSt-pCXwurfR for <bug-auctex@HIDDEN>;
 Thu,  4 Dec 2014 16:40:14 +0100 (CET)
Received: from dhcp-172-21-19-99.wlan.uni-hamburg.de.local
 (uhh-wlan-fo-134-100-17-1.rrz.uni-hamburg.de [134.100.17.1])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: 8grabows)
 by mailhost.informatik.uni-hamburg.de (Postfix) with ESMTPSA id 2A062FB1
 for <bug-auctex@HIDDEN>; Thu,  4 Dec 2014 16:40:14 +0100 (CET)
From: Felix Grabowski <8grabows@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: 11.88; Colored Equation incorrect foreground color
Message-Id: <10065A7B-7E62-452E-99E5-60FAA1406EB0@HIDDEN>
Date: Thu, 4 Dec 2014 16:40:12 +0100
To: bug-auctex@HIDDEN
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
X-Mailer: Apple Mail (2.1993)
X-detected-operating-system: by eggs.gnu.org: Solaris 10
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 04 Dec 2014 11:40:24 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------
When using LaTeX preview to show colored inline equations in combination =
with a colorscheme that
has a non black text color, the foreground color of the equations
reverts back to black after using any color commands.

Example:
\[
  colorschemeForegroundColor =3D {\color{red}{redText}} \cdot =
thisIsNowBlack=20
\]
or:
\[
  $ c =3D \color{red}{r} \cdot b $
\]
This bevior can be obersved with any colorscheme and the problem is
especially bad when using dark colorschemes where the equations then
become indistinguishable from the theme background.


Emacs  : GNU Emacs 24.4.1 (x86_64-apple-darwin14.0.0, Carbon Version 157 =
AppKit 1343.16)
of 2014-11-18 on Felixs-MBP-2.home
Package: 11.88

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
AUCTeX-date "2014-10-29"
window-system 'mac
LaTeX-version "2e"
TeX-style-path '("~/.emacs.d/auctex" =
"/Users/fukurokujo/.emacs.d/elpa/auctex-11.88/style"
                  "/Users/fukurokujo/.emacs.d/auctex/auto" =
"/Users/fukurokujo/.emacs.d/auctex/style" "auto"
                  "style")
TeX-auto-save nil
TeX-parse-self nil
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %(extraopts) =
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help =
"Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil =
(latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %(extraopts) %t" =
TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" =
TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %(extraopts) =
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode)
                     :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(extraopts) =
%(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(extraopts) %(execopts)%t" =
TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help =
"Run BibTeX")
                    ("Biber" "biber %s" TeX-run-Biber nil t :help "Run =
Biber")
                    ("View" "%V" TeX-run-discard-or-function t t :help =
"Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the =
file")
                    ("Queue" "%q" TeX-run-background nil t :help "View =
the printer queue" :visible
                     TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t =
:help "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help =
"Create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil t :help =
"Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil =
(latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil =
(latex-mode) :help
                     "Check LaTeX file for common mistakes")
                    ("Spell" "(TeX-ispell-document \"\")" =
TeX-run-function nil t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help =
"Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t =
:help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help "Run an =
arbitrary command"))
)




Acknowledgement sent to Felix Grabowski <8grabows@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#19271; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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