X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flitinsets.inc;h=5cd74e1f1c90ca2ac00db5ff639c5cf229ec29d7;hb=2a72fa3a041ddb5061aef564ce779a5d01a7c216;hp=38b29af4e9f74f0af4aa298a3fbf9b9974f2f9fc;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git
diff --git a/lib/layouts/litinsets.inc b/lib/layouts/litinsets.inc
index 38b29af4e9..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 53
+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