On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi <stefano.fran...@gmail.com> wrote:
> On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed > <alasd...@iprimus.com.au> wrote: > > > Is that right? Which logfile should I check? The > > You can check the Latex log by going to Document>>Latex Log > The first line will tell you which version of of Texlive LyX is using > > > 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 ? > > > > Tools>>Tex information will tell you which Tex packages Lyx is aware. > If you check the box > called "show path" it will tell you where the packages are. > > the fontspec package should be loaded automatically if you choose > non-TeX fonts. You can check if that's the case by choosing > View>>Source, and checking the box "Full source." Scroll back to the > beginning of the source doc and you should be able to see the > \fontspec command. > > Hope it helps, > > Stefano > > Thanks Stefano, Document >> Latex Log is greyed out Tools >> Tex with "show path" is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Any ideas?