GNU bug report logs -
#19271
11.88; Colored Equation incorrect foreground color
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19271 in the body.
You can then email your comments to 19271 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#19271
; Package
auctex
.
(Thu, 04 Dec 2014 16:41:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Grabowski <8grabows <at> informatik.uni-hamburg.de>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 04 Dec 2014 16:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 = {\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.
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:
==============
(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"))
)
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#19271
; Package
auctex
.
(Thu, 04 Dec 2014 16:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 19271 <at> debbugs.gnu.org (full text, mbox):
Felix Grabowski <8grabows <at> 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.
--
David Kastrup
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#19271
; Package
auctex
.
(Thu, 07 Mar 2024 09:41:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 19271 <at> debbugs.gnu.org (full text, mbox):
David Kastrup <dak <at> gnu.org> writes:
> Felix Grabowski <8grabows <at> 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
Added tag(s) notabug.
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 07 Mar 2024 09:41:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
19271 <at> debbugs.gnu.org and Felix Grabowski <8grabows <at> informatik.uni-hamburg.de>
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 07 Mar 2024 09:41:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 04 Apr 2024 11:24:24 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 36 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.