virsto <v...@...> writes: > > > Useful system information: > * Ubuntu 9.10 > * LyX 1.6.4 > > There are many templates and examples that will not work, because the class > files can not be found. > > The problem seems to be that the path to LaTeX is incorrect. I would like > for it to look in: > > /usr/local/texlive/2009/texmf-dist > > where, the latest LaTeX files are stored. However, LyX uses the path, > > /usr/share/texmf-texlive/ > > I have tried a complete uninstall of LyX and then reinstall; but, this has > no effect on the problem. > > How do I get LyX to use the correct LaTeX path?
It seems you're installed texlive 2009 manually and still you have the old .deb 2007 packages. If the output in terminal of $ tex -v is the old tex-version, you must add the TeX Live binary directory (and man/info dirs if you want) to your PATH, adding the lines PATH=/usr/local/texlive/2009/bin/x86_64-linux:$PATH; export PATH MANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH; export MANPATH INFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH; export INFOPATH in your ~/.bashrc (or ~/.profile) file, *check your real PATH, perhaps it's ../bin/i386-linux for you* (See you http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1- 350003.4.3) Then retry the 'tex -v' command and it's being right to texlive-2009 reconfigure and restart LyX. Alternative: as Guenter pointed out, (msg79206) you can try to install the texlive 2009 .deb packages availables for Karmic/Ubuntu in PPA launchpad repositoires https://launchpad.net/~aelmahmoudy/+archive/tl2009 Ignacio GarcĂa
