Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv412
Modified Files:
main.vim texrc
Log Message:
Add support for utf-8 menus
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** main.vim 23 Apr 2003 17:28:29 -0000 1.37
--- main.vim 24 May 2003 22:20:31 -0000 1.38
***************
*** 520,528 ****
" }}}
" source all the relevant files.
exe 'source '.s:path.'/texmenuconf.vim'
exe 'source '.s:path.'/envmacros.vim'
exe 'source '.s:path.'/elementmacros.vim'
! exe 'source '.s:path.'/mathmacros.vim'
exe 'source '.s:path.'/compiler.vim'
exe 'source '.s:path.'/folding.vim'
--- 520,538 ----
" }}}
+ " source texproject.vim before other files
+ exe 'source '.s:path.'/texproject.vim'
+
" source all the relevant files.
exe 'source '.s:path.'/texmenuconf.vim'
exe 'source '.s:path.'/envmacros.vim'
exe 'source '.s:path.'/elementmacros.vim'
!
! " source utf-8 or plain math menus
! if exists("g:Tex_UseUtfMenus") && g:Tex_UseUtfMenus != 0 && has("gui_running")
! exe 'source '.s:path.'/mathmacros-utf.vim'
! else
! exe 'source '.s:path.'/mathmacros.vim'
! endif
!
exe 'source '.s:path.'/compiler.vim'
exe 'source '.s:path.'/folding.vim'
***************
*** 530,535 ****
exe 'source '.s:path.'/custommacros.vim'
exe 'source '.s:path.'/bibtex.vim'
! exe 'source '.s:path.'/diacritics.vim'
! exe 'source '.s:path.'/texproject.vim'
" ==============================================================================
--- 540,547 ----
exe 'source '.s:path.'/custommacros.vim'
exe 'source '.s:path.'/bibtex.vim'
!
! if g:Tex_Diacritics != 0
! exe 'source '.s:path.'/diacritics.vim'
! endif
" ==============================================================================
Index: texrc
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** texrc 7 Apr 2003 20:53:31 -0000 1.25
--- texrc 24 May 2003 22:20:31 -0000 1.26
***************
*** 228,231 ****
--- 228,232 ----
" +} = \"a
" :o = \^o
+ " Default: 0
TexLet g:Tex_Diacritics = 0
***************
*** 478,481 ****
--- 479,488 ----
TexLet g:Tex_MenuPrefix = 'TeX-'
+ " Use utf-8 menus. There is plenty of math symbols in LaTeX. It is hard to
+ " remember them. You can display them with utf-8. Your system/GUI interface
+ " have to support utf-8. This addition is necessary for resetting 'encoding'.
+ if exists("g:Tex_UseUtfMenus") && g:Tex_UseUtfMenus != 0 && has("gui_running")
+ set encoding=utf-8
+ endif
" }}}
|