Skip to content
Back to formatted view

Raw Message

Message-ID: <4381A105.4000404@cimr.cam.ac.uk>
Date: 2005-11-21T10:27:17Z
From: Hin-Tak Leung
Subject: problem with \eqn (PR#8322)
In-Reply-To: <17278.11673.761366.759409@mithrandir.hornik.net>

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