Am Samstag, 23. November 2013 um 16:26:21, schrieb Jürgen Spitzmüller 
<sp...@lyx.org>
> Kornel Benko wrote:
> > Save the files some source directory.
> > 
> > Editing source/Main.lyx
> >         # Display with lualatex works
> >         # Display with xelatex does not.
> 
> You do not have the TeXGyre fonts installed in your OSes font folder, do you? 
> XeTeX cannot find fonts by font name in the TEXMF tree, as opposed to LuaTeX.
> This is probably the cause of this difference
> 
> > The file Main_xetex.lyx is a copy of Main.lyx, but the fonts are changed to
> > use latex equivalents tgtermes, ...
> > 
> > Editing source/Main_xetex.lyx
> >         # Display with xelatex works.
> > 
> > Now test export for Main_xetex.lyx
> > 
> >         #lyx -e xetex source/Main_xetex.lyx
> > The resulting "source/Main_xetex.tex" is compilable with xetex.
> > 
> >         #lyx -E xetex /tmp/xetextes/Main_xetex.tex Main_xetex.lyx
> > Now try to compile /tmp/xetextes/Main_xetex.tex
> > 
> > Make a diff
> >         #diff /tmp/xetextes/Main_xetex.tex source/Main_xetex.tex
> 
> I see. Can you try the attached patch?
> 
> Regards,
> Jürgen

This one works. Super!

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to