From hin-tak.leung at cimr.cam.ac.uk  Mon Nov 21 11:27:17 2005
From: hin-tak.leung at cimr.cam.ac.uk (Hin-Tak Leung)
Date: Mon, 21 Nov 2005 10:27:17 +0000
Subject: [Rd] problem with \eqn (PR#8322)
In-Reply-To: <17278.11673.761366.759409@mithrandir.hornik.net>
References: <20051117215558.33EB422485@slim.kubism.ku.dk>	<437E0384.604@cimr.cam.ac.uk>	<17278.3526.762256.703178@stat.math.ethz.ch>	<437E11F7.6010604@cimr.cam.ac.uk>	<437E1993.5020804@stats.uwo.ca>
	<17278.11673.761366.759409@mithrandir.hornik.net>
Message-ID: <4381A105.4000404@cimr.cam.ac.uk>

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



[Rd] problem with \eqn (PR#8322)
Hin-Tak Leung