X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flitinsets.inc;h=5cd74e1f1c90ca2ac00db5ff639c5cf229ec29d7;hb=2a72fa3a041ddb5061aef564ce779a5d01a7c216;hp=1685862109a207e68f18dc6617519d65a9f41c2c;hpb=82cf4838dc5fc6ebc4fe44ad780b40ec673e2b7b;p=lyx.git diff --git a/lib/layouts/litinsets.inc b/lib/layouts/litinsets.inc index 1685862109..5cd74e1f1c 100644 --- a/lib/layouts/litinsets.inc +++ b/lib/layouts/litinsets.inc @@ -6,12 +6,14 @@ # Note that this file is included in sweave.module, # knitr.module and noweb.module. -Format 57 +Format 69 Counter chunk PrettyFormat "Chunk ##" End +OutlinerName literate "Literate programming" + InsetLayout "Flex:Chunk" LabelString "Chunk" LatexType none @@ -36,13 +38,18 @@ InsetLayout "Flex:Chunk" Spellcheck 0 FreeSpacing true ForceLTR true + AddToToc literate + IsTocCaption 0 Argument 1 - Mandatory 1 - LabelString "Options" - Tooltip "Options" - LeftDelim << - RightDelim >>=
+ Mandatory 1 + LabelString "Options" + Tooltip "Options" + LeftDelim << + RightDelim >>=
+ IsTocCaption 1 + AutoInsert 1 EndArgument ResetsFont false ForceOwnlines true + NeedCProtect true End