Re: [Vim-latex-cvs] vimfiles/ftplugin/latex-suite/packages ngerman,NONE,1.1
Brought to you by:
srinathava,
tmaas
|
From: Srinath A. <sr...@fa...> - 2003-01-16 02:39:03
|
On Wed, 15 Jan 2003, Benji Fisher wrote:
> :execute "source" expand("%:p:h") . "/german"
>
Agreed. Although it should be:
execute 'source '.expand('<sfile>:p:h').'/german'
(<sfile> instead of %)
> \usepackage[german]{babel}
>
> instead of
>
> \usepackage{german}
>
As of now, there isn't. During the scan for \usepcackage's, the
g:Tex_pack_supported is created which lists the packages detected...
Unless a variable like g:Tex_{pack}_options or something similar is
created, this is not possible. This is actually not too hard to
implement, but even if it is implemented, I dont know how to make
the tex quotes function use this information. We will have to revert to
the strategy of modifying that function itself... (But I dont like that
strategy too much because its not really scalable).
Any ideas?
Srinath
|