]> git.lyx.org Git - lyx.git/blob - lib/layouts/knitr.module
Fix #8201: our translation mechanism chokes on the character "
[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.github.com/knitr
5 #DescriptionEnd
6 #Category: literate
7 #Excludes: lilypond | sweave
8
9 Format 35
10 OutputType             literate
11 OutputFormat           knitr
12
13 Style Chunk
14         Category              Sweave
15         LatexType             Paragraph
16         LatexName             dummy
17         Margin                static
18         Align                 Left
19         AlignPossible         Block, Left, Right, Center
20         TopSep                0.7
21         BottomSep             0.7
22         NewLine               0
23         FreeSpacing           1
24         PassThru              1
25         ParbreakIsNewline     1
26         Spellcheck            0
27         ## What is LabelType used for?
28         LabelType             Static
29         TextFont
30           Color               latex
31           Family              Typewriter
32         EndFont
33 End
34
35 Style Scrap
36         ObsoletedBy           Chunk
37 End
38
39 InsetLayout "Flex:Sweave Options"
40         LabelString           "Sweave opts"
41         LatexType             Command
42         LaTexName             SweaveOpts
43         LyXType               Custom
44         Decoration            Classic
45         Font
46           Color               latex
47           Family              typewriter
48         EndFont
49         LabelFont
50           Color               latex
51           Size                Small
52         EndFont
53         MultiPar              false
54         PassThru              1
55         ParbreakIsNewline     1
56         Spellcheck            0
57         FreeSpacing           true
58         ForceLTR              true
59 End
60
61 InsetLayout "Flex:S/R expression"
62         LabelString           "S/R expr"
63         LatexType             Command
64         LaTexName             Sexpr
65         LyXType               Custom
66         Decoration            Conglomerate
67         Font
68           Color               latex
69           Family              typewriter
70         EndFont
71         LabelFont
72           Color               latex
73           Size                Small
74         EndFont
75         MultiPar              false
76         PassThru              1
77         ParbreakIsNewline     1
78         Spellcheck            0
79         FreeSpacing           true
80         ForceLTR              true
81 End
82