On 17 Nov 2003, Arend P. van der Veen wrote:
> Hi, > > I have been developing a package in R and have been working on > documentation. I have a \details function that contains the following: > > \details{ > > some text > > \preformatted{ > [my-section] > user = apv > host = 127.0.0.1 > } > > } > > When I run R CMD check I get an error while checking the manual. If I > remove: > > \preformatted{ > [my-section] > user = apv > host = 127.0.0.1 > } > > and replace it with > > [my-section] > user = apv > host = 127.0.0.1 > > the error goes away. > > Has anybody had this problem? Confirmed. The problem is that there is no newline after \end{verbatim} in the produced TeX code, so we get, e.g.: \end{verbatim}\end{Details} . Might be fixed in R-patched (I don't have access right now). > > I have also have a problem including a '$' in my documentation. I > replace them with \$ which made latex happy but then \$ showed up in the > HTML and R help. Hmmm. All of the following works for me: \$, \code{$}, and \deqn{\$}{$} Uwe Ligges > Any advice would be appreciated, > Arend van der Veen > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help