[texworks] how to customize the completion

Peng Shao shallpion at hotmail.com
Wed Apr 29 09:06:19 CEST 2009


Dear Alain:

 

thank you very much for your concern on my issue.

 

The tw-latex.txt file I modified is the one in

 

C:\Documents and Settings\shaopeng\TeXworks\completion

 

and in linux, it is in ~/texworks/res/resfiles/completion

 

I do not know why but neither in linux or in windows I never succeeded to modify it....

 

I am really really sorry to hear that the bullets do not work well under windows. I like it very much:(

 



Regards, Shao Peng


 
> Date: Wed, 29 Apr 2009 08:53:46 +0200
> From: esperanto at swing.be
> To: texworks at tug.org
> Subject: Re: [texworks] how to customize the completion
> 
> Hi Peng,
> 
> Under Windows the shortcut is [Tab] alone.
> The bullets do NOT work, unfortunately (as far as I know - perhaps I 
> should retest).
> Are you sure that the file tw-latex.txt you modified is the one used by 
> TeXworks, it could happen that one has several TeXworks folder with 
> completion?
> 
> Finally, which version are you using under Windows?
> 
> Alain Delmotte
> 
> Peng Shao a écrit :
> > Dear Stefan:
> > 
> >
> >
> > Regards, Shao Peng
> >
> >
> > 
> > > Date: Wed, 29 Apr 2009 07:15:06 +0200
> > > From: st.loeffler at gmail.com
> > > To: texworks at tug.org
> > > Subject: Re: [texworks] how to customize the completion
> > >
> > > Hi,
> > >
> > > On 2009-04-29 06:20, Peng Shao wrote:
> > > > I found the completion of texworks is really great, however I still
> > > > want to customize it
> > > > so that it fits my custom better. I am working on windows xp and I
> > > > found a file tw-latex.txt
> > > > under the completion directory, I tried to modify this file, but I did
> > > > not succeed. So I have
> > > > to seek help here. Is it able to customize the completion in texworks,
> > > > even to choose another
> > > > key rather than ctrl+tab to realize completion? I really like the
> > > > bullet "dot" , it is so convenient.
> > >
> > > To answer (some of) your questions: yes, it is possible to customize the
> > > completion, and the tw-latex.txt file is the right point to do that. But
> > > right now it's not possible to change the shortcut key as it's
> > > hard-wired in the source code (unless you want to customize and compile
> > > TW yourself, of course).
> > >
> > > There's also a short guide to code completion customization on the wiki:
> > > http://code.google.com/p/texworks/wiki/CodeCompletion
> > > If you need more help it would be good if you could post a specific
> > > issue/some customization you tried that didn't work. That way we could
> > > determine more easily what the problem is.
> > >
> > > Regards
> > > Stefan
> >
> > Thank you very much. I have two issues here :
> > 
> > 1. I modifed
> > bequ:=\begin{equation}#RET##INS##RET#\end{equation}•
> > into
> > bequ:=\begin{equation}#RET#test#INS##RET#\end{equation}•
> > 
> > after restarting the texworks, I tried to complete \begin{equa
> > with Tab, but still I got
> > 
> > \begin{equation}
> > cursor
> > \end{equation}•
> > 
> > what I added the word "test" did not appear
> > 
> > 2. Tab+Ctrl seems not work on my machine, and I tried on other machine 
> > with Windows XP
> > neither of them work, instead I found the combination Tab+Ctrl can 
> > only realize the same function
> > as Tab on these machines. The combination Tab + Ctrl works fine on my 
> > linux.
> > 
> > Sorry to bother you with these questions, Thank you.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> > 
> >
> > See all the ways you can stay connected to friends and family 
> > <http://www.microsoft.com/windows/windowslive/default.aspx>
> 

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texworks/attachments/20090429/635d75df/attachment-0001.html 


More information about the texworks mailing list