Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages
In directory sc8-pr-cvs1:/tmp/cvs-serv27241a
Added Files:
german
Log Message:
- defining the german quotes here... This makes any file in which
\usepackage{german} is detected use "` and '" as the quote characters...
--- NEW FILE: german ---
" For now just define the smart quotes.
let g:Tex_SmartQuoteOpen = '"`'
let g:Tex_SmartQuoteClose = "'\""
" vim:ft=vim:ff=unix:
From: Benji F. <be...@me...> - 2003-01-14 23:18:43
sri...@us... wrote:
> Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages
> In directory sc8-pr-cvs1:/tmp/cvs-serv27241a
>
> Added Files:
> german
> Log Message:
> - defining the german quotes here... This makes any file in which
> \usepackage{german} is detected use "` and '" as the quote characters...
>
>
> --- NEW FILE: german ---
> " For now just define the smart quotes.
> let g:Tex_SmartQuoteOpen = '"`'
> let g:Tex_SmartQuoteClose = "'\""
>
> " vim:ft=vim:ff=unix:
OK, this will be simpler than what I had in mind. Better make
these variables buffer-local, then modify TexQuotes() to use the usual
buffer, global, default system. Remember, I may edit one German file,
then switch to English in another file in the same session.
I will do this tomorrow if you do not beat me to it.
--Benji
From: Srinath A. <sr...@fa...> - 2003-01-14 23:35:41
On Tue, 14 Jan 2003, Benji Fisher wrote:
> OK, this will be simpler than what I had in mind. Better make
> these variables buffer-local, then modify TexQuotes() to use the usual
> buffer, global, default system. Remember, I may edit one German file,
> then switch to English in another file in the same session.
>
> I will do this tomorrow if you do not beat me to it.
>
Please go ahead. This was just a prototype...
Srinath
From: Srinath A. <sr...@fa...> - 2003-01-14 23:51:36
I just realized that the Tex_pack_all is called only when latex-suite
first starts up or when Tex_pack_updateall() is called. This will have
to change if we need to support the scenario that the user opens 2
buffers one of which uses the german package and the other doesn't...
We should maybe also utilize the fact that if the 2 buffers we have
opened are in the same directory with the same .latexmain file then we
don't need to call Tex_pack_updateall()...
Srinath