]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/initials.module
Update tex2lyx test files
[lyx.git] / lib / layouts / initials.module
index c40453349017e30f6500af705a0638e179e83a19..8f979c0297af5180b6c93eb291ef62ef65e9968e 100644 (file)
@@ -5,7 +5,11 @@
 #DescriptionEnd
 #Authors: Pavel Sanda and Uwe Stöhr
 
-Format 35
+Format 40
+
+AddToPreamble
+       \@ifundefined{lettrine}{\usepackage{lettrine}}{}
+EndPreamble
 
 InsetLayout Flex:Initial
        LyxType                 charstyle
@@ -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