From: <sri...@us...> - 2005-11-26 23:38:58
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19533 Modified Files: main.vim texviewer.vim Log Message: New: Treat \nobibliography exactly the same as \bibliography (suggested by Ryan Long). Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** main.vim 19 Nov 2005 22:35:47 -0000 1.81 --- main.vim 26 Nov 2005 23:38:50 -0000 1.82 *************** *** 636,640 **** " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.16" endfunction --- 636,640 ---- " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.17" endfunction Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texviewer.vim,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** texviewer.vim 25 Sep 2005 09:32:28 -0000 1.9 --- texviewer.vim 26 Nov 2005 23:38:50 -0000 1.10 *************** *** 510,514 **** " assume that this is the only file in the project which defines a " bibliography. ! if search('\\bibliography{', 'w') call Tex_Debug('Tex_ScanFileForCite: found bibliography command in '.bufname('%'), 'view') " convey that we have found a bibliography command. we do not need to --- 510,514 ---- " assume that this is the only file in the project which defines a " bibliography. ! if search('\\\(no\)\?bibliography{', 'w') call Tex_Debug('Tex_ScanFileForCite: found bibliography command in '.bufname('%'), 'view') " convey that we have found a bibliography command. we do not need to *************** *** 517,521 **** " extract the bibliography filenames from the command. ! let bibnames = matchstr(getline('.'), '\\bibliography{\zs.\{-}\ze}') let bibnames = substitute(bibnames, '\s', '', 'g') --- 517,521 ---- " extract the bibliography filenames from the command. ! let bibnames = matchstr(getline('.'), '\\\(no\)\?bibliography{\zs.\{-}\ze}') let bibnames = substitute(bibnames, '\s', '', 'g') |