[gedit-list] LaTeX syntax highlighting



Hi there,

I tried to extend the existing color scheme "Oblivion" to use different colors only for LaTeX documents. However, overriding the default settings seems to work only for some syntax elements while it fails for others. For example, for comments in LaTeX files, the following style specification
  <style name="latex:comment"       foreground="#bc9458" italic="true"/>
successfully overrides the corresponding default specification
  <color name="aluminium4"          value="#888a85"/>
  <style name="def:comment"         foreground="aluminium4"/>
but the following specifications
  <style name="latex:statement"     foreground="#cc7830" bold="true"/>
  <style name="latex:keyword"       foreground="#cc7830" bold="true"/>
fail to override the corresponding default specifications
  <style name="def:statement"       foreground="#white" bold="true"/>
  <style name="def:keyword"         foreground="#white" bold="true"/>
Even when I delete/comment these default specifications, the LaTeX-specific specifications have no effect. Any ideas?

I am using gedit 2.26.1

Thanx
Holger

View this message in context: LaTeX syntax highlighting
Sent from the Gnome - Gedit mailing list archive at Nabble.com.


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