On Sat, 28 Apr 2012 09:15:10 +0200 Ignacio García <ignacio.gmora...@gmail.com> wrote:
> Alasdair Reed <alasdair <at> iprimus.com.au> writes: > > > > > > > I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to > > use the latest version of Xetex. My system installed Texlive is > > Texlive2009 I have installed Texlive2011 as per the Texlive page > > http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 > > in /usr/local/texlive. Added all the suggested lines to my .bashrc. > > Starting Xetex in the terminal produces the message > > Code > > This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) > > restricted \write18 enabled. > > Code ends > > I imagine this is ok. How do I configure lyx to find texlive2011 > > in /usr/local/ instead of using the system default? > > Not need configure lyx, lyx deals with it. > As the output of xetex in the terminal is 2011, lyx use this version > You can check it in the latex log file produced when lyx run the > output > > ig Hi, Is that right? Which logfile should I check? The dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? Alasdair