]> 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:26:58 +0000 (09:26 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Jun 2011 09:26:58 +0000 (09:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39188 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/jss.layout

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