X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fknitr.module;h=a357b33d7a1c3be8fa99daa650c2f55f6b2d5999;hb=789617b8187368b37e9ebd2c82389d2ab856f887;hp=f4a411e3e9d02199b5fa70dae5c7183e0964260e;hpb=2a62a2c3957b89489580f59150c20e45a66e4b43;p=lyx.git diff --git a/lib/layouts/knitr.module b/lib/layouts/knitr.module index f4a411e3e9..a357b33d7a 100644 --- a/lib/layouts/knitr.module +++ b/lib/layouts/knitr.module @@ -6,36 +6,17 @@ #Category: literate #Excludes: lilypond | sweave -Format 43 -OutputType literate -OutputFormat knitr +Format 66 -Style Chunk - Category Sweave - LatexType Paragraph - LatexName dummy - Margin static - Align Left - AlignPossible Block, Left, Right, Center - TopSep 0.7 - BottomSep 0.7 - NewLine 0 - FreeSpacing 1 - PassThru 1 - ParbreakIsNewline 1 - Spellcheck 0 - ## What is LabelType used for? - LabelType Static - TextFont - Color latex - Family Typewriter - EndFont -End +Input litinsets.inc -Style Scrap - ObsoletedBy Chunk +Counter chunk + InitialValue 2 End +OutputType literate +OutputFormat knitr + InsetLayout "Flex:Sweave Options" LabelString "Sweave opts" LatexType Command @@ -56,6 +37,8 @@ InsetLayout "Flex:Sweave Options" Spellcheck 0 FreeSpacing true ForceLTR true + AddToToc literate + IsTocCaption 1 End InsetLayout "Flex:S/R expression"