]> git.lyx.org Git - lyx.git/blob - lib/layouts/sweave.module
Kill literate programming strings
[lyx.git] / lib / layouts / sweave.module
1 #\DeclareLyXModule[sweave->latex]{Sweave}
2 #DescriptionBegin
3 #Allows to use the statistical language S/R as a literate programming tool via Sweave package.
4 #DescriptionEnd
5 #Category: literate
6
7
8 # To add :
9 # - \setkeys{Gin}{width=0.8\textwidth} How to add such a "beast"? This is used to define
10 #   the size of produced plots.
11
12 Format 30
13 OutputType             literate
14 OutputFormat           sweave
15
16 ClassOptions
17         Other          "noae"
18 End
19
20 Style Chunk
21         Category              Sweave
22         LatexType             Paragraph
23         LatexName             dummy
24         Margin                static
25         Align                 Left
26         AlignPossible         Block, Left, Right, Center
27         NewLine               0
28         FreeSpacing           1
29         PassThru              1
30         ParbreakIsNewline     1
31         ## What is LabelType used for?
32         LabelType             Static
33         TextFont
34           Color               latex
35           Family              Typewriter
36         EndFont
37 End
38
39 Style Scrap
40         ObsoletedBy           Chunk
41 End
42
43 InsetLayout "Sweave Options"
44         LabelString           "Sweave opts"
45         LatexType             Command
46         LaTexName             SweaveOpts
47         LyXType               Custom
48         Decoration            Classic
49         Font
50           Color               latex
51           Family              typewriter
52         EndFont
53         LabelFont
54           Color               latex
55           Size                Small
56         EndFont
57         MultiPar              false
58         PassThru              1
59         ParbreakIsNewline     1
60         FreeSpacing           true
61         ForceLTR              true
62 End
63
64 InsetLayout "S/R expression"
65         LabelString           "S/R expr"
66         LatexType             Command
67         LaTexName             Sexpr
68         LyXType               Custom
69         Decoration            Conglomerate
70         Font
71           Color               latex
72           Family              typewriter
73         EndFont
74         LabelFont
75           Color               latex
76           Size                Small
77         EndFont
78         MultiPar              false
79         PassThru              1
80         ParbreakIsNewline     1
81         FreeSpacing           true
82         ForceLTR              true
83 End
84
85 InsetLayout "Sweave Input File"
86         LabelString           "Sweave Input File"
87         LatexType             Command
88         LaTexName             SweaveInput
89         LyXType               Custom
90         Decoration            Classic
91         Font
92           Color               latex
93           Family              typewriter
94         EndFont
95         LabelFont
96           Color               latex
97           Size                Small
98         EndFont
99         MultiPar              false
100         PassThru              1
101         ParbreakIsNewline     1
102         FreeSpacing           true
103         ForceLTR              true
104 End