X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flitinsets.inc;h=efb974890078868060a60467c4b912fd243afb9e;hb=1e2885fe81a71f1b6d983d0517a1d77de5943803;hp=b781650085f1dd0c1fd47d9fc5827ee3bd647bb7;hpb=4d6f9eb089bfa664374e599db17d9f671a22f968;p=lyx.git
diff --git a/lib/layouts/litinsets.inc b/lib/layouts/litinsets.inc
index b781650085..efb9748900 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 58
+Format 82
Counter chunk
+ GuiName "Knitr Chunk"
PrettyFormat "Chunk ##"
End
+OutlinerName literate "Literate programming"
+
InsetLayout "Flex:Chunk"
LabelString "Chunk"
LatexType none
@@ -36,13 +39,19 @@ 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
End