]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/knitr.module
Tools(listFontWithLang.pl): Added type for small capitals.
[lyx.git] / lib / layouts / knitr.module
index 4c1766f09b6b54c5b0fc6a58f6ceb47d9ba175a0..c15681c133e0ef9940b2f32cf07bb8bbaf653aab 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 60
+Format 81
 
 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"