Stefano Franchi <fran...@...> writes:

> 
> Suppose I have two complete TeX installation trees:
> 
> 1. /usr/share/texlive/*
> 
> 2. /usr/local/texlive/2009/*
> 
> Is there any way to tell Lyx to switch from (1) to (2) (and back)? Reading 
> the 
> manuals proved unhelpful. Perhaps I am looking in the wrong places?
> 

I have texlive-2007 deb/ubuntu packages (executables in /usr/bin)
and the texlive-2009 in /usr/local directory (executables in ... see below)
By default LyX use 2009 because in my .bashrc file I added the line

PATH=/usr/local/texlive/2009/bin/x86_64-linux:$PATH; export PATH

Then the active latex is 2009.

If I want to test anything using texlive-2007 (hardly ever),
I comment (#) the above line and then the active latex is the
one from the default PATH, i.e. /usr/bin, i.e. texlive-2007.  

You can test the running latex with 'tex --version' command

Reply via email to