Le 06/11/2015 11:49, Neal Becker a écrit :
Guillaume Munch wrote:

If you previously needed additional packages containing math symbols,
try to remove those packages from the preamble. Stix should already have
all the symbols that you need. In particular I set amssymb and stmaryrd
to "do not load" in the document settings (but maybe that's also because
I \usepackage[scr=boondoxo,cal=pxtx]{mathalfa} in addition to stix, I
don't remember the details).

I tried removing all other packages, and trying lualatex on this tex file I
still get the same error.  My preamble is down to this:  (This is fedora 23)

%% LyX 2.1.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{beamer}
\usepackage{fontspec}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{graphicx}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
  % this default might be overridden by plain title style
  \newcommand\makebeamertitle{\frame{\maketitle}}%
  % (ERT) argument for the TOC
  \AtBeginDocument{%
    \let\origtableofcontents=\tableofcontents
    \def\tableofcontents{\@ifnextchar[{\origtableofcontents}
{\gobbletableofcontents}}
    \def\gobbletableofcontents#1{\origtableofcontents}
  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{stix}
%\usepackage{siunitx}
%\usetheme{CambridgeUS}
%\usecolortheme{dolphin}
%\usepackage{lmodern}

\makeatother

\usepackage{babel}
\begin{document}
...




You may want to try pdflatex instead of luatex, or if you need luatex then use the XITS and XITS Math otf fonts (for fontspec and unicode-math respectively) which are based on STIX (I even find that XITS has better hinting than the usual Times font.)


Guillaume

Reply via email to