[R-SIG-Mac] Compile errors on .tex file at \begin{Soutput} points
Duncan Murdoch
murdoch.duncan at gmail.com
Sun Oct 20 18:33:07 CEST 2013
On 13-10-20 11:00 AM, Keith Jones wrote:
> I am using OSX 10.6.8, TexShop 2.47, and TeXLive-2013. When I try to compile my .tex file I get an error at every \begin{Soutput}:
>
> l.100 \begin{Soutput}
>
Presumably you have an unusual definition for the Soutput macro. The
standard one doesn't set the colour, but there are various redefinitions
or modifications (through the fancyvrb LaTeX package) that do.
There are two strategies for finding this sort of thing:
1. Shorten your file until the problem goes away, then back off one
step: that's the step that's causing the problem.
2. Search for the string "darkred" in every file on your disk, and see
which ones might be relevant.
Duncan Murdoch
> ?
> [1]
>
> ! LaTeX Error: Undefined color `darkred'.
>
> I can not figure out where Latex is thinking there is a darkred colour associated with the following code.
>
> Here is the .tex code at lines 99 through 117:
>
> \begin{Schunk}
> \begin{Soutput}
> % latex table generated in R 3.0.2 by xtable 1.7-1 package
> % Sun Oct 20 10:09:50 2013
> \begin{table}[ht]
> \centering
> \begin{tabular}{rllrrr}
> \hline
> & kr44 & row & meas\_mean & meas\_var & meas\_sd \\
> \hline
> 1 & -1 & 1 & 868.78 & 97695.69 & 312.56 \\
> 2 & -1 & 3 & 652.90 & 51953.43 & 227.93 \\
> 3 & 1 & 1 & 1061.43 & 181553.65 & 426.09 \\
> 4 & 1 & 3 & 604.57 & 140337.19 & 374.62 \\
> \hline
> \end{tabular}
> \end{table}
> \end{Soutput}
> \end{Schunk}
>
> I have double checked that the sweave.sh, sweave.engine, and sweavenoclean.engine files have permissions of read and execute. The files are in the correct directory.
>
> I have run out of ideas to check.
>
>
> Thanks,
>
> Keith Jones, Ph.D.
>
> "It is Important to understand what you CAN DO before you learn to measure how WELL you seem to have DONE it." John Tukey
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
More information about the R-SIG-Mac
mailing list