Thread: [Vim-latex-devel] F9 doesn't work
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-07-06 18:11:59
|
Hello, I updated my lS with CVS and <F9> doesn't work. Is this only for me or just something changed recently (settings in texrc?) m. |
From: Srinath A. <sr...@fa...> - 2003-07-06 19:11:15
|
On Sun, 6 Jul 2003, Mikolaj Machowski wrote: > Hello, > > I updated my lS with CVS and <F9> doesn't work. Is this only for me or > just something changed recently (settings in texrc?) > > m. > I just tested the latest CVS version on windows+gvim, windows+cygwin_vim and linux+vim. In all 3 cases, <F9> worked fine for me... Srinath |
From: Srinath A. <sr...@fa...> - 2003-07-06 19:19:24
|
> On Sun, 6 Jul 2003, Mikolaj Machowski wrote: > > > Hello, > > > > I updated my lS with CVS and <F9> doesn't work. Is this only for me or > > just something changed recently (settings in texrc?) > > > > m. > > > Okay, I found that <F9> completion for files didn't work as before... It just opened up an empty window... Is this what you were noticing? \cite and \ref completion were always working... Srinath |
From: Mikolaj M. <mi...@wp...> - 2003-07-07 08:08:52
|
On Sun, Jul 06, 2003 at 12:18:34PM -0700, Srinath Avadhanula wrote: > > On Sun, 6 Jul 2003, Mikolaj Machowski wrote: > > > I updated my lS with CVS and <F9> doesn't work. Is this only for me or > > > just something changed recently (settings in texrc?) > Okay, I found that <F9> completion for files didn't work as before... It > just opened up an empty window... Is this what you were noticing? It tries to scan files, cursor goes back to command line and immediately return to previous position - behaviour like .bib, .bbl files weren't found. But they are there. m. |
From: Srinath A. <sr...@fa...> - 2003-07-07 18:42:55
|
On Mon, 7 Jul 2003, Mikolaj Machowski wrote: > On Sun, Jul 06, 2003 at 12:18:34PM -0700, Srinath Avadhanula wrote: > > > On Sun, 6 Jul 2003, Mikolaj Machowski wrote: > > > > I updated my lS with CVS and <F9> doesn't work. Is this only for me or > > > > just something changed recently (settings in texrc?) > > Okay, I found that <F9> completion for files didn't work as before... It > > just opened up an empty window... Is this what you were noticing? > Set g:Tex_Debug=1 in your ~/.vim/ftplugin/tex.vim. Retry and tell me what :call Tex_PrintDebug('view') :call Tex_PrintDebug('bib') say... Also, more information about your setup will be helpful. Srinath |
From: Mikolaj M. <mi...@wp...> - 2003-07-08 09:13:08
|
On Mon, Jul 07, 2003 at 11:42:49AM -0700, Srinath Avadhanula wrote: > On Mon, 7 Jul 2003, Mikolaj Machowski wrote: > > On Sun, Jul 06, 2003 at 12:18:34PM -0700, Srinath Avadhanula wrote: > > > > On Sun, 6 Jul 2003, Mikolaj Machowski wrote: > > > > > I updated my lS with CVS and <F9> doesn't work. Is this only for me or > > > > > just something changed recently (settings in texrc?) > > > Okay, I found that <F9> completion for files didn't work as before... It > > > just opened up an empty window... Is this what you were noticing? > > > Set g:Tex_Debug=1 in your ~/.vim/ftplugin/tex.vim. Retry and tell me > what > :call Tex_PrintDebug('view') s:type = cite, typeoption = +Tex_c_window_setup +UpdateViewerWindow UpdateViewerWindow: got error E32, no matches found, quitting not in quickfix window, quitting > :call Tex_PrintDebug('bib') calling Tex_GrepForBibItems searching for bibkeys in ch0.tex (buffer #1) Ah. My fault. I forgot about one thing \bibliography{} command. But still: \bibliography{file} inserted in current dir. file.bib exists and zsh returns: zsh: no matches found: @.*{ Also prefixes doesn't work. m. |
From: Srinath A. <sr...@fa...> - 2003-07-08 16:33:16
|
On Tue, 8 Jul 2003, Mikolaj Machowski wrote: > > :call Tex_PrintDebug('bib') > > calling Tex_GrepForBibItems > searching for bibkeys in ch0.tex (buffer #1) > Well, this means that neither a \begin{thebibliography} or \bibliography command was found in ch0.tex. Try inserting the \bibliography command and telling me afterwards what Tex_PrintDebug('bib') says... > Ah. My fault. I forgot about one thing \bibliography{} command. But > still: \bibliography{file} inserted in current dir. file.bib exists and > zsh returns: zsh: no matches found: @.*{ > Aha! This is the problem. It looks like 'zsh' expands @.*{ when you issue grep @.*{ *.vim from the comand line whereas 'bash' passes it directly to grep... Try applying the patch below to texviewer.vim... > Also prefixes doesn't work. > This is a side-effect. Srinath Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/texviewer.vim,v retrieving revision 1.30 diff -c -c -r1.30 texviewer.vim *** texviewer.vim 30 Jun 2003 01:27:19 -0000 1.30 --- texviewer.vim 8 Jul 2003 16:31:12 -0000 *************** *** 144,150 **** exe 'silent! Sexplore '.s:search_directory call <SID>Tex_explore_window("input") ! elseif exists("g:Tex_completion_".s:type) call <SID>CompleteName('plugin_'.s:type) elseif exists("s:type") && g:Tex_completion_explorer =~ ','.s:type --- 144,150 ---- exe 'silent! Sexplore '.s:search_directory call <SID>Tex_explore_window("input") ! elseif exists('s:type') && exists("g:Tex_completion_".s:type) call <SID>CompleteName('plugin_'.s:type) elseif exists("s:type") && g:Tex_completion_explorer =~ ','.s:type *************** *** 510,516 **** call Tex_Debug('finding .bib file ['.bufname('%').']', 'bib') lcd %:p:h " use the appropriate syntax for the .bib file. ! exec 'silent! grepadd @.*{'.a:prefix.' %' else let thisbufnum = bufnr('%') exec 'silent! find '.Tex_Strntok(bibnames, ',', i).'.bbl' --- 510,516 ---- call Tex_Debug('finding .bib file ['.bufname('%').']', 'bib') lcd %:p:h " use the appropriate syntax for the .bib file. ! exec "silent! grepadd '@.*{".a:prefix."' %" else let thisbufnum = bufnr('%') exec 'silent! find '.Tex_Strntok(bibnames, ',', i).'.bbl' *************** *** 518,524 **** if bufnr('%') != thisbufnum call Tex_Debug('finding .bbl file ['.bufname('.').']', 'bib') lcd %:p:h ! exec 'silent! grepadd \bibitem{'.a:prefix.' %' endif endif " close the newly opened window --- 518,524 ---- if bufnr('%') != thisbufnum call Tex_Debug('finding .bbl file ['.bufname('.').']', 'bib') lcd %:p:h ! exec "silent! grepadd '\bibitem{".a:prefix."' %" endif endif " close the newly opened window *************** *** 542,548 **** split lcd %:p:h ! exec 'silent! grepadd \bibitem{'.a:prefix.' %' q return 1 --- 542,548 ---- split lcd %:p:h ! exec "silent! grepadd '\bibitem{".a:prefix."' %" q return 1 |
From: Mikolaj M. <mi...@wp...> - 2003-07-09 08:28:09
|
On Tue, Jul 08, 2003 at 09:32:27AM -0700, Srinath Avadhanula wrote: > > Ah. My fault. I forgot about one thing \bibliography{} command. But > > still: \bibliography{file} inserted in current dir. file.bib exists and > > zsh returns: zsh: no matches found: @.*{ > > > Aha! This is the problem. It looks like 'zsh' expands @.*{ when you > issue > grep @.*{ *.vim > from the comand line whereas 'bash' passes it directly to grep... > Try applying the patch below to texviewer.vim... Everything works OK. Thanks. m. |