]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/knitr.module
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / knitr.module
index 240bdd58bf37017a3d5fc1ffcd7d9675b097839c..3404810a6847e79cf28c7855d36c761d2f5d1fd9 100644 (file)
@@ -1,16 +1,17 @@
 #\DeclareLyXModule[knitr->latex]{Rnw (knitr)}
+#\DeclareCategory{Literate Programming}
 #DescriptionBegin
 #Uses the knitr package in R for dynamic report generation. This R package has to be installed for this module to work: install.packages('knitr'). Note it depends on R >= 2.14.1.
 #For more info see http://yihui.name/knitr
 #DescriptionEnd
-#Category: literate
 #Excludes: lilypond | sweave
 
-Format 57
+Format 99
 
 Input litinsets.inc
 
 Counter chunk
+       GuiName "Knitr Chunk"
     InitialValue 2
 End
 
@@ -37,6 +38,8 @@ InsetLayout "Flex:Sweave Options"
        Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
+       AddToToc              literate
+       IsTocCaption          1
 End
 
 InsetLayout "Flex:S/R expression"