Skip to content

Docbook equivalent of Sweave

2 messages · Sean Davis, Greg Snow

#
I have been looking a bit at docbook as an alternative to latex.
However, Sweave is a very nice way to deal with documents mixing R
code, figures, and text as well as markup.  I saw a couple of
references in the email archives that people have been experimenting
with combinations of tools (including Sxslt).  Is anyone willing to
share their thoughts and practices in basically replacing the
functionality of Sweave and Latex with an xml-based solution like
docbook?

Thanks,
Sean
1 day later
#
The odfWeave package does sweave using OpenOffice files instead of LaTeX files.  The .odt files are XML based I believe.  If you still want to expand to docbook, looking at the code of odfWeave should at least get you started.

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111