Guenter Milde wrote:
Can you setup a minimal example file?
LyX or *.tex?

*.tex

Actually, the only requirement is
  \usepackage{fontspec}
and compiling with any other engine than XeTeX.

With TeXLive 2009, an empty, default LyX file with activated "use non-TeX
fonts" results in the following lines in the error log:

  (/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
Package: fontspec 2008/08/09 v1.18 Advanced font selection for XeLaTeX
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
)
!
  ********************************************
  * XeTeX is required to compile this document.
  * Sorry!
  ********************************************.
\RequireXeTeX ...********************************}
                                                   \endgroup \fi
l.18 \RequireXeTeX

This error message was generated by an \errmessage
command, so I can't give any explicit help.
Pretend that you're Hercule Poirot: Examine all clues,
and deduce the truth by order and method.

OK. JMarc's idea, AFAIU, is to check for LuaTeX, if found, let LuaTeX proceed this minimal tex file and activate LuaTeX support only if the file processes without errors.

This seems to be a clean solution to me.

Jürgen


Reply via email to