]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sweave.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / sweave.module
index 97adc7d9d9ffca11df271731d1d9ebf6c22b0806..e8583d685060bb2c0b8bf3039d51c9804b425068 100644 (file)
@@ -1,16 +1,17 @@
 #\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 59
+Format 99
 
 Input litinsets.inc
 
 Counter chunk
+       GuiName "Knitr Chunk"
     InitialValue 2
 End
 
@@ -47,6 +48,8 @@ InsetLayout "Flex:Sweave Options"
        Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
+       AddToToc              literate
+       IsTocCaption          0
 End
 
 InsetLayout "Flex:S/R expression"
@@ -91,4 +94,6 @@ InsetLayout "Flex:Sweave Input File"
        Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
+       AddToToc              literate
+       IsTocCaption          1
 End