I installed the widetext package and was happily using it until I decided to edit the style file widetext.sty. Happily, LaTeX immediately picked up the changes and compiled correctly. I then decided to undo those changes to widetext.sty, and I did so, but now latex doesn't seem to pick up this fact (ie it still thinks the changes are present). If I rename widetext.sty to something else, LaTeX properly fails to compile and says it can't find widetext.sty. However, if I intentionally put garbage text in widetext.sty to cause the latex compile to fail, LaTeX doesn't seem to notice and happily compiles the last "working copy" of widetext.sty it seems to have stashed in some form of cache somewhere.
I tried to delete all output files in the working directory. No luck. widetext.sty is located in C:\Program Files\MiKTeX 2.9\tex\latex\widetext. Thoughts?
.styfile. Instead, I recommend to use\renewcommand(or\defetc.) to make changes within your document or your own style file. If you edit styles or classes, 1. your document is not portable, it would look different when compiled on other systems, 2. other files would look different or won't work when compiled at your sytems with modified styles. – Stefan Kottwitz Mar 10 '11 at 19:33widetext.sty– Martin Scharrer Mar 10 '11 at 19:40widetext.styand see which version it thinks it is using (I mean, where on your system it is located). – Andrew Stacey Mar 10 '11 at 20:06@Stefan -- I agree, this was just a quick fix I wanted to try. @Martin/Andrew -- strangely the log file points to the correct copy of the style file...
– BoB Mar 10 '11 at 23:12\mateatletterand\makeatother. Btw., in general, for new problems it would be better use a new question instead of a comment, it's better to see and to discuss for all. If it's a follow-up, a link to the original question would be fine then. – Stefan Kottwitz Mar 11 '11 at 16:12