]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/bicaption.module
Cleanup bv-dependent variables in InsetCollapsable
[lyx.git] / lib / layouts / bicaption.module
index 4d3c8729cd9b14317ee94fcf4059e0d84f5fc200..fbe7ffce4a9d74bfdf193acd68f7ce3c84d70f9f 100644 (file)
@@ -5,7 +5,7 @@
 #DescriptionEnd
 #Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 45
+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"