X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fknitr.module;h=c15681c133e0ef9940b2f32cf07bb8bbaf653aab;hb=7cb50d70086faafb22a7dd8ca779278a0f9310e9;hp=a2008cc9fec0fa7931a5125376a0ae5027086aaa;hpb=6b49b6b129af9417fea7ea907a44a46fbbd38340;p=lyx.git diff --git a/lib/layouts/knitr.module b/lib/layouts/knitr.module index a2008cc9fe..c15681c133 100644 --- a/lib/layouts/knitr.module +++ b/lib/layouts/knitr.module @@ -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 49 +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"