]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sweave.module
Fix grammar
[lyx.git] / lib / layouts / sweave.module
index 74a061c3f726a0b3e7b03e9dc515967218ad8e99..9a5b6681f4085bbcbfc14edb05bd505d6a063dc6 100644 (file)
@@ -1,12 +1,12 @@
 #\DeclareLyXModule[sweave->latex,fancyvrb.sty]{Sweave}
+#\DeclareCategory{Literate Programming}
 #DescriptionBegin
 #Allows to use the statistical language S/R as a literate programming tool via the Sweave() function.
 #For more info see the LyX example file sweave.lyx.
 #DescriptionEnd
-#Category: literate
 #Excludes: lilypond
 
-Format 60
+Format 74
 
 Input litinsets.inc
 
@@ -47,6 +47,8 @@ InsetLayout "Flex:Sweave Options"
        Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
+       AddToToc              literate
+       IsTocCaption          0
 End
 
 InsetLayout "Flex:S/R expression"
@@ -91,4 +93,6 @@ InsetLayout "Flex:Sweave Input File"
        Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
+       AddToToc              literate
+       IsTocCaption          1
 End