]> 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 35baafb84db99a8e60e6c71c3004ac1562f389f3..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 33
+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
@@ -49,7 +49,7 @@ Style Scrap
        ObsoletedBy           Chunk
 End
 
-InsetLayout "Sweave Options"
+InsetLayout "Flex:Sweave Options"
        LabelString           "Sweave opts"
        LatexType             Command
        LaTexName             SweaveOpts
@@ -71,7 +71,7 @@ InsetLayout "Sweave Options"
        ForceLTR              true
 End
 
-InsetLayout "S/R expression"
+InsetLayout "Flex:S/R expression"
        LabelString           "S/R expr"
        LatexType             Command
        LaTexName             Sexpr
@@ -93,7 +93,7 @@ InsetLayout "S/R expression"
        ForceLTR              true
 End
 
-InsetLayout "Sweave Input File"
+InsetLayout "Flex:Sweave Input File"
        LabelString           "Sweave Input File"
        LatexType             Command
        LaTexName             SweaveInput