]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/bicaption.module
DocBook: implement modern CV.
[lyx.git] / lib / layouts / bicaption.module
index ccfc68adbb435a6c4d0160e32222d60f65c44c52..ab0a9a6ab1e919e41441ca2e1998958897cb66d5 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 53
+Format 85
 
 Style "Caption setup"
        LatexType       command
@@ -30,9 +31,7 @@ Style "Caption setup"
        LabelFont
          Color         Green
        EndFont
-       BabelPreamble
-       \usepackage{bicaption} % for multilingual captions
-       EndBabelPreamble
+       Requires        bicaption
 End
 
 
@@ -41,6 +40,7 @@ InsetLayout Caption:Bicaption
        LaTeXType       command
        LatexName       bicaption
        NeedProtect     1
+       MultiPar        false
        Argument 1
          LabelString   "Main Language Short Title"
          Tooltip       "Short title for the main(document) language"