Re: [Rd] problem with \eqn (PR#8322)

From: Hin-Tak Leung <hin-tak.leung_at_cimr.cam.ac.uk>
Date: Mon 21 Nov 2005 - 10:27:17 GMT

Kurt Hornik wrote:
<snipped>
> Definitely a problem in Rdconv.
>
> E.g.,
>
> $ cat foo.Rd
> \description{
> \eqn{{A}}{B}
> }
> hornik@mithrandir:~/tmp$ R-d CMD Rdconv -t latex foo.Rd | grep eqn
> \eqn{{A}}{A}{{B}
>
> shows what is going on.

There is a "work-around" - putting extra spaces between the two braces:

$ cat foo.Rd
\description{

   \eqn{ {A} }{B}
}

$R CMD Rdconv -t latex foo.Rd

\HeaderA{}{}{}
\begin{Description}\relax
\eqn{ {A} }{B}
\end{Description}


HT



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Nov 21 21:39:32 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:33 GMT