[texworks] syntax highlighting not working
chuck at sharpsteen.net
Tue Apr 17 02:21:30 CEST 2012
On Mon, Apr 16, 2012 at 4:53 PM, Suresh Kumar
<suresh.amritapuri at gmail.com>wrote:
> TexWorks Version 0.5 r.952 (Debian) on Ubuntu 12.04. Syntax high lighting
> not working. When I open the file, for a second, I see colored words but it
> vanishes soon to give me a plain black and white text file. White
> background and black letters.
> ~/.TexWorks/configuration/syntax-pattern.txt is attached.
> Any suggestions?
I've seen this happen before due to per-file settings. In other words,
TeXworks remembers some settings, such as syntax higlighting, on a per-file
basis. So, you open the file and it is highlighted by default but then the
per-file settings are loaded which cause the highlighting to vanish.
Possible solution: open the file and then check the Format->Syntax Coloring
menu to make sure highlighting is indeed enabled.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the texworks