On Tue, Feb 24, 2015 at 5:27 PM, Patrick Dupre <pdu...@gmx.com> wrote: > Actually, it is due to the sub figure. > In the previous version it was OK.
Thanks for the MWE. I confirm that for LyX 2.1.0 the compilation succeeds on tmp.lyx, but for 2.1.3 the compilation fails. The diff between the LaTeX (pdflatex) produced by the two versions is below: 1c1 < %% LyX 2.1.0 created this file. For more info, see http://www.lyx.org/. --- > %% LyX 2.1.3 created this file. For more info, see http://www.lyx.org/. 41,42c41,42 < \subfloat[Upper]{\begin{centering} < --- > \subfloat[Upper]{\protect\begin{centering} > \protect 47c47 < \protect\caption{{\small{}Enlargemen}} --- > \protect\caption{{\small{}Enlargemen}{\small \par}} This seems to be related to http://www.lyx.org/trac/ticket/9421. However that bug is fixed in master but I still cannot compile the file on current master. Scott