X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flitinsets.inc;h=6849256328708efe5fb0de0349d11014af363399;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=e9e2d05a4907106b34c9921f07306203b8b75e59;hpb=486c7cc0696416e7e09242269c64442afd5fda02;p=lyx.git diff --git a/lib/layouts/litinsets.inc b/lib/layouts/litinsets.inc index e9e2d05a49..6849256328 100644 --- a/lib/layouts/litinsets.inc +++ b/lib/layouts/litinsets.inc @@ -6,12 +6,15 @@ # Note that this file is included in sweave.module, # knitr.module and noweb.module. -Format 54 +Format 98 Counter chunk + GuiName "Knitr Chunk" PrettyFormat "Chunk ##" End +OutlinerName literate "Literate programming" + InsetLayout "Flex:Chunk" LabelString "Chunk" LatexType none @@ -36,13 +39,21 @@ 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 + EditExternal true + DocBookTag programlisting + DocBookAttr role='literate-programming' End