[texhax] latex compiler has problems with \begin{Soutput}
Lars Madsen
daleif at imf.au.dk
Mon Apr 16 10:12:29 CEST 2012
Reinhard Kotucha wrote, On 2012-04-16 00:47:
> 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
>
I've asked for a full example, because
http://svn.r-project.org/R/trunk/share/texmf/tex/latex/Sweave.sty
does not mention any corlors.
So the problem is either from the Sweave process itself or somewhere
else in the document
--
/daleif
More information about the texhax
mailing list