[texworks] syntax highlighting not working

Suresh Kumar suresh.amritapuri at gmail.com
Tue Apr 17 03:53:59 CEST 2012

Thanks, it worked!
Is there any specific per file command that has to be given for syntax high
lighting like the ones which start with % ?

On Mon, Apr 16, 2012 at 5:21 PM, Charlie Sharpsteen <chuck at sharpsteen.net>wrote:

> On Mon, Apr 16, 2012 at 4:53 PM, Suresh Kumar <suresh.amritapuri at gmail.com
> > wrote:
>> Hi
>> 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?
>> thanks
>> suresh
> 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.
> -Charlie

R Suresh Kumar,
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20120416/8eeaa4b3/attachment.html>

More information about the texworks mailing list