Revision: 1016
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1016&view=rev
Author: tmaas
Date: 2008-05-06 02:47:54 -0700 (Tue, 06 May 2008)
Log Message:
-----------
- Use \bibitem instead of \item in thebibliography environments, patch
by Jarek Miszczak, submitted at
http://sourceforge.net/tracker/index.php?func=detail&aid=1859626&group_id=52322&atid=466456
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/envmacros.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/envmacros.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/envmacros.vim 2006-05-01 21:29:40 UTC (rev 1015)
+++ trunk/vimfiles/ftplugin/latex-suite/envmacros.vim 2008-05-06 09:47:54 UTC (rev 1016)
@@ -503,7 +503,7 @@
else
return IMAP_PutTextWithMovement(
\ "\\begin{thebibliography}\<CR>".
- \ "\\item[<+biblabel+>]{<+bibkey+>} <++>\<CR>".
+ \ "\\bibitem[<+biblabel+>]{<+bibkey+>} <++>\<CR>".
\ "<++>\<CR>".
\ "\\end{thebibliography}<++>")
endif
@@ -926,7 +926,7 @@
TexLet g:Tex_ItemStyle_itemize = '\item '
TexLet g:Tex_ItemStyle_enumerate = '\item '
TexLet g:Tex_ItemStyle_theindex = '\item '
-TexLet g:Tex_ItemStyle_thebibliography = '\item[<+biblabel+>]{<+bibkey+>} <++>'
+TexLet g:Tex_ItemStyle_thebibliography = '\bibitem[<+biblabel+>]{<+bibkey+>} <++>'
TexLet g:Tex_ItemStyle_description = '\item[<+label+>] <++>'
function! Tex_InsertItem()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|