Skip to content

Commit

Permalink
internal: elete unused mathjax-npm related tools
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed May 24, 2024
1 parent 87f0660 commit 782c38e
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 139 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: equatags
Type: Package
Title: Equations to 'XML'
Version: 0.2.1
Version: 0.2.1.002
Authors@R: c(
person("David", "Gohel", role = c("aut", "cre"),
email = "[email protected]"),
Expand All @@ -16,6 +16,6 @@ BugReports: https://github.com/ardata-fr/equatags/issues
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Depends: R (>= 4.0.0)
Imports: xml2, xslt, tools, katex
Imports: xml2, xslt, katex
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Generated by roxygen2: do not edit by hand

export(mathjax_available)
export(mathjax_uninstall)
export(transform_mathjax)
importFrom(katex,katex_html)
importFrom(katex,katex_mathml)
importFrom(tools,R_user_dir)
importFrom(xml2,read_xml)
importFrom(xml2,xml_children)
importFrom(xslt,xml_xslt)
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# equatags 0.2.1

\*.add a display= argument to transform_mathjax() to allow generating display or inline equations. It is set to FALSE by default (inline equation). This changes the behaviour that was previously to generate display equations only.
- add a `display` argument to transform_mathjax() to allow generating display or inline equations. It is set to FALSE by default (inline equation). This changes the behaviour that was previously to generate display equations only.
- delete unused mathjax-npm related tools.

# equatags 0.2.0

Expand Down
52 changes: 0 additions & 52 deletions R/mathjax_node_setup.R

This file was deleted.

9 changes: 4 additions & 5 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,17 @@ ft

## Related work

* Packages [texPreview](https://CRAN.R-project.org/package=texPreview) written by
- Packages [texPreview](https://CRAN.R-project.org/package=texPreview) written by
Jonathan Sidi, "compile snippets of 'LaTeX' directly into
images from the R console to view in the 'RStudio' viewer pane, Shiny apps
and 'RMarkdown' documents". With this package, you can get images from
your 'latex' code. The tool offers a wider functional spectrum than just
equation processing and focuses on 'latex' instead of only 'MathJax' equations.

* Package [mathjaxr](https://cran.r-project.org/package=mathjaxr) written by
- Package [mathjaxr](https://cran.r-project.org/package=mathjaxr) written by
Wolfgang Viechtbauer, "Using 'Mathjax' in Rd Files". This package let you
add equations in the manual pages of your package in a very convenient way.

* Package [katex](https://cran.r-project.org/package=katex) written by
- Package [katex](https://cran.r-project.org/package=katex) written by
Jeroen Ooms, "Rendering Math to HTML, 'MathML', or R-Documentation Format".
'equatags' mainly uses its functions since the release of 'katex' that made
possible to get rid of node.js dependency.
'equatags' mainly uses its functions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,19 @@ ft

## Related work

- Packages [texPreview](https://CRAN.R-project.org/package=texPreview)
written by Jonathan Sidi, “compile snippets of ‘LaTeX’ directly into
images from the R console to view in the ‘RStudio’ viewer pane,
Shiny apps and ‘RMarkdown’ documents”. With this package, you can
get images from your ‘latex’ code. The tool offers a wider
functional spectrum than just equation processing and focuses on
‘latex’ instead of only ‘MathJax’ equations.

- Package [mathjaxr](https://cran.r-project.org/package=mathjaxr)
written by Wolfgang Viechtbauer, “Using ‘Mathjax’ in Rd Files”. This
package let you add equations in the manual pages of your package in
a very convenient way.

- Package [katex](https://cran.r-project.org/package=katex) written by
Jeroen Ooms, “Rendering Math to HTML, ‘MathML’, or R-Documentation
Format”. ‘equatags’ mainly uses its functions since the release of
‘katex’ that made possible to get rid of node.js dependency.
- Packages [texPreview](https://CRAN.R-project.org/package=texPreview)
written by Jonathan Sidi, “compile snippets of ‘LaTeX’ directly into
images from the R console to view in the ‘RStudio’ viewer pane, Shiny
apps and ‘RMarkdown’ documents”. With this package, you can get images
from your ‘latex’ code. The tool offers a wider functional spectrum
than just equation processing and focuses on ‘latex’ instead of only
‘MathJax’ equations.

- Package [mathjaxr](https://cran.r-project.org/package=mathjaxr)
written by Wolfgang Viechtbauer, “Using ‘Mathjax’ in Rd Files”. This
package let you add equations in the manual pages of your package in a
very convenient way.

- Package [katex](https://cran.r-project.org/package=katex) written by
Jeroen Ooms, “Rendering Math to HTML, ‘MathML’, or R-Documentation
Format”. ‘equatags’ mainly uses its functions.
26 changes: 0 additions & 26 deletions man/mathjax_available.Rd

This file was deleted.

32 changes: 0 additions & 32 deletions man/mathjax_uninstall.Rd

This file was deleted.

0 comments on commit 782c38e

Please sign in to comment.