From e2be6a1281778f482922b8b0136b0ecf2bde7350 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 22 Jun 2011 09:26:58 +0000 Subject: [PATCH] Fix incompatibility between jss.layout and Sweave (see bug 7555). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39188 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/jss.layout | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/layouts/jss.layout b/lib/layouts/jss.layout index 098f2fe9a5..57d50c4db5 100644 --- a/lib/layouts/jss.layout +++ b/lib/layouts/jss.layout @@ -9,3 +9,10 @@ Format 35 # Read the definitions from article.layout Input article.layout + +# The commented macro below is enough to prevent Sweave from loading +# Sweave.sty. This is needed because jss.cls already provides +# this package's functionality (see bug 7555). +AddToPreamble + %\usepackage{Sweave} +EndPreamble -- 2.39.2