Am Montag 06 Juli 2015, 20:43:05 schrieb Steve Litt:
> 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.

If you need an environment in the LaTeX output, you need to define the lyx 
layout as an environment (LatexType Environment, not LatexType Command).

See attached (fixed) layout.

Jürgen
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{bug_example}



Input stdclass.inc
#Format 11
Input book.layout

Preamble
\newenvironment{proverbL}{\par~\\[0.2ex]\begin{itshape}\begin{Large}}{\end{Large}\end{itshape}~\\[0.3ex]}

EndPreamble

Style Proverb
LatexName       proverbL
LatexType       Environment
Font 
        Series               Medium
        Size                 Larger
        Shape   Italic
EndFont
End

Reply via email to