]> git.lyx.org Git - lyx.git/blob - lib/layouts/knitr.module
Patch to convert Sweave chunk paragraphs to insets (bug #8588). Work
[lyx.git] / lib / layouts / knitr.module
1 #\DeclareLyXModule[knitr->latex]{Rnw (knitr)}
2 #DescriptionBegin
3 #Uses the knitr package in R for dynamic report generation. This R package has to be installed for this module to work: install.packages('knitr'). Note it depends on R >= 2.14.1.
4 #For more info see http://yihui.name/knitr
5 #DescriptionEnd
6 #Category: literate
7 #Excludes: lilypond | sweave
8
9 Format 45
10 Input litinsets.inc
11 OutputType             literate
12 OutputFormat           knitr
13
14 InsetLayout "Flex:Sweave Options"
15         LabelString           "Sweave opts"
16         LatexType             Command
17         LaTexName             SweaveOpts
18         LyXType               Custom
19         Decoration            Classic
20         Font
21           Color               latex
22           Family              typewriter
23         EndFont
24         LabelFont
25           Color               latex
26           Size                Small
27         EndFont
28         MultiPar              false
29         PassThru              1
30         ParbreakIsNewline     1
31         Spellcheck            0
32         FreeSpacing           true
33         ForceLTR              true
34 End
35
36 InsetLayout "Flex:S/R expression"
37         LabelString           "S/R expr"
38         LatexType             Command
39         LaTexName             Sexpr
40         LyXType               Custom
41         Decoration            Conglomerate
42         Font
43           Color               latex
44           Family              typewriter
45         EndFont
46         LabelFont
47           Color               latex
48           Size                Small
49         EndFont
50         MultiPar              false
51         PassThru              1
52         ParbreakIsNewline     1
53         Spellcheck            0
54         FreeSpacing           true
55         ForceLTR              true
56 End
57