[Rd] problem with \eqn (PR#8322)
Hin-Tak Leung
hin-tak.leung at cimr.cam.ac.uk
Mon Nov 21 11:27:17 CET 2005
Kurt Hornik wrote:
<snipped>
> Definitely a problem in Rdconv.
>
> E.g.,
>
> $ cat foo.Rd
> \description{
> \eqn{{A}}{B}
> }
> hornik at 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
More information about the R-devel
mailing list