# [texhax] latex compiler has problems with \begin{Soutput}

Reinhard Kotucha reinhard.kotucha at web.de
Mon Apr 16 00:47:06 CEST 2012

On 2012-04-15 at 12:08:11 -0400, Keith Jones wrote:

> Hi,
>
> When I try to compile my .tex file, that was generated using Sweave in
> R,  and it gets to a \begin{Soutput} it generates a error message:
> LaTeX Error: Undefined color darkred'.  Why does the compiler think
> that \begin{Soutput} is darkred?  All I have to do is press the return
> key and the compiler goes on its merry way till it gets to the next
> \begin{Soutput}.
>
> Any suggestions?  I run TeXShop 2.43 on an iMac running 10.5.8 and R
> 2.14.1.

I guess that the Soutput environment is using darkred but doesn't
define it itself.  In this case you have to load another package
explicitly.  If true, this should be mentioned somewhere in the Sweave
documentation.  I would look there first.

Regards,
Reinhard

--
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
`