]> git.lyx.org Git - features.git/commitdiff
LaTeXFeatures.cpp: add rsphrase
authorUwe Stöhr <uwestoehr@lyx.org>
Thu, 30 May 2013 16:15:44 +0000 (18:15 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Thu, 30 May 2013 16:15:44 +0000 (18:15 +0200)
- also modify the rsphrase.module
- correct naming scheme for the bicaption.module

lib/layouts/bicaption.module
lib/layouts/rsphrase.module
src/LaTeXFeatures.cpp

index 5f87a8fba60972d3dc3d9ead6dad543b1631fcb0..4d3c8729cd9b14317ee94fcf4059e0d84f5fc200 100644 (file)
@@ -1,4 +1,4 @@
-#\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.
index 06fde1bd7ce7cd32dbb9a103e68672b742507696..935da9fbf0b8c1bf9349ba3ee014fe2790cd2dea 100644 (file)
@@ -8,14 +8,11 @@
 
 Format 45
 
-AddToPreamble
-       \usepackage{rsphrase}
-EndPreamble
-
 InsetLayout "Flex:R-S number"
        LyxType         custom
        LatexType       command
        LatexName       rsnumber
+       Requires        rsphrase
        LabelString     "R-S number"
        Font
          Color         foreground
@@ -42,6 +39,7 @@ End
 Style "Safety phrase"
        LatexType       command
        LatexName       rsphrase
+       Requires        rsphrase
        Category        MainText
        NextNoIndent    1
        Argument 1
index 924308c50c94e1d5886d78fbeb799e5bc13ce81b..d23f8b0b47157c37e387415b41554a4a244d6038 100644 (file)
@@ -734,7 +734,8 @@ char const * simplefeatures[] = {
        "multicol",
        "multirow",
        "tfrupee",
-       "shapepar"
+       "shapepar",
+       "rsphrase"
 };
 
 char const * bibliofeatures[] = {