]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/litinsets.inc
tex2lyx: check for \maketitle also if other titlename is specified
[lyx.git] / lib / layouts / litinsets.inc
index 38b29af4e9f74f0af4aa298a3fbf9b9974f2f9fc..3f0a3f875796ffc6cc0d04e2e7f5745e7b59c736 100644 (file)
@@ -6,12 +6,14 @@
 # Note that this file is included in sweave.module,
 # knitr.module and noweb.module.
 
-Format 53
+Format 68
 
 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