From: Richard Heck Date: Tue, 27 May 2008 16:22:25 +0000 (+0000) Subject: Work around an incompatibility between paper.cls and how we handle environments.... X-Git-Tag: 1.6.10~4653 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=43c7e56ef2574bd09984ecab90d4889dc7464150;p=features.git Work around an incompatibility between paper.cls and how we handle environments. The paper class seems to expect a pair of newlines are the end of the abstract envirnoment, which we do not produce; this has the effect that the abstract runs into the first paragraph in certain cases. Jurgen, this could also go into branch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24965 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/paper.layout b/lib/layouts/paper.layout index a945c8a4ba..7ca64cb29e 100644 --- a/lib/layouts/paper.layout +++ b/lib/layouts/paper.layout @@ -9,6 +9,8 @@ Columns 1 Sides 1 SecNumDepth 3 TocDepth 3 +DefaultStyle Standard + Style Standard @@ -142,6 +144,9 @@ Style Abstract LeftMargin "" RightMargin "" ParIndent "" + Preamble + \if@titlepage\else\if@center\else\def\endabstract{\par\bigskip}\fi\fi + EndPreamble End