Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow for simultaneous usage of jss.cls and Sweave.sty (requires e-TeX)

git-svn-id: https://svn.r-project.org/R/trunk@58286 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
commit 08190d37f8ec00974d0ac2b4dfdf547ccb566c43 1 parent 6420913
ligges authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 share/texmf/tex/latex/Sweave.sty
View
6 share/texmf/tex/latex/Sweave.sty
@@ -24,7 +24,11 @@
\DefineVerbatimEnvironment{Soutput}{Verbatim}{}
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl}
-\newenvironment{Schunk}{}{}
+\ifdefined\Schunk%
+ \message{\string Environment Schunk is already defined, stay with former definition}%
+\else
+ \newenvironment{Schunk}{}{}%
+\fi
\newcommand{\Sconcordance}[1]{%
\ifx\pdfoutput\undefined%
Please sign in to comment.
Something went wrong with that request. Please try again.