From paulojus at est.ufpr.br  Tue Jul 19 14:53:06 2005
From: paulojus at est.ufpr.br (paulojus@est.ufpr.br)
Date: Tue, 19 Jul 2005 14:53:06 +0200 (CEST)
Subject: [Rd] translation with Rd.sty, Sweave and tex4th (PR#8016)
Message-ID: <20050719125306.ADF48C970@slim.kubism.ku.dk>

Full_Name: Paulo Ribeiro
Version: 2.1-1
OS: Debian Linux
Submission from: (NULL) (200.103.144.24)


I'm using Sweave with tex4th to generate xhtml documents
from documents created using Sweave which include \usepackage{Rd}
in the preamble

However there seems to be a problem with \Link defined in
Rd.sty, since this is also defined in tex4ht.sty

My workaround was to replace the lines with
\newcommand{\Link} by \providecommand{\Link}
in Rd.sty

I'm therefore wondering whether this is the best solution, if there is any
other
and, if so, whether this could be modified in the original Rd.sty shipped with
R.

A possible inconvenient of the suggested above
is that \providecommand seems to be specific to
LaTeX and apparently does not work with TeX.
Another possibility, as suggested by Kurt, would be "emulate" namespaces
with something of the type \Rd at Link 

with best regards



[Rd] translation with Rd.sty, Sweave and tex4th (PR#8016)
paulojus@est.ufpr.br