Thread: [Vim-latex-devel] \cite{<F9> completion does not work
Brought to you by:
srinathava,
tmaas
From: Simon Q. <sim...@gm...> - 2010-01-27 15:40:31
|
Hello Mailing List! \cite completions seems not to work on my current configuration. I tried \bibliography and \begin{thebibliography}. The .bib file is provided in the same directory as the .tex file (symbolic link and actual file, both don't work). Strangely, \ref and \includegraphics completion _does_ work. I don't know if this is somehow connected to an incompatibility with python, which is installed and working, of course. I am using the following software: Package: vim Version: 2:7.2.245-2ubuntu2 Package: vim-gnome Version: 2:7.2.245-2ubuntu2 Provides: editor, gvim, vim, vim-perl, vim-python, vim-ruby, vim-tcl Package: vim-latexsuite Version: 20060325-5 The latexsuite package seems to be an old version, is there a PPA in ubuntu which provides more recent versions via apt? Thank in advance! Simon |
From: Peter V. <pv...@ge...> - 2011-01-23 10:38:45
Attachments:
testcase-F9.tar.bz2
|
Hi. I saw thread with exactly same name and have "fixed" vim-latex suite installed here (1.8.23.20101027). Anyway if I write \cite{F9 the window to select reference opens but after I select reference and press <enter> nothing appears after \cite{. Testcase to reproduce the problem is in attachment. Also note: I'm using xelatex and thus I have the following customization inside ~/.vimrc: "vim-latex for xetex! let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_ViewRule_pdf='evince' let g:Tex_CompileRule_pdf = 'xelatex --interaction=nonstopmode $*' map <f2> :w<cr><leader>ll let g:Tex_MultipleCompileFormats = 'pdf' Thanks in advance for any help, -- Peter. |
From: Robson R. S. P. <rob...@gm...> - 2011-01-23 12:14:55
|
On Sun, Jan 23, 2011 at 7:37 AM, Peter Volkov <pv...@ge...> wrote: > > Hi. I saw thread with exactly same name and have "fixed" vim-latex suite > installed here (1.8.23.20101027). Anyway if I write \cite{F9 the window > to select reference opens but after I select reference and press <enter> > nothing appears after \cite{. Testcase to reproduce the problem is in > attachment. Also note: I'm using xelatex and thus I have the following > customization inside ~/.vimrc: > > "vim-latex for xetex! > let g:Tex_DefaultTargetFormat = 'pdf' > let g:Tex_ViewRule_pdf='evince' > let g:Tex_CompileRule_pdf = 'xelatex --interaction=nonstopmode $*' > map <f2> :w<cr><leader>ll > let g:Tex_MultipleCompileFormats = 'pdf' > Are you have the 'grep' installed? After install, do it. " IMPORTANT: grep will sometimes skip displaying the file name if you " search in a singe file. This will confuse Latex-Suite. Set your grep " program to always generate a file-name. set grepprg=grep\ -nH\ $* [ ]s > > Thanks in advance for any help, > -- > Peter. > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Robson Roberto Souza Peixoto Robinho Computer Science Master's degree student, University of Campinas Linux Counter #395633 IRC: robsonpeixoto Twitter: http://twitter.com/rrspba github: https://github.com/robsonpeixoto |
From: Peter V. <pv...@ge...> - 2011-01-23 13:00:33
|
В Вск, 23/01/2011 в 09:14 -0300, Robson Roberto Souza Peixoto пишет: > On Sun, Jan 23, 2011 at 7:37 AM, Peter Volkov <pv...@ge...> wrote: > > > > Hi. I saw thread with exactly same name and have "fixed" vim-latex suite > > installed here (1.8.23.20101027). Anyway if I write \cite{F9 the window > > to select reference opens but after I select reference and press <enter> > > nothing appears after \cite{. Testcase to reproduce the problem is in > > attachment. Also note: I'm using xelatex and thus I have the following > > customization inside ~/.vimrc: > > > > "vim-latex for xetex! > > let g:Tex_DefaultTargetFormat = 'pdf' > > let g:Tex_ViewRule_pdf='evince' > > let g:Tex_CompileRule_pdf = 'xelatex --interaction=nonstopmode $*' > > map <f2> :w<cr><leader>ll > > let g:Tex_MultipleCompileFormats = 'pdf' > > > > Are you have the 'grep' installed? Sure. $ grep -V GNU grep 2.5.4 > After install, do it. > > " IMPORTANT: grep will sometimes skip displaying the file name if you > " search in a singe file. This will confuse Latex-Suite. Set your grep > " program to always generate a file-name. > set grepprg=grep\ -nH\ $* I've tried to put this into ~/.vimrc but still no luck. BTW, I have VIM 7.3 installed here. -- Peter. |
From: Robson R. S. P. <rob...@gm...> - 2011-01-23 13:16:46
|
On Sun, Jan 23, 2011 at 9:59 AM, Peter Volkov <pv...@ge...> wrote: > В Вск, 23/01/2011 в 09:14 -0300, Robson Roberto Souza Peixoto пишет: >> On Sun, Jan 23, 2011 at 7:37 AM, Peter Volkov <pv...@ge...> wrote: >> > >> > Hi. I saw thread with exactly same name and have "fixed" vim-latex suite >> > installed here (1.8.23.20101027). Anyway if I write \cite{F9 the window >> > to select reference opens but after I select reference and press <enter> >> > nothing appears after \cite{. Testcase to reproduce the problem is in >> > attachment. Also note: I'm using xelatex and thus I have the following >> > customization inside ~/.vimrc: >> > >> > "vim-latex for xetex! >> > let g:Tex_DefaultTargetFormat = 'pdf' >> > let g:Tex_ViewRule_pdf='evince' >> > let g:Tex_CompileRule_pdf = 'xelatex --interaction=nonstopmode $*' >> > map <f2> :w<cr><leader>ll >> > let g:Tex_MultipleCompileFormats = 'pdf' >> > >> >> Are you have the 'grep' installed? > > Sure. > $ grep -V > GNU grep 2.5.4 > >> After install, do it. >> >> " IMPORTANT: grep will sometimes skip displaying the file name if you >> " search in a singe file. This will confuse Latex-Suite. Set your grep >> " program to always generate a file-name. >> set grepprg=grep\ -nH\ $* > > I've tried to put this into ~/.vimrc but still no luck. BTW, I have > VIM 7.3 installed here. I'm using VIM 7.1.102 and are working very well. BTW, from my vimrc: " {{{ Latex au FileType tex setl spell spelllang=pt grepprg=grep\ -nH\ $* makeprg=make\ $* sw=2 ts=2 sts=2 et iskeyword+=: au FileType bib setl spell spelllang=pt makeprg=make\ $* sw=2 ts=2 sts=2 et let g:tex_flavor = "latex" " }}} and from ~/.vim/ftplugin/tex.vim " Q: I cannot insert the e-acute (é) character! HELP! imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine " Q: Typing some European characters becomes problematic in Latex-suite because those characters seem to be mapped to something. imap <C-b> <Plug>Tex_MathBF imap <C-c> <Plug>Tex_MathCal imap <C-l> <Plug>Tex_LeftRight But for my latex project work well, I need to create the a empty file dissertacao.tex.latexmain because the dissertacao.tex is my main file. And the cwd(current working directory) is where the main file are. I don't know if it is necessary, but I do it. > -- > Peter. > > -- Robson Roberto Souza Peixoto Robinho Computer Science Master's degree student, University of Campinas Linux Counter #395633 IRC: robsonpeixoto Twitter: http://twitter.com/rrspba github: https://github.com/robsonpeixoto |
From: Till M. <ope...@ti...> - 2010-01-27 16:43:06
|
On Wed, Jan 27, 2010 at 04:40:18PM +0100, Simon Quittek wrote: > Package: vim-latexsuite > Version: 20060325-5 > > The latexsuite package seems to be an old version, is there a PPA in ubuntu > which provides more recent versions via apt? I don't know, but it is very easy to install a new version in your home folder: http://vim-latex.sourceforge.net/index.php?subject=download&title=Download There have been several changes that might fix your issue. Regards Till |
From: Simon Q. <sim...@gm...> - 2010-01-27 17:40:27
|
I got the fresh files and (after a backup using rsync to retain symlinks) copied them to ~/.vim/ Looks well, same files in same dirs, but the problem still persists. Any ideas? Can I provide any additional information ? Thanks, Simon On 2010/01/27 16:57,Thomas Ibbotson <tho...@gm...> wrote: > 2010/1/27 Simon Quittek <sim...@gm...>: >> The latexsuite package seems to be an old version, is there a PPA in ubuntu >> which provides more recent versions via apt? >> >> Thank in advance! >> Simon > I don't know of a PPA version I'm afraid, but installing the latest > svn version is fairly straightforward. The following two commands run > in a terminal will install subversion on your system and then download > the latest development version of vim-latex to a folder of the same > name: > > sudo apt-get install subversion > > svn co https://vim-latex.svn.sourceforge.net/svnroot/vim-latex/trunk vim-latex > > Then copy the contents of the 'vimfiles' folder to your ~/.vim folder. > > If you still have the same problem after doing this let us know and we > can look into it. > > Thanks, > Tom |
From: Simon Q. <sim...@gm...> - 2010-01-27 19:21:19
|
Well, it's not something you can reproduce in a file, I just can explain what happens. It just does nothing but revert to esc-mode when typing "\cite{<F9>" with cursor blinking above "{". No _OUTLINE__ window opening or anything... Cheers Simon On 2010/01/27 20:01,Till Maas <ope...@ti...> wrote: > On Wed, Jan 27, 2010 at 06:40:14PM +0100, Simon Quittek wrote: >> I got the fresh files and (after a backup using rsync to retain symlinks) >> copied them to ~/.vim/ >> Looks well, same files in same dirs, but the problem still persists. >> >> Any ideas? >> Can I provide any additional information ? > > A minimal example file, that allows to reproduce it, often helps a lot. > > Regards > Till |
From: Till M. <ope...@ti...> - 2010-01-27 19:30:13
|
On Wed, Jan 27, 2010 at 08:20:08PM +0100, Simon Quittek wrote: > Well, it's not something you can reproduce in a file, I just can explain > what happens. > It just does nothing but revert to esc-mode when typing "\cite{<F9>" with > cursor blinking above "{". > No _OUTLINE__ window opening or anything... A .tex file that is open in vim is needed to reproduce this, please provide one with just enough content to demonstrate the problem, e.g. contains a one item bibliography. Regards Till |
From: Simon Q. <sim...@gm...> - 2010-01-28 11:38:14
|
Till, thank you for being persistent! When I created a simple file, the bug did not appear and successively I was able to encircle the cause. If anywhere in the file path or file name there is a blank space, typing \cite{<F9> results in vim jumping back to esc mode and the cursor blinking above {. How to reproduce: create a file ~/foo\ bla/testfile.tex or ~/foobla/test\ file.tex and any bibtex file with some content, which is linked in the testfile. Type \cite{<F9> and observe the bug. This bug even appears when a directory with blanks is linked: Somethink like ln -s ~/foo\ bla/ ~/blarg cd blarg/ vi testfile.tex results in the same behaviour. I hope you can reproduce this error... Simon On 2010/01/27 20:01,Till Maas <ope...@ti...> wrote: > On Wed, Jan 27, 2010 at 06:40:14PM +0100, Simon Quittek wrote: >> I got the fresh files and (after a backup using rsync to retain symlinks) >> copied them to ~/.vim/ >> Looks well, same files in same dirs, but the problem still persists. >> >> Any ideas? >> Can I provide any additional information ? > > A minimal example file, that allows to reproduce it, often helps a lot. > > Regards > Till |
From: Till M. <ope...@ti...> - 2010-01-28 11:59:20
|
On Thu, Jan 28, 2010 at 12:38:04PM +0100, Simon Quittek wrote: > How to reproduce: > create a file > ~/foo\ bla/testfile.tex > or > ~/foobla/test\ file.tex > and any bibtex file with some content, which is linked in the testfile. > > Type \cite{<F9> and observe the bug. > I hope you can reproduce this error... Please attach the file, it makes it a lot easier to reproduce the bug, because then I only need to save it and open it in vim. I do not use bibtex that lot and even if I did, there is no need to duplicate work, so that everyone needs to strip down one of his files and then maybe also notice, that there are some small differences. Regards Till |
From: Simon Q. <sim...@gm...> - 2010-01-28 14:00:50
Attachments:
foo.tar.gz
|
Alright, here is a tarball... There are files in it without blanks in the path, and a directory with a blank, as well as a link to it without blanks (which is expanded by vim, i think...) Sry bout the fuzz... Simon On 2010/01/28 12:59,Till Maas <ope...@ti...> wrote: > On Thu, Jan 28, 2010 at 12:38:04PM +0100, Simon Quittek wrote: > >> How to reproduce: >> create a file >> ~/foo\ bla/testfile.tex >> or >> ~/foobla/test\ file.tex >> and any bibtex file with some content, which is linked in the testfile. >> >> Type \cite{<F9> and observe the bug. > >> I hope you can reproduce this error... > > Please attach the file, it makes it a lot easier to reproduce the bug, > because then I only need to save it and open it in vim. I do not use > bibtex that lot and even if I did, there is no need to duplicate work, > so that everyone needs to strip down one of his files and then maybe > also notice, that there are some small differences. > > Regards > Till |
From: Till M. <ope...@ti...> - 2010-01-28 14:53:45
|
On Thu, Jan 28, 2010 at 03:00:36PM +0100, Simon Quittek wrote: > Alright, here is a tarball... > There are files in it without blanks in the path, and a directory with a > blank, as well as a link to it without blanks (which is expanded by vim, i > think...) Thank you very much, it should be fixed in Revision 1098. Regards Till |