[R-pkg-devel] Vignettes from LaTeX files.
Thank you. Glad to hear it's useful.
This plain TeX/LaTeX vignette engine is implemented using base R. If
someone is willing to drive the efforts, I think it's not too much
work to refactor it and propose it for base R itself, where I think it
belongs, e.g. in the 'utils' package where Sweave lives, or in 'tools'
where tools::texi2dvi() lives. The vignette engine could be called
'utils::tex', e.g. %\VignetteEngine{utils::tex}. To me it meets the
standards for reproducible documentation from source, although,
obviously there's no 'tangle':d code output. If we want the latter,
we're getting into literate programming, and we already have several
vignette engines for that.
Just a thought,
Henrik
On Thu, Mar 4, 2021 at 7:20 PM Rolf Turner <r.turner at auckland.ac.nz> wrote:
I have now tried out building vignettes from plain LaTeX source, following the admirably lucid instructions provided by Henrik Bengtsson in: https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-LaTeX_vignettes.pdf It all went unbelievably smoothly; no problems whatever. I am deeply grateful to Henrik. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276