Use counter for new chunk insets, and set it to 2 in knitr and

sweave modules.
This commit is contained in:
Richard Heck 2013-06-01 17:42:36 -04:00
parent 2374229cc6
commit 4106fe37ac
3 changed files with 47 additions and 30 deletions

View File

@ -7,7 +7,13 @@
#Excludes: lilypond | sweave
Format 45
Input litinsets.inc
Counter chunk
InitialValue 2
End
OutputType literate
OutputFormat knitr

View File

@ -8,34 +8,39 @@
Format 45
InsetLayout "Flex:Chunk"
LabelString "Chunk"
LatexType none
LyXType Custom
RightDelim <br/>@
Decoration Classic
Font
Color latex
Family typewriter
EndFont
#LabelFont
#Color latex
#Size Small
#EndFont
MultiPar true
CustomPars false
ForcePlain true
PassThru 1
ParbreakIsNewline 1
KeepEmpty true
Spellcheck 0
FreeSpacing true
ForceLTR true
Argument 1
Mandatory 1
LabelString "Options"
Tooltip "Options"
LeftDelim <<
RightDelim >>=<br/>
EndArgument
Counter chunk
PrettyFormat "Chunk ##"
End
InsetLayout "Flex:Chunk"
LabelString "Chunk"
LatexType none
LyXType Custom
Counter chunk
RightDelim <br/>@
Decoration Classic
Font
Color latex
Family typewriter
EndFont
#LabelFont
#Color latex
#Size Small
#EndFont
MultiPar true
CustomPars false
ForcePlain true
PassThru 1
ParbreakIsNewline 1
KeepEmpty true
Spellcheck 0
FreeSpacing true
ForceLTR true
Argument 1
Mandatory 1
LabelString "Options"
Tooltip "Options"
LeftDelim <<
RightDelim >>=<br/>
EndArgument
End

View File

@ -7,7 +7,13 @@
#Excludes: lilypond
Format 45
Input litinsets.inc
Counter chunk
InitialValue 2
End
OutputType literate
OutputFormat sweave