Hi all,

I'm getting this error message with LyX 2.0.3:

LaTeX Error: \begin{Large} on input line 23 ended by \end{document}.

when I use my Proverb environment. The minimal bug example lyx file
and the layout file (it can be local or not, doesn't matter, are
attached to this email.

I tried the usual Format 2 and Format 11 etc, but that caused the
layout not to get loaded.

I've tried everything I can possibly think of.

By the way, I can fix the problem by editing the created .tex file,
which LyX exports as :

==========================================================
\begin{document}
Steve was here


\proverbL{and now is gone}
\end{document}
==========================================================

If I the TeX file to:

==========================================================
\begin{document}
Steve was here


\begin{proverbL}
and now is gone
\end{proverbL}
\end{document}
==========================================================

And then

pdflatex bug_examp.tex

Then it works perfectly and produces the expected PDF output.

I looked at a .tex file created by LyX in November 2013, and that LaTeX
file used \begin and \end to express homegrown environments. When did
this change?

So what are all of you doing about this kind of error? I can't be the
only one.

SteveT

Steve Litt 
July 2015 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21

Attachment: bug_examp.lyx
Description: application/lyx

Attachment: bug_examp.layout
Description: Binary data

Reply via email to