Skip to content
Prev 18527 / 63424 Next

problem with \eqn (PR#8322)

Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
Hin-Tak> can tell you the answer...(most probably haven't bothered...)
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.

My reading of R-exts would suggest that it is not necessary to escape
braces inside \eqn (and in fact these are not unescaped by Rdconv).

Btw, the conversions of the above example are wrong for at least HTML
and text as well, giving

  <i>A</i>{{B}

and

  A{{B}

respectively.

-k