]> git.lyx.org Git - features.git/commitdiff
Fix incompatibility between jss.layout and Sweave (see bug 7555).
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Jun 2011 09:30:57 +0000 (09:30 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Jun 2011 09:30:57 +0000 (09:30 +0000)
Backport of r39188.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39189 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/jss.layout
status.20x

index 098f2fe9a5c333817f04d96b1596f76978d6b7bc..57d50c4db5b696665eadb099c000a2af8a201c00 100644 (file)
@@ -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
index 78a65228f7c404336fd36248a2d430d067941a8c..c224f064c005059f778c50ff7044281fdf30f70e 100644 (file)
@@ -134,6 +134,8 @@ What's new
 - Fix LaTeX error with Sweave module when the directory where R has
   been installed contains a space.
 
+- Fix incompatibility between jss.layout and Sweave (see bug 7555).
+
 * USER INTERFACE
 
 - Fixed crash relating to outliner and mouse movement.