From: Uwe Stöhr Date: Sun, 28 Aug 2011 03:36:34 +0000 (+0000) Subject: initials.module: safer preamble call, no string changed, necessary to be able to... X-Git-Tag: 2.1.0beta1~2777 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=826bf6b95059c4d2a3962317957db9061e63fec2;p=features.git initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39543 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/initials.module b/lib/layouts/initials.module index c404533490..81b5e80d8a 100644 --- a/lib/layouts/initials.module +++ b/lib/layouts/initials.module @@ -7,6 +7,10 @@ Format 35 +AddToPreamble + \@ifundefined{lettrine}{\usepackage{lettrine}}{} +EndPreamble + InsetLayout Flex:Initial LyxType charstyle LabelString "Initial" @@ -16,9 +20,6 @@ InsetLayout Flex:Initial Size Large EndFont Requires lettrine - Preamble - \usepackage{lettrine} - EndPreamble End Style Initial @@ -41,8 +42,5 @@ Style Initial LabelFont Series Bold EndFont - Preamble - \usepackage{lettrine} - EndPreamble End