]> git.lyx.org Git - lyx.git/blob - lib/layouts/knitr.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / knitr.module
1 #\DeclareLyXModule[knitr->latex]{Rnw (knitr)}
2 #\DeclareCategory{Literate Programming}
3 #DescriptionBegin
4 #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.
5 #For more info see http://yihui.name/knitr
6 #DescriptionEnd
7 #Excludes: lilypond | sweave
8
9 Format 99
10
11 Input litinsets.inc
12
13 Counter chunk
14         GuiName "Knitr Chunk"
15     InitialValue 2
16 End
17
18 OutputType             literate
19 OutputFormat           knitr
20
21 InsetLayout "Flex:Sweave Options"
22         LabelString           "Sweave opts"
23         LatexType             Command
24         LaTexName             SweaveOpts
25         LyXType               Custom
26         Decoration            Classic
27         Font
28           Color               latex
29           Family              typewriter
30         EndFont
31         LabelFont
32           Color               latex
33           Size                Small
34         EndFont
35         MultiPar              false
36         PassThru              1
37         ParbreakIsNewline     1
38         Spellcheck            0
39         FreeSpacing           true
40         ForceLTR              true
41         AddToToc              literate
42         IsTocCaption          1
43 End
44
45 InsetLayout "Flex:S/R expression"
46         LabelString           "S/R expr"
47         LatexType             Command
48         LaTexName             Sexpr
49         LyXType               Custom
50         Decoration            Conglomerate
51         Font
52           Color               latex
53           Family              typewriter
54         EndFont
55         LabelFont
56           Color               latex
57           Size                Small
58         EndFont
59         MultiPar              false
60         PassThru              1
61         ParbreakIsNewline     1
62         Spellcheck            0
63         FreeSpacing           true
64         ForceLTR              true
65 End
66