<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
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>