search for: mathjaxr

Displaying 5 results from an estimated 5 matches for "mathjaxr".

Did you mean: mathjax
2020 May 05
1
Use of MathJax (or something similar) in .Rd files
Hi All, After some tinkering, and with support from Duncan, I put together a package that allows for easy inclusion of MathJax equations in Rd files. The package has been submitted to CRAN, but those who want to try this out already can get it here: https://github.com/wviechtb/mathjaxr or in other words: install.packages("remotes") remotes::install_github("wviechtb/mathjaxr") Package authors can then use the \loadmathjax macro to enable its use and the \mjeqn{latex}{ascii} and \mjdeqn{latex}{ascii} macros for including inline and displayed equations. Feedb...
2025 May 15
1
Packages manually setting NeedsCompilation
...en there should be just one, noarch, for all. I can list at least 3 examples of this: - BANOVA: requires compilation, there is a src directory, nothing happens there, no source files, just a Makefile sitting there. - mixl: same, and the Makefile is just used to print if OpenMP is supported (?). - mathjaxr: same, and the Makefile is used to install a javascript library (!). > > I wouldn't think that should happen as configure is supposed to only guide the compilation in src - if there is no src no binaries are expected as the package did not provide any native sources hence there should be...
2025 May 17
2
Packages manually setting NeedsCompilation
...ch, for all. > > I can list at least 3 examples of this: > > - BANOVA: requires compilation, there is a src directory, nothing > happens there, no source files, just a Makefile sitting there. > - mixl: same, and the Makefile is just used to print if OpenMP is supported (?). > - mathjaxr: same, and the Makefile is used to install a javascript library (!). > >>> I wouldn't think that should happen as configure is supposed to only guide the compilation in src - if there is no src no binaries are expected as the package did not provide any native sources hence there sh...
2025 May 17
2
Packages manually setting NeedsCompilation
...ist at least 3 examples of this: > > > > - BANOVA: requires compilation, there is a src directory, nothing > > happens there, no source files, just a Makefile sitting there. > > - mixl: same, and the Makefile is just used to print if OpenMP is > supported (?). > > - mathjaxr: same, and the Makefile is used to install a javascript > library (!). > > > >>> I wouldn't think that should happen as configure is supposed to only > guide the compilation in src - if there is no src no binaries are expected > as the package did not provide any nati...
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
Thanks Gabor and Duncan! It works. For those interested, I added this to the beginning of the \details{} section: \if{html}{\out{ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js"> </script> }} And then I can use: \if{html}{\out{\(B_{x(a,b)} = \int_0^x t^{a-1} (1-t)^{b-1} dt\)}} or