bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19271: 11.88; Colored Equation incorrect foreground color


From: Arash Esbati
Subject: bug#19271: 11.88; Colored Equation incorrect foreground color
Date: Thu, 07 Mar 2024 10:39:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

David Kastrup <dak@gnu.org> writes:

> Felix Grabowski <8grabows@informatik.uni-hamburg.de> 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.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

That said, I think this isn't a bug and therefore I'm closing this
report.

Best, Arash





reply via email to

[Prev in Thread] Current Thread [Next in Thread]