Hello Ted,
thanks for your quick and very helpful answer.
On Wed, Mar 23, 2011 at 10:59:29AM -0400, Ted Pavlic wrote:
> > I trying to use latex on Mac OS X with MacVim. I have more than one
> > LaTeX distribution installed (comming from macports, fink and the one
> > comming with TexShop). How can I tell vim-latex-suite which one to use?
> > I guess it must be possible to provide somewhere the path where
> > binaries, classes etc. reside.
>
> See
>
> :help latex-suite
>
> and search for CompileRule. In particular, the section on
>
> Tex_CompileRule_format
This is what I was looking for.
> provides information on how to specify which command to use to build
> your document. You can specify your format directly, and you can
> probably create a map to easily switch settings as needed.
>
> I'm a little skeptical about whether you have a good reason to have
> three different distributions. I'm also surprised that TeXShop is
> bundled with its own distribution.
>
> Ideally, you should just be using MacTeX (which is just TeXLive for Mac):
Actually I mostly only use MacTeX. I think the ones from ports and fink
got installed since other applications from fink / ports depend on then.
Maybe I could have avoided this making them use MacTeX, but I was too
lazy for this.
Letting Tex_CompileRule_pdf point to /usr/texbin/pdflatex is fine for me for the moment.
Thanks,
Udo
|