]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/litinsets.inc
Amend 2877032
[lyx.git] / lib / layouts / litinsets.inc
index e9e2d05a4907106b34c9921f07306203b8b75e59..5cd74e1f1c90ca2ac00db5ff639c5cf229ec29d7 100644 (file)
@@ -6,12 +6,14 @@
 # Note that this file is included in sweave.module,
 # knitr.module and noweb.module.
 
-Format 54
+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    >>=<br/>
+      Mandatory           1
+      LabelString         "Options"
+      Tooltip             "Options"
+      LeftDelim           <<
+      RightDelim          >>=<br/>
+      IsTocCaption        1
+      AutoInsert          1
     EndArgument
     ResetsFont            false
     ForceOwnlines         true
+    NeedCProtect          true
 End