]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/sweave.module
Update all layouts to format 35.
[lyx.git] / lib / layouts / sweave.module
index 9dae1ffc9c929d5e5d0be2cae02d7cea42a87028..7b466ddb08f02decce0c3157ccceb5570ef52e20 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 34
+Format 35
 OutputType             literate
 OutputFormat           sweave
 
@@ -20,7 +21,6 @@ End
 
 Preamble
        <<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