<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV><SPAN class=928205905-30042009></SPAN><FONT face=Tahoma>Had <SPAN
class=928205905-30042009>exactly
</SPAN>the same problem here<SPAN class=928205905-30042009>
(Windows).</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><SPAN class=928205905-30042009>I had to remove also all these temporary
files in the completion folder; they have names like qt_temp.Xd3892, I had 4 of
them. Seem to be some kind of cache files. Inside there were all the not-desired
completion strings from the supposedly deleted files (e.g.
tw-latex).</SPAN></DIV>
<DIV><SPAN class=928205905-30042009></SPAN> </DIV>
<DIV><SPAN class=928205905-30042009>Now it seems to work fine here.</SPAN></DIV>
<DIV><SPAN class=928205905-30042009></SPAN> </DIV>
<DIV><SPAN class=928205905-30042009><FONT face=Tahoma>Hope this
helps.</FONT></SPAN></DIV>
<DIV><SPAN class=928205905-30042009><FONT face=Tahoma></FONT></SPAN> </DIV>
<DIV><SPAN class=928205905-30042009><FONT
face=Tahoma>Greetings</FONT></SPAN></DIV>
<DIV><SPAN class=928205905-30042009><FONT face=Tahoma>Thomas</FONT></SPAN></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> texworks-bounces@tug.org
[mailto:texworks-bounces@tug.org] <B>On Behalf Of </B>Peng Shao<BR><B>Sent:</B>
Wednesday, April 29, 2009 10:10 AM<BR><B>To:</B>
texworks@tug.org<BR><B>Subject:</B> Re: [texworks] how to customize the
completion<BR></FONT><BR></DIV>
<DIV></DIV>Dear Stefan:<BR> <BR>thank you very much. <BR>Yes I found the
mistakes you pointed out, I appreciate it very much.<BR> <BR>I tried you
suggestion, yes if I modify the line beginning with {equation} I can get what I
want<BR>However if I try to modiry the line beginning with bequ:.....<BR>and I
press Tab after typing bequ I still get the old one..<BR> <BR>btw, dear
Joseph thank you for your reminding, I always reopen texworks after modifying
the tw-latex.txt£¬ am I correct? :p<BR> <BR>The most weird thing, I moved
tw-latex.txt away and created a new tw-latex.txt file with
only<BR> <BR>%%!TEX encoding = UTF-8
Unicode<BR>bequ:=\begin{equation}#RET#test#INS##RET#\end{equation}<BR> <BR>as
its content and when I pressed tab after typing bequ, I still got
<BR> <BR>\begin{equation}<BR>cursor<BR>\end{equation}bullet <BR><BR>I
pressed tab several times, then I got what I modified. So, I guess, are there
some complement codes "embedded" in texworks?<BR> <BR>Yes the tab+ctrl
seems to be occupied by windows as some kind of hotkey, I am not sure if the
software autohotkey can<BR>help us release it from
windows....<BR> <BR>Thank you<BR><BR><BR>Regards, Shao
Peng<BR><BR><BR> <BR>> Date: Wed, 29 Apr 2009 09:14:39 +0200<BR>>
From: st.loeffler@gmail.com<BR>> To: texworks@tug.org<BR>> Subject: Re:
[texworks] how to customize the completion<BR>> <BR>> Hi,<BR>> <BR>>
Peng Shao schrieb:<BR>> > The tw-latex.txt file I modified is the one
in<BR>> > C:\Documents and Settings\shaopeng\TeXworks\completion<BR>>
> and in linux, it is in ~/texworks/res/resfiles/completion<BR>> <BR>>
At least the linux file is not the correct one. The one you mention is<BR>>
just the template from the source code that gets copied to your "real"<BR>>
configuration directory, which should be ~/.TeXworks/completion<BR>> <BR>>
I just tested your modifications on Linux (Ubuntu 9.04) and maybe found<BR>>
your problem.<BR>> If I enter "bequ" and press tab I get the modified
environment (i.e.<BR>> with "test" in the middle). If I write "\begin{equa"
and press tab I<BR>> s! till get the old one. The problem is that there are
several different<BR>> shortcuts to get the equation environment. Just search
for "equation" in<BR>> tw-latex.txt. You'll find (amongst others) a line
starting with<BR>> "{equation}" which is the one that gets used in your
case.<BR>> <BR>> > I am really really sorry to hear that the bullets do
not work well<BR>> > under windows. I like it very much:(<BR>> <BR>>
I imagine this is because Ctrl-Tab is used by the operating system (to<BR>>
tab through sub-windows). But I'd need further investigations to confirm<BR>>
this.<BR>> <BR>> Regards<BR>> Stefan<BR><BR>
<HR>
See all the ways you can stay connected <A
href="http://www.microsoft.com/windows/windowslive/default.aspx" target=_new>to
friends and family</A> </BODY></HTML>