]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/bicaption.module
Cleanup bv-dependent variables in InsetCollapsable
[lyx.git] / lib / layouts / bicaption.module
index 266d367811e8be433295263cd089725ce7e635a3..fbe7ffce4a9d74bfdf193acd68f7ce3c84d70f9f 100644 (file)
@@ -1,11 +1,11 @@
-#\DeclareLyXModule[bicaption.sty]{Multilingual captions}
+#\DeclareLyXModule[bicaption.sty]{Multilingual Captions}
 #DescriptionBegin
 #Provides two styles to typeset multilingual captions.
 #For a description see the file MultilingualCaptions.lyx in LyX's examples folder.
 #DescriptionEnd
 #Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 44
+Format 60
 
 Style "Caption setup"
        LatexType       command
@@ -30,9 +30,7 @@ Style "Caption setup"
        LabelFont
          Color         Green
        EndFont
-       BabelPreamble
-       \usepackage{bicaption} % for multilingual captions
-       EndBabelPreamble
+       Requires        bicaption
 End
 
 
@@ -40,6 +38,8 @@ InsetLayout Caption:Bicaption
        LabelString     bilingual
        LaTeXType       command
        LatexName       bicaption
+       NeedProtect     1
+       MultiPar        false
        Argument 1
          LabelString   "Main Language Short Title"
          Tooltip       "Short title for the main(document) language"