[Vim-latex-cvs] vimfiles/ftplugin/latex-suite templates.vim,1.4,1.5
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2002-11-08 02:04:31
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv319 Modified Files: templates.vim Log Message: . bug in ReadTemplate() function caused the TTemplate command not to function properly. was trying to read in files of the form: templates/report_twocolumn.tex.* which gives an error. Index: templates.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates.vim,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** templates.vim 7 May 2002 22:10:16 -0000 1.4 --- templates.vim 8 Nov 2002 02:04:28 -0000 1.5 *************** *** 5,9 **** " Version: 1.0 " Created: Tue Apr 23 05:00 PM 2002 PST ! " Last Change: ¶ro maj 08 12:00 2002 U " " Description: functions for handling templates in latex-suite/templates --- 5,9 ---- " Version: 1.0 " Created: Tue Apr 23 05:00 PM 2002 PST ! " Last Change: Thu Nov 07 05:00 PM 2002 P " " Description: functions for handling templates in latex-suite/templates *************** *** 44,48 **** if a:0 > 0 ! let filename = a:1 else let pwd = getcwd() --- 44,48 ---- if a:0 > 0 ! let filename = a:1.'.*' else let pwd = getcwd() *************** *** 52,56 **** endif ! let fname = glob(s:path."/templates/".filename.'.*') exe "0read ".fname call TeX_pack_all() --- 52,56 ---- endif ! let fname = glob(s:path."/templates/".filename) exe "0read ".fname call TeX_pack_all() |