Re: [Vim-latex-devel] Completion of Tcommands
Brought to you by:
srinathava,
tmaas
From: Luc H. <her...@fr...> - 2003-07-13 23:39:59
|
Hello, * On Sun, Jul 13, 2003 at 11:28:28PM +0200, Mikolaj Machowski <mi...@wp...> wrote: > > BTW, why developping a feature concurrent to templates ? I'm > > thinking to latexSuite's macros which looks like more restricted > > templates than the ones we could have with a templates-expander. > > What did I miss ? > > TTemplate here is a command to source skeleton of file (with various > \documentclass, preambles, etc.). What you described looks like > replacement/enhancement for <F5>. What I described is one of the ways for using µTemplate. (others beeing: -menus (automatically built), -command :MuTemplate, -autocommand on BufNewFile). The template-expansion function(s) and the search within directories (visible from 'runtimepath') have been implemented only once. > Macros and Templates are very similar and created to separate two > things. Mechanisms are similar (or even the same) but purpose different. From the outside, it looks like it is (technically) the same thing. Thus my question: why not develop only a single generic function that can used to insert general-templates, ``macros'' (or even packages ?) ? May be I am wrong and you don't have to maintain three times the same things -- which differs only by final names and directories. My idea is that TTemplate, TMacros, ... would invoke the same function but with different built-in parameters. Cheers, -- Luc Hermitte http://hermitte.free.fr/vim/ |