On 2015-10-30, Scott Kostyshak wrote:
> On Thu, Oct 29, 2015 at 04:15:20PM +0000, Guenter Milde wrote:
>> Dear LyXers,

>> documents that use the mhchem package (which is automatically loaded if
>> required, by default) fail to compile with XeTeX or LuaTeX and TeX fonts.

Actually, a minimal example works:

\documentclass[]{article}

\usepackage{lmodern}
\usepackage[T1]{fontenc}

\usepackage{textalpha}
% \usepackage{fontspec}

\usepackage{mhchem}
% \usepackage{chemgreek}

\begin{document}

\chemalpha \chemOmega

\end{document}

However, Math.lyx fails with a message mentioning chemgreek.

>> The Math.lyx manual also shows missing or non-transformed output if used
>> with XeTeX/LuaTeX and non-TeX fonts.


............................................................................


>> Is there a way to make LyX aware of packages that are incompatible with
>> XeTeX/LuaTeX?

> I'm not sure. Perhaps we could use LaTeXFeatures?


> What ideally would we want to happen? Should we just grey-out the
> XeTeX/LuaTeX options or keep them enabled but just give a warning when
> the user clicks them informing them about the incompatibility?

I am not sure. Something similar to what we currently do with "fontspec" and
8-bit TeX engines. I suggest a discussion on track.

Günter

Reply via email to