GNOME Bugzilla – Bug 679614
\label background color
Last modified: 2019-02-22 03:40:53 UTC
When I use the "\label" command, the background color changes (in all themes) to FFFFCF thus rendering the text unreadable (FFFFFF in Cobalt.xml theme) I tried editing the cobalt.xml theme in GtkSourceView-2.0 and -3.0 but found no style utilizing the FFFFCF color code. Further googling revealed that the FFFFCF code is used in the "warning-background-color" parameter. By editing /usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.latex.gschema.xml I was able to get gedit to use the standard dark blue color of cobalt, though this is just a workaround and not a solution. This appeared to work fine until I turned on the Latex Plugin in gedit. Now the background changes to ffffcf in \label and changes back to dark blue when I turn off the plugin. I searched the .py files in /usr/share/gedit/plugins/latex and /usr/lib/gedit/plugins/latex and found no mention of ffffcf so it must be defined somewhere else. I am using xubuntu 12.04, kernel 3.4.0, gedit 3.4.1, latex-plugin 3.4.0
Hi Aris thank you for your bug report. I'm marking this as a duplicate of bug #691758 which has already been fixed. The \label command should not be specially highlighted. The reason why is being highlighted as warning is not because of the \label command, it's a warning that the label is currently unused. Next version of the latex plugin will not highlight unused labels as warnings. Carnë *** This bug has been marked as a duplicate of bug 691758 ***