pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/R-latex2exp
Module Name: pkgsrc
Committed By: mef
Date: Sat Dec 7 03:22:45 UTC 2024
Modified Files:
pkgsrc/graphics/R-latex2exp: Makefile distinfo
Log Message:
(graphics/R-latex2exp) Updated 0.5.0 to 0.9.6
# 0.9.6 (11/27/2022)
## Bug fixes
* Fixes swapped wedge and vee symbols (#55, credit to @ebolove)
# 0.9.5 (09/10/2022)
## Bug fixes
* Round brakets after exponent render correctly (fixes #49)
* `\cap` now renders correctly (fixes #52)
* Escaped and non-escaped square brackets now render correctly,
including with exponents (fixes #48)
# 0.9.4 (01/03/2022)
## Bug fixes
* Fixes bug where certain commands would fail outside of math mode
(e.g. `TeX(r"(\alpha + \beta)")`) (fixes #45).
* Fixes edge case where `TeX(r"($^{18}$ O)")` (e.g. a free-standing
superscript or subscript) would not render.
# 0.9.3 (02/02/2022)
## Bug fixes
* Fix an edge case encountered with back-to-back spacing or certain
types of commands (e.g. `TeX(r"(a \,\, b)"`)) (fixes issue #40)
* Fix handling of compare operators (`=, <, >, \ge, \le`) (fixes issue #38)
* `TeX("")` returns `expression('')` (an empty expression of length 1)
(fixes issue #40)
# 0.9.0 I01/20/2022)
## New features
* Completely rewritten parser that is much more robust, produces valid plotmath
expressions in more situations, and improved rendering by making use of more
plotmath features.
* Added a vignette containing a browsable gallery of LaTeX commands
supported. You can pull it up using `vignette("supporte d-commands",
package = "latex2exp")`.
* Added the following LaTeX commands and symbols:
* `\Upsilon` and `\varpi` for Greek letter variants
* `\uparrow`, `\downarrow`, `\Uparrow`, `\Downarrow`, `\to`
* `\euro` for the euro character
* `\langle`, `\rangle` for angle bracket (supported in R 4.1)
* `\lceil`, `\rceil`, `\lfloor`, `\rfloor` for ceil/floor brackets
* `\|` for double-pipe brackets (`\norm{expr}` is an alternative
command for typesetting a vector norm).
* Note that the angle, ceil, floor, pipe and double pipe brackets
are *not* scalable delimiters, because of plotmath limitations.
* `\bra`, `\ket`, `\braket` for representing vectors with the braket notation
* `\smiley`, `\diamond`, `\sharp`, `\eightnote`, `\twonotes`, `\sun`, `\venus`,
`\mars`, `\Exclam`, `\dagger`, `\ddagger`, `\(up|down|right|left)triangle`
* Improved the appearance of round
parentheses. `TeX(r"($\alpha(\beta)$)")` now renders more similarly
to how plotmath renders the expression `alpha(beta)`.
* Improved the appearance of `,`, `'` and `''` in math mode.
* Improved the appearance of `\frac` fractions. Now a small space is
inserted after the fraction, so that multiple fraction s are
separated.
* Added a test suite covering a large number of LaTeX expressions,
edge cases, and examples from GitHub.
* Refactored and improved code documentation.
## Bug fixes
* Fixes #33 (adds `\lceil, \rceil, \lfloor, \rfloor`)
* Fixes #24 (can mix & match different types of brackets,
e.g. `TeX("$\\left(\\frac{M}{L}\\right.$")`)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/R-latex2exp/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/R-latex2exp/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/R-latex2exp/Makefile
diff -u pkgsrc/graphics/R-latex2exp/Makefile:1.2 pkgsrc/graphics/R-latex2exp/Makefile:1.3
--- pkgsrc/graphics/R-latex2exp/Makefile:1.2 Sat Aug 28 05:15:33 2021
+++ pkgsrc/graphics/R-latex2exp/Makefile Sat Dec 7 03:22:45 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2021/08/28 05:15:33 mef Exp $
+# $NetBSD: Makefile,v 1.3 2024/12/07 03:22:45 mef Exp $
R_PKGNAME= latex2exp
-R_PKGVER= 0.5.0
+R_PKGVER= 0.9.6
CATEGORIES= graphics textproc
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -11,6 +11,19 @@ LICENSE= mit
DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
DEPENDS+= R-stringr>=1.4.0:../../textproc/R-stringr
+# Package suggested but not available: 'reactable'
+
+TEST_DEPENDS+= R-RCurl-[0-9]*:../../www/R-RCurl
+TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
+TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
+TEST_DEPENDS+= R-htmltools-[0-9]*:../../textproc/R-htmltools
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-purrr-[0-9]*:../../devel/R-purrr
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+TEST_DEPENDS+= R-tibble-[0-9]*:../../math/R-tibble
+TEST_DEPENDS+= R-waldo-[0-9]*:../../devel/R-waldo
+
USE_LANGUAGES= # none
.include "../../math/R/Makefile.extension"
Index: pkgsrc/graphics/R-latex2exp/distinfo
diff -u pkgsrc/graphics/R-latex2exp/distinfo:1.4 pkgsrc/graphics/R-latex2exp/distinfo:1.5
--- pkgsrc/graphics/R-latex2exp/distinfo:1.4 Tue Oct 26 10:45:56 2021
+++ pkgsrc/graphics/R-latex2exp/distinfo Sat Dec 7 03:22:45 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:45:56 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/12/07 03:22:45 mef Exp $
-BLAKE2s (R/latex2exp_0.5.0.tar.gz) = 45e4b3b65e90c9847d2562cd40fc96a1d8e0e33c9e46913a703a4883d5ed0ccc
-SHA512 (R/latex2exp_0.5.0.tar.gz) = bdaa519fa5f2266fc549ecc1c129b0d4e16ea8c84cb05bbd11b4daac78bcd6d8d6f1c992b409aa122e9fe568a2474f0ab711bb5e8700f3a1bfc57730b5f23ee5
-Size (R/latex2exp_0.5.0.tar.gz) = 237069 bytes
+BLAKE2s (R/latex2exp_0.9.6.tar.gz) = fe5d58afedf7d4c096076ddd2df612ec30e3045a96335227101a3743851a4565
+SHA512 (R/latex2exp_0.9.6.tar.gz) = bd26f2c157e004626806c1dccb9a16acffd3140a6fe1c108948ef49934112c4c81a64b040b0a9473d348ddc99bfe56d971bd709b38686f4f259bf9b0dac985e3
+Size (R/latex2exp_0.9.6.tar.gz) = 1498904 bytes
Home |
Main Index |
Thread Index |
Old Index