<!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&nbsp;<SPAN 
class=928205905-30042009>exactly 
</SPAN>the&nbsp;same&nbsp;problem&nbsp;here<SPAN class=928205905-30042009> 
(Windows).</SPAN></FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=928205905-30042009>Now it seems to work fine here.</SPAN></DIV>
<DIV><SPAN class=928205905-30042009></SPAN>&nbsp;</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>&nbsp;</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>&nbsp;<BR>thank you very much. <BR>Yes I found the 
mistakes you pointed out, I appreciate it very much.<BR>&nbsp;<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>&nbsp;<BR>btw, dear 
Joseph thank you for your reminding, I always reopen texworks after modifying 
the tw-latex.txt£¬ am I correct? :p<BR>&nbsp;<BR>The most weird thing, I moved 
tw-latex.txt away and created a new tw-latex.txt file with 
only<BR>&nbsp;<BR>%%!TEX encoding = UTF-8 
Unicode<BR>bequ:=\begin{equation}#RET#test#INS##RET#\end{equation}<BR>&nbsp;<BR>as 
its content and when I pressed tab after typing bequ, I still got 
<BR>&nbsp;<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>&nbsp;<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>&nbsp;<BR>Thank you<BR><BR><BR>Regards, Shao 
Peng<BR><BR><BR>&nbsp;<BR>&gt; Date: Wed, 29 Apr 2009 09:14:39 +0200<BR>&gt; 
From: st.loeffler@gmail.com<BR>&gt; To: texworks@tug.org<BR>&gt; Subject: Re: 
[texworks] how to customize the completion<BR>&gt; <BR>&gt; Hi,<BR>&gt; <BR>&gt; 
Peng Shao schrieb:<BR>&gt; &gt; The tw-latex.txt file I modified is the one 
in<BR>&gt; &gt; C:\Documents and Settings\shaopeng\TeXworks\completion<BR>&gt; 
&gt; and in linux, it is in ~/texworks/res/resfiles/completion<BR>&gt; <BR>&gt; 
At least the linux file is not the correct one. The one you mention is<BR>&gt; 
just the template from the source code that gets copied to your "real"<BR>&gt; 
configuration directory, which should be ~/.TeXworks/completion<BR>&gt; <BR>&gt; 
I just tested your modifications on Linux (Ubuntu 9.04) and maybe found<BR>&gt; 
your problem.<BR>&gt; If I enter "bequ" and press tab I get the modified 
environment (i.e.<BR>&gt; with "test" in the middle). If I write "\begin{equa" 
and press tab I<BR>&gt; s! till get the old one. The problem is that there are 
several different<BR>&gt; shortcuts to get the equation environment. Just search 
for "equation" in<BR>&gt; tw-latex.txt. You'll find (amongst others) a line 
starting with<BR>&gt; "{equation}" which is the one that gets used in your 
case.<BR>&gt; <BR>&gt; &gt; I am really really sorry to hear that the bullets do 
not work well<BR>&gt; &gt; under windows. I like it very much:(<BR>&gt; <BR>&gt; 
I imagine this is because Ctrl-Tab is used by the operating system (to<BR>&gt; 
tab through sub-windows). But I'd need further investigations to confirm<BR>&gt; 
this.<BR>&gt; <BR>&gt; Regards<BR>&gt; 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>