2011-06-21 12:55:20 +00:00
|
|
|
#\DeclareLyXModule[sweave->latex,fancyvrb.sty]{Sweave}
|
2009-05-13 21:23:05 +00:00
|
|
|
#DescriptionBegin
|
2011-08-23 09:52:21 +00:00
|
|
|
#Allows to use the statistical language S/R as a literate programming tool via the Sweave() function.
|
2011-09-06 03:14:51 +00:00
|
|
|
#For more info see the LyX example file sweave.lyx.
|
2009-05-13 21:23:05 +00:00
|
|
|
#DescriptionEnd
|
2009-08-14 15:20:11 +00:00
|
|
|
#Category: literate
|
2011-03-30 00:32:11 +00:00
|
|
|
#Excludes: lilypond
|
2009-05-13 21:23:05 +00:00
|
|
|
|
2018-05-21 10:46:53 +00:00
|
|
|
Format 68
|
2013-06-01 21:42:36 +00:00
|
|
|
|
2013-05-30 13:12:48 +00:00
|
|
|
Input litinsets.inc
|
2013-06-01 21:42:36 +00:00
|
|
|
|
|
|
|
Counter chunk
|
|
|
|
InitialValue 2
|
|
|
|
End
|
|
|
|
|
2010-04-01 21:34:22 +00:00
|
|
|
OutputType literate
|
2009-05-28 08:59:25 +00:00
|
|
|
OutputFormat sweave
|
2009-05-13 21:23:05 +00:00
|
|
|
|
2010-04-01 21:34:22 +00:00
|
|
|
ClassOptions
|
|
|
|
Other "noae"
|
|
|
|
End
|
|
|
|
|
2011-04-17 18:12:31 +00:00
|
|
|
AddToPreamble
|
2010-12-12 21:25:57 +00:00
|
|
|
<<echo=F>>=
|
2011-08-23 09:52:21 +00:00
|
|
|
if(exists(".orig.enc")) options(encoding = .orig.enc)
|
2010-12-12 21:25:57 +00:00
|
|
|
@
|
|
|
|
EndPreamble
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:Sweave Options"
|
2009-05-13 21:23:05 +00:00
|
|
|
LabelString "Sweave opts"
|
|
|
|
LatexType Command
|
|
|
|
LaTexName SweaveOpts
|
|
|
|
LyXType Custom
|
|
|
|
Decoration Classic
|
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
2010-11-06 15:06:19 +00:00
|
|
|
PassThru 1
|
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
FreeSpacing true
|
|
|
|
ForceLTR true
|
2017-01-08 18:19:25 +00:00
|
|
|
AddToToc literate
|
|
|
|
IsTocCaption 0
|
2009-05-13 21:23:05 +00:00
|
|
|
End
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:S/R expression"
|
2009-05-13 21:23:05 +00:00
|
|
|
LabelString "S/R expr"
|
|
|
|
LatexType Command
|
|
|
|
LaTexName Sexpr
|
|
|
|
LyXType Custom
|
|
|
|
Decoration Conglomerate
|
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
2010-11-06 15:06:19 +00:00
|
|
|
PassThru 1
|
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
FreeSpacing true
|
|
|
|
ForceLTR true
|
|
|
|
End
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:Sweave Input File"
|
2009-05-13 21:23:05 +00:00
|
|
|
LabelString "Sweave Input File"
|
|
|
|
LatexType Command
|
|
|
|
LaTexName SweaveInput
|
|
|
|
LyXType Custom
|
|
|
|
Decoration Classic
|
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
2010-11-06 15:06:19 +00:00
|
|
|
PassThru 1
|
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
FreeSpacing true
|
|
|
|
ForceLTR true
|
2017-01-08 18:19:25 +00:00
|
|
|
AddToToc literate
|
|
|
|
IsTocCaption 1
|
2009-05-13 21:23:05 +00:00
|
|
|
End
|