]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/bicaption.module
Update branch inset inversion explanation
[lyx.git] / lib / layouts / bicaption.module
index 266d367811e8be433295263cd089725ce7e635a3..5550d36634e23706518c441b9d5a2bc5589c4f46 100644 (file)
@@ -1,11 +1,12 @@
-#\DeclareLyXModule[bicaption.sty]{Multilingual captions}
+#\DeclareLyXModule[bicaption.sty]{Bilingual Captions}
+#\DeclareCategory{Floats & Captions}
 #DescriptionBegin
-#Provides two styles to typeset multilingual captions.
+#Provides two styles to typeset bilingual 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 95
 
 Style "Caption setup"
        LatexType       command
@@ -28,11 +29,9 @@ Style "Caption setup"
        LabelType       Static
        LabelString     "Caption setup:"
        LabelFont
-         Color         Green
+         Color         textlabel2
        EndFont
-       BabelPreamble
-       \usepackage{bicaption} % for multilingual captions
-       EndBabelPreamble
+       Requires        bicaption
 End
 
 
@@ -40,6 +39,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"