Author: lasgouttes
Date: Wed Jun 22 11:26:58 2011
New Revision: 39188
URL: http://www.lyx.org/trac/changeset/39188
Log:
Fix incompatibility between jss.layout and Sweave (see bug 7555).
Modified:
lyx-devel/trunk/lib/layouts/jss.layout
Modified: lyx-devel/trunk/lib/layouts/jss.layout
==============================================================================
--- lyx-devel/trunk/lib/layouts/jss.layout Wed Jun 22 05:44:06 2011
(r39187)
+++ lyx-devel/trunk/lib/layouts/jss.layout Wed Jun 22 11:26:58 2011
(r39188)
@@ -9,3 +9,10 @@
# 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