]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sweave.module
Update layouts
[lyx.git] / lib / layouts / sweave.module
index 8f5cc80ad90cae22a6387cd9a1542147988ffccf..9d4d10fd975465ae2a8cc78aaad1b403ee0e9311 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.
+#For more info see Help > Specific Manuals > Sweave.
 #DescriptionEnd
-#Category: literate
 #Excludes: lilypond
 
-Format 48
+Format 103
 
 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