Displaying 2 results from an estimated 2 matches for "providecommand".
2005 Jul 19
1
translation with Rd.sty, Sweave and tex4th (PR#8016)
...e 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 apparent...
2009 Oct 02
1
trouble with html() in Hmisc
Dear all
On my system html() conversion of a `latex()' object fails. Follows a
dummy example:
> require(Hmisc)
> data(Angell)
> .object <- cor(Angell[,1:2], use="complete.obs")
> tmp <- latex(.object, cdec=c(2,2), title="")
> class(tmp)
[1] "latex"
> html(tmp)
/tmp/RtmprfPwzw/file7e72f7a7.tex:9: Warning: Command not found: \tabularnewline