]> git.lyx.org Git - features.git/commitdiff
* sweave.module
authorJulien Rioux <jrioux@lyx.org>
Sun, 17 Apr 2011 18:12:31 +0000 (18:12 +0000)
committerJulien Rioux <jrioux@lyx.org>
Sun, 17 Apr 2011 18:12:31 +0000 (18:12 +0000)
  Use AddToPreamble here. We don't want to overwrite the preamble from the layout file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38427 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/sweave.module

index 7b466ddb08f02decce0c3157ccceb5570ef52e20..4f600ed20fd359229738114e0cc74f301617db22 100644 (file)
@@ -19,7 +19,7 @@ ClassOptions
        Other          "noae"
 End
 
-Preamble
+AddToPreamble
        <<echo=F>>=
          if(exists("ls.enc")) options(encoding=ls.enc)
        @