Skip to content
Prev 5441 / 12125 Next

[R-pkg-devel] MathJax for Rd files

I don't know if this helps but I have the following note in  viewRd() (from 2017!) at https://github.com/GeoBosh/Rdpack/blob/81af94d0e690b9f02275e89d474ce184d63fb044/R/bib.R

...
    ## TODO: (BUG) e is NULL under RStudio
    e <- tools::loadPkgRdMacros(system.file(package = "Rdpack"))
## Rdo <- parse_Rd(infile, macros = e)
...

Maybe I have forgotten to delete the note after fixing that since it works  (I just checked in Rstudio) but maybe that's the reason I restricted it to just macros in Rdpack.

Georgi Boshnakov


-----Original Message-----
From: Duncan Murdoch <murdoch.duncan at gmail.com> 
Sent: 14 May 2020 12:29
To: G?bor Cs?rdi <csardi.gabor at gmail.com>
Cc: Georgi Boshnakov <georgi.boshnakov at manchester.ac.uk>; Viechtbauer, Wolfgang (SP) <wolfgang.viechtbauer at maastrichtuniversity.nl>; Helmut Sch?tz <helmut.schuetz at bebac.at>; tiagoolivoto at gmail.com; r-package-devel at r-project.org
Subject: Re: [R-pkg-devel] MathJax for Rd files
On 14/05/2020 5:46 a.m., G?bor Cs?rdi wrote:
Yes, you're right.  So it's not clear why the preview isn't working.

Duncan Murdoch