[texworks] TexWorks not detecting configuration folder?
jfkthame at googlemail.com
Mon Dec 7 04:55:02 CET 2009
On 6 Dec 2009, at 13:20, Ng E-Ching wrote:
> Dear all,
> I have been trying to change my syntax-patterns.txt to get different colors for syntax highlighting, but nothing seems to have any effect. In fact, I think TeXworks isn't even detecting my configuration folder, because I tried deleting it and it wasn't recreated the next time I started up. (Yes, I did back up first. :) I thought maybe the problem was that I had originally installed texlive in C:\Program Files\texlive and then moved it manually to C:\texlive, so I moved the whole thing back to Program Files, but still no go.
> About my setup: My syntax highlighting is on and set to LaTeX in Edit > Preferences > Syntax coloring (I'm trying to change the color of the comments to something that's not bright red), TeXworks is starting up despite being moved everywhere, and I'm using TeX Live 2009 in Windows XP without any TeXworks updates. The TeXworks executable is in C:\texlive\2009\bin\win32\ and syntax-patterns.txt is in C:\texlive\2009\texmf-dist\context\data\texworks\configuration.
That sounds like a file that belongs to a ConTeXt-specific setup, it's not the default location I'd expect texworks to use. (Perhaps there's a batch file or similar for running texworks that makes it use this setup.)
Normally, the texworks resources will be found in a configuration folder within your home directory; on Windows, I think it's something like C:\Documents and Settings\(your user name)\TUG\texworks but I may not be remembering exactly right. Look under your home directory and I think you'll be able to find it.
More information about the texworks