Thread: [Vim-latex-devel] problem!
Brought to you by:
srinathava,
tmaas
From: Fabio S. <fab...@ti...> - 2002-12-30 11:26:15
|
I converted fileformat of all files in unix, but I got still big troubles. if i type FIT in insert mode I get \textit{<++>}<++> And if I type "" I get ``<++>''<++> Whop ? Thank you all, too bad I did'nt kept the previous version! Bye -- Fabio Spelta email: fab...@ti... jabber: fe...@ja... ecdl project: http://ecdllibre.sf.net |
From: Benji F. <be...@me...> - 2002-12-30 13:42:20
|
Fabio Spelta wrote: > I converted fileformat of all files in unix, but I got still big > troubles. > > > if i type FIT in insert mode I get > > > \textit{<++>}<++> > > And if I type "" I get > > ``<++>''<++> > > Whop ? Since the old place holders can cause problems, depending on your encoding, we decided to use the two-character sequences "<+" and "+>" instead by default. Try banging on <C-J>. HTH --Benji Fisher |
From: Fabio S. <fab...@ti...> - 2002-12-30 17:35:20
|
> Whop ? > > Since the old place holders can cause problems, depending on your > encoding, we decided to use the two-character sequences "<+" and "+>" > instead by default. Try banging on <C-J>. Too bad it does not work. Here are some messages I got when I launch vim: Error detected while processing function Tex_pack_all..Tex_pack_one..Tex_pack_check..Tex_p ack..<SNR>36_GroupPackageMenuItems..Tex_MakeSubmenu..<SNR>36_FilterPackageMenuLHS: line 8: E121: Undefined variable: s:MenuLHS_enb E116: Invalid arguments for function substitute E15: Invalid expression: substitute(s:MenuLHS_{commandType}, '<+replace+>', commandName, ' g') In fact, I just cannot jump with ctrl-J. You can see from my prev. message that <++> are both at the end that in the middle of the parenthesis/brackets. Can you please upload/send me an older version while you will fix the trouble? If it is not a trouble to you, it will be great for me: I just got addicted to vim-latex and while it works this way I cannot use it. Once again, thank you. -- Fabio Spelta email: fab...@ti... jabber: fe...@ja... ecdl project: http://ecdllibre.sf.net |
From: Fabio S. <fab...@ti...> - 2002-12-31 10:18:10
|
> Meanwhile, I just fear that some trouble has born since I've overridden > the previous version **got from the CVS** and the latest from the zip > file. Is this possible? (self reply :))... yes, it is. I have clean up it all and now CTRL-J works.... I am very sorry for have make you loose your time, I hope it was not too much. Next time I will be careful in overriding... pheraps you should put some notice in the FAQ or in the install guide, anyway, so other people will not make my error. Anyway, well, I preferred when the cursor automatically moved inside the brackets, I will look (myself, this time, hoping to be good enough) to the sources for having it behave the way I like. Once again, Happy new year! -- Fabio Spelta email: fab...@ti... jabber: fe...@ja... ecdl project: http://ecdllibre.sf.net |
From: Srinath A. <sr...@fa...> - 2003-01-03 02:35:47
|
Hey Fabio! On Tue, 31 Dec 2002, Fabio Spelta wrote: > I have clean up it all and now CTRL-J works.... I am very sorry for have > make you loose your time, I hope it was not too much. > Thats a big relief! the macro bugs always really fluster me. latex-suite like all other projects cannot avoid interdependencies. Atleast with imaps.vim, the interface has been in a fair amount of turmoil over the last few weeks. In the future, when the API's which the various modules offer to each other stabilize, then such things will not create problems. Ofcourse, its _always_ recommended not to do such things unless you are really sure you know what youre doing. If you want to use cvs to minimize downloading, just do a cvs update and then goto the vimfiles/ directory and do a 'make install'. > Once again, Happy new year! And a Happy new year to you too! Srinath |
From: Srinath A. <sr...@fa...> - 2002-12-30 19:41:01
|
Hey Fabio, I have uploaded the "stable" version of dec 13 02 on vim.sf.net. You can get it from: vim-latex.sourceforge.net/download/latexSuite-dec-13-02.tar.gz This uses the "funky" characters like =E4 and =AB etc... Hope it works... But before trying it out, could you answer a quick question: > In fact, I just cannot jump with ctrl-J. > You can see from my prev. message that <++> are both at the end that in > the middle of the parenthesis/brackets. The problem is that IMAP_Jumpfunc() is not able to recognize the <+ and +> characters as placeholders... Which is really bizzare. After starting latex-suite, could you on the latest version, try doing :echo IMAP_GetPlaceHolderStart() :echo IMAP_GetPlaceHolderEnd() and see what it says? It should hopefully say '<+' and '+>'. If it doesn't, then it will be a problem... Also, it will help greatly if you please spend some time on the newer version when you get the time. In particular, if you can: 1. where is your 'encoding', 'fileencoding' etc getting set. Do you set values for these anywhere in your .vimrc or ftplugin/tex.vim or even in a modeline in your .tex file? 2. What is the value of 'encoding' and 'fileencoding'? 3. Have you changed the value of b:Imap_PlaceHolderStart or b:Imap_PlaceHolderEnd or g:Imap_PlaceHolderStart or g:Imap_PlaceHolderEnd anywhere (in your .vimrc or ftplugin/tex.vim file?) The way imaps is designed, this should not create problems, but you never know... If you have changed it, where and to what have you changed it? 4. What system are you working on? Is there some special international character setting? I tried to reproduce this bug on my win xp box and on the vim.sf.net linux shell, but didn't see this problem... This is quite a serious problem and it will help if we can get it solved as quickly as possible... On Mon, 30 Dec 2002, Fabio Spelta wrote: > Error detected while processing function > Tex_pack_all..Tex_pack_one..Tex_pack_check..Tex_p > ack..<SNR>36_GroupPackageMenuItems..Tex_MakeSubmenu..<SNR>36_FilterPackag= eMenuLHS: > line 8: > E121: Undefined variable: s:MenuLHS_enb > E116: Invalid arguments for function substitute > E15: Invalid expression: substitute(s:MenuLHS_{commandType}, > '<+replace+>', commandName, ' > g') > This was a bug in packages/longtable. I have fixed it... In the future, packages.vim will handle these things elegantly. Maybe throw a warning or even just silently ignore things it cannot understand... Srinath |
From: Fabio S. <fab...@ti...> - 2002-12-31 10:00:19
|
> vim-latex.sourceforge.net/download/latexSuite-dec-13-02.tar.gz I'm wgetting it, thank you > :echo IMAP_GetPlaceHolderStart() > :echo IMAP_GetPlaceHolderEnd() >=20 > and see what it says? It should hopefully say '<+' and '+>'. If it > doesn't, then it will be a problem... It does not. It say =AB and =BB =20 > Also, it will help greatly if you please spend some time on the newer > version when you get the time. In particular, if you can: I will. Meanwhile, I just fear that some trouble has born since I've overridden the previous version **got from the CVS** and the latest from the zip file. Is this possible? Also, I converted all the files with a :bufdo, may have that done something wrong? Pheraps I will solve it all by erasing and reinstalling it all... hope to not burn nothing else :) See ya, thanks for your upload. --=20 Fabio Spelta =20 email: fab...@ti... jabber: fe...@ja... ecdl project: http://ecdllibre.sf.net |