From: Uwe Stöhr Date: Sun, 28 Aug 2011 02:34:50 +0000 (+0000) Subject: initials.module: safer preamble call, no string changed, necessary to be able to... X-Git-Tag: 2.0.1~16 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=92ec9e966bce4d4b32c062b6f17c11569e214fac;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/branches/BRANCH_2_0_X@39540 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/initials.module b/lib/layouts/initials.module index 22a6678ec4..6a82e5795a 100644 --- a/lib/layouts/initials.module +++ b/lib/layouts/initials.module @@ -8,6 +8,10 @@ Format 35 +AddToPreamble + \@ifundefined{lettrine}{\usepackage{lettrine}}{} +EndPreamble + InsetLayout Flex:Initial LyxType charstyle LabelString "Initial" @@ -17,9 +21,6 @@ InsetLayout Flex:Initial Size Large EndFont Requires lettrine - Preamble - \usepackage{lettrine} - EndPreamble End Style Initial @@ -42,8 +43,5 @@ Style Initial LabelFont Series Bold EndFont - Preamble - \usepackage{lettrine} - EndPreamble End