]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sweave.module
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / sweave.module
index fee02a3b10a9a58ed08c2b3599337ece347b2cb9..240756008aa586211f359b5b579f39acaeca39c5 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 53
+Format 82
 
 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