David Kastrup <[email protected]> writes:

> Felix Grabowski <[email protected]> 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



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to