From: Julien Rioux Date: Sun, 17 Apr 2011 18:12:31 +0000 (+0000) Subject: * sweave.module X-Git-Tag: 2.0.0~87 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=68ad320f76254ae9d8176058041d5b43af37c82d;p=features.git * sweave.module 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 --- diff --git a/lib/layouts/sweave.module b/lib/layouts/sweave.module index 7b466ddb08..4f600ed20f 100644 --- a/lib/layouts/sweave.module +++ b/lib/layouts/sweave.module @@ -19,7 +19,7 @@ ClassOptions Other "noae" End -Preamble +AddToPreamble <>= if(exists("ls.enc")) options(encoding=ls.enc) @