]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sweave.module
- theorems-without-preamble.inc: new file to provide theorem environments without...
[lyx.git] / lib / layouts / sweave.module
index 5d67602adc0d72dd15d6e9f1e8c28681aa10099e..4f600ed20fd359229738114e0cc74f301617db22 100644 (file)
@@ -4,13 +4,14 @@
 #See sweave.lyx in examples.
 #DescriptionEnd
 #Category: literate
+#Excludes: lilypond
 
 
 # To add :
 # - \setkeys{Gin}{width=0.8\textwidth} How to add such a "beast"? This is used to define
 #   the size of produced plots.
 
-Format 31
+Format 35
 OutputType             literate
 OutputFormat           sweave
 
@@ -18,9 +19,8 @@ ClassOptions
        Other          "noae"
 End
 
-Preamble
+AddToPreamble
        <<echo=F>>=
-         if(exists("ls.dir")) setwd(ls.dir)
          if(exists("ls.enc")) options(encoding=ls.enc)
        @
 EndPreamble
@@ -36,6 +36,7 @@ Style Chunk
        FreeSpacing           1
        PassThru              1
        ParbreakIsNewline     1
+       Spellcheck            0
        ## What is LabelType used for?
        LabelType             Static
        TextFont
@@ -48,7 +49,7 @@ Style Scrap
        ObsoletedBy           Chunk
 End
 
-InsetLayout "Sweave Options"
+InsetLayout "Flex:Sweave Options"
        LabelString           "Sweave opts"
        LatexType             Command
        LaTexName             SweaveOpts
@@ -65,11 +66,12 @@ InsetLayout "Sweave Options"
        MultiPar              false
        PassThru              1
        ParbreakIsNewline     1
+       Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
 End
 
-InsetLayout "S/R expression"
+InsetLayout "Flex:S/R expression"
        LabelString           "S/R expr"
        LatexType             Command
        LaTexName             Sexpr
@@ -86,11 +88,12 @@ InsetLayout "S/R expression"
        MultiPar              false
        PassThru              1
        ParbreakIsNewline     1
+       Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
 End
 
-InsetLayout "Sweave Input File"
+InsetLayout "Flex:Sweave Input File"
        LabelString           "Sweave Input File"
        LatexType             Command
        LaTexName             SweaveInput
@@ -107,6 +110,7 @@ InsetLayout "Sweave Input File"
        MultiPar              false
        PassThru              1
        ParbreakIsNewline     1
+       Spellcheck            0
        FreeSpacing           true
        ForceLTR              true
 End