From 68ad320f76254ae9d8176058041d5b43af37c82d Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Sun, 17 Apr 2011 18:12:31 +0000 Subject: [PATCH] * 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 --- lib/layouts/sweave.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) @ -- 2.39.2