If you try:

        :set makecmd?

you'll see the make command that Vim-LaTeX sets. It includes a "$*" at 
the end, which is substituted the argument passed to make.

Now, try:

        :!echo %

You'll see that the name of the file you're editing will be substituted 
for the "%".

Most importantly, check out:

        :help makeprg

You'll see:

=====
This option may contain '%' and '#' characters, which are expanded to
        the current and alternate file name.
=====

Then check out:

        :help :_%

and

        :help expand


HTH --
Ted



Felipe G. Nievinski wrote:
> Ted Pavlic wrote:
>> Try issuing:
>>
>> :make %
>>
>> rather than :make
>>
> That did it. (The minimum-effort solution :) Thanks!
> 
> Felipe.
> 
> PPS: what's the magic behind that percent sign? (I tried googling for 
> it, but it's hard to search without a keyword summarizing the concept).
> 
> 

-- 
Ted Pavlic <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to