pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/hs-texmath



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jul 19 20:47:04 UTC 2025

Modified Files:
        pkgsrc/textproc/hs-texmath: Makefile buildlink3.mk distinfo

Log Message:
textproc/hs-texmath: update to texmath-0.12.10.3

texmath (0.12.10.3)

  * MathML writer: fix rendering of EScaled (#264, Ewan Davies).
    Use `%` values for `maxwidth` and `minwidth`, and set `stretchy` to
    `true`. Otherwise browsers do not rescale.

  * TeX reader: Support all r/l variants of `\big`, `\bigg`, `\Big` (#266).

  * Require typst-symbols >= 0.1.8.1.

texmath (0.12.10.2)

  * Use texmath-symbols 0.1.8 (supports typst 0.13 symbols).

texmath (0.12.10.1)

  * MathML writer: group function application with operator name (#262).
    This fixes an issue with munder/mover. Previously the mo
    with the U+2061 was being put under the 'lim' operator
    instead of 'n -> oo'. Grouping them ensures that munder/mover
    will work properly.

texmath (0.12.10)

  * texmath-server:

    + Change endpoints: `/convert` to root, and `/convert-batch` to `/batch`.
    + Allow running as CGI if renamed pandoc-server.cgi. In this mode it
      accepts JSON content with POST requests or parameters with GET requests,
      just like pandoc-server itself.

  * TeX reader:

    + Fix parsing bug with comment at beginning of braced (#258).
    + Support negative numbers in `\hspace` (#259).
    + Allow decimals in `\hspace` (#259).
    + Support `\quad` in `\text` (#260).

texmath (0.12.9)

  * Better handling of primes in eqn, typst, and tex writers.
    These writers now render a superscript containing prime
    characters using a sequence of `'` characters, e.g.
    `f''`. This syntax is supported by all three formats.

  * Use Planck constant for italic h in unicodeTable. There is no
    regular italic h in Unicode because this already existed in Planck
    constant.

  * Text.TeXMath.Shared: expose `isRLSequence` and `toPrimes` and
    new function `isUpppercaseGreek` [API change, non-breaking].

  * OMML reader: consolidate adjacent texts with same style.
    This affects EStyled and EText elements. This way we get
    `\mathbf{123abc456}` in LaTeX output instead of
    `\mathbf{123}\mathbf{abc}\mathbf{456}`. See
    https://github.com/jgm/pandoc/discussions/10560 for discussion.

  * OMML writer:

    + Use `m:eqArr` rather than `m:m` for arrays with alternating
      right, left alignments (#209). (In other writers, TeX and MathML,
      we presume that these are aligned equations.)
    + Fix order of `scr` and `sty` elements (#253).
    + Use upright style by default for uppercase Greek.

  * MathML reader: properly handle `mmultiscripts` (#252).

  * MathML writer:

    + Improve formatting of aligned equations (#207).
      An EArray with alternating R,L alignments will be assumed
      to be aligned equations and rendered without padding.
    + Use `mi` for EMathOperator. Also: insert the unicode 0x2061
      "function application" character after a math operator, unless
      it's already there. Ensure that all 0x2061 characters are in
      `mo` rather than `mi`.
    + Use upright style for uppercase Greek by default (#255).
    + Fix invalid `displaystyle` attribute. The attribute goes on
      enclosing mstyle, not directly on `mfrac`.

  * TeX reader:

    + Parse primes as superscripts (#254). This seems to be
      how TeX behaves under the hood: `f'` is equivalent to `f^{\prime}`.
    + Avoid implicit pairing of delimiters (reverts #172).
    + Use `EIdentifier` instead of `ESymbol Alpha` for `\ell`, etc (#256).
    + Use Pun for primes in TeX reader, revise type of `toPrimes`.
      This will ensure that `mo` is used for primes in MathML.

  * test-texmath: allow `mathml` in addition to `mml` to specify mathml.

  * Add `binpath` Makefile target.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/textproc/hs-texmath/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/textproc/hs-texmath/buildlink3.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/hs-texmath/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/hs-texmath/Makefile
diff -u pkgsrc/textproc/hs-texmath/Makefile:1.40 pkgsrc/textproc/hs-texmath/Makefile:1.41
--- pkgsrc/textproc/hs-texmath/Makefile:1.40    Wed Mar  5 03:40:04 2025
+++ pkgsrc/textproc/hs-texmath/Makefile Sat Jul 19 20:47:04 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2025/03/05 03:40:04 pho Exp $
+# $NetBSD: Makefile,v 1.41 2025/07/19 20:47:04 wiz Exp $
 
-DISTNAME=      texmath-0.12.8.13
-PKGREVISION=   2
+DISTNAME=      texmath-0.12.10.3
 CATEGORIES=    textproc
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost

Index: pkgsrc/textproc/hs-texmath/buildlink3.mk
diff -u pkgsrc/textproc/hs-texmath/buildlink3.mk:1.38 pkgsrc/textproc/hs-texmath/buildlink3.mk:1.39
--- pkgsrc/textproc/hs-texmath/buildlink3.mk:1.38       Wed Mar  5 03:40:04 2025
+++ pkgsrc/textproc/hs-texmath/buildlink3.mk    Sat Jul 19 20:47:04 2025
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.38 2025/03/05 03:40:04 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.39 2025/07/19 20:47:04 wiz Exp $
 
 BUILDLINK_TREE+=       hs-texmath
 
 .if !defined(HS_TEXMATH_BUILDLINK3_MK)
 HS_TEXMATH_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-texmath+=     hs-texmath>=0.12.8
-BUILDLINK_ABI_DEPENDS.hs-texmath+=     hs-texmath>=0.12.8.13nb2
+BUILDLINK_API_DEPENDS.hs-texmath+=     hs-texmath>=0.12.10
+BUILDLINK_ABI_DEPENDS.hs-texmath+=     hs-texmath>=0.12.10.3
 BUILDLINK_PKGSRCDIR.hs-texmath?=       ../../textproc/hs-texmath
 
 .include "../../textproc/hs-pandoc-types/buildlink3.mk"

Index: pkgsrc/textproc/hs-texmath/distinfo
diff -u pkgsrc/textproc/hs-texmath/distinfo:1.12 pkgsrc/textproc/hs-texmath/distinfo:1.13
--- pkgsrc/textproc/hs-texmath/distinfo:1.12    Thu Jan 30 12:57:51 2025
+++ pkgsrc/textproc/hs-texmath/distinfo Sat Jul 19 20:47:04 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2025/01/30 12:57:51 pho Exp $
+$NetBSD: distinfo,v 1.13 2025/07/19 20:47:04 wiz Exp $
 
-BLAKE2s (texmath-0.12.8.13.tar.gz) = bb86aa5e0ce4e5f5be9373ec6583d86067f2fe9812b7c5a70e8227ac04fdc311
-SHA512 (texmath-0.12.8.13.tar.gz) = 7e15d5219551f0b5f7acf1d8a8d9e7ed1e574f74a4b6234d9d48a9d2ed48508d238889166bb3123d21114793257b7410b2baa3b5220412c6527a589fc95f15d3
-Size (texmath-0.12.8.13.tar.gz) = 1485279 bytes
+BLAKE2s (texmath-0.12.10.3.tar.gz) = e8e7ff644180f9bc07d84678fda559c3113b049d77bc6d38d2cc911dad342f98
+SHA512 (texmath-0.12.10.3.tar.gz) = 47dd1a2d0e0aba5efd388e5b1b472a638def9e71fc9e72db3b83b75f98097325a5cbaa62eaa036087697d39075c586c0b1a8465655e907de2733df9945d2eb2c
+Size (texmath-0.12.10.3.tar.gz) = 1488381 bytes



Home | Main Index | Thread Index | Old Index