On Sep 28, 2007, at 6:44 PM, Your XEN ICT Team - Ricardo Rodriguez
wrote:
Chris Menzel wrote:
On Fri, Sep 28, 2007 at 11:28:35PM +0200, Your XEN ICT Team -
Ricardo Rodriguez wrote:
Hi all,
I'm using MacBook box that is acting as workbench for a number
of TeX distributions. I've also started LyX on the same box.
Please, how do I set up which LaTex distribution will be used by
LyX? Thanks!
By default LyX will pick up the distribution whose binary
directory is
listed (first) in your PATH environment variable. You can
override this
in LyX (works for me, anyway) by going to LyX -> Preferences ->
Paths.
In the "PATH prefix:" field make the directory containing the
binaries
of the distribution of your choice the first entry in the list, e.g.,
"/usr/local/texlive/2007/bin/i386-darwin" or
"/usr/local/gwTeX/bin/i386-apple-darwin-current". Be sure it is
separated from the following entry by a colon.
Thanks, Chris,
It works for my as well.
The same seems to be truth for other front-ends like TeXShop and
iTeXMac2. The PATH environment variable content an alias pointing to
/usr/local/texlive/2007/bin/i386-darwin and both are using this
distribution. It seems the installation programme did the trick and
as it has been the last installed distro, al calls to the TeX
system are passed to texlive.
Alternatively, if you're using recent TeX distributions on Mac, you
can use System Preferences to set your default TeX distribution, and
default LyX PATH Prefix settings will automatically select that
default distribution. (If you've modified your PATH Prefix settings,
just make sure that /usr/texbin is listed first.)
Bennett