]> git.lyx.org Git - lyx.git/blob - lib/layouts/knitr.module
296c50243462804b2a38c352876b8cc3371c64db
[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 68
10
11 Input litinsets.inc
12
13 Counter chunk
14     InitialValue 2
15 End
16
17 OutputType             literate
18 OutputFormat           knitr
19
20 InsetLayout "Flex:Sweave Options"
21         LabelString           "Sweave opts"
22         LatexType             Command
23         LaTexName             SweaveOpts
24         LyXType               Custom
25         Decoration            Classic
26         Font
27           Color               latex
28           Family              typewriter
29         EndFont
30         LabelFont
31           Color               latex
32           Size                Small
33         EndFont
34         MultiPar              false
35         PassThru              1
36         ParbreakIsNewline     1
37         Spellcheck            0
38         FreeSpacing           true
39         ForceLTR              true
40         AddToToc              literate
41         IsTocCaption          1
42 End
43
44 InsetLayout "Flex:S/R expression"
45         LabelString           "S/R expr"
46         LatexType             Command
47         LaTexName             Sexpr
48         LyXType               Custom
49         Decoration            Conglomerate
50         Font
51           Color               latex
52           Family              typewriter
53         EndFont
54         LabelFont
55           Color               latex
56           Size                Small
57         EndFont
58         MultiPar              false
59         PassThru              1
60         ParbreakIsNewline     1
61         Spellcheck            0
62         FreeSpacing           true
63         ForceLTR              true
64 End
65