Re: [Vim-latex-devel] single latex run?
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2008-05-14 18:34:45
|
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 <te...@te...> |