./textproc/hs-texmath, Conversion between formats used to represent mathematics

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.12.8.13nb1, Package name: hs-texmath-0.12.8.13nb1, Maintainer: szptvlfn

The texmath library provides functions to read and write TeX math,
presentation MathML, and OMML (Office Math Markup Language, used in
Microsoft Office). Support is also included for converting math formats to
pandoc's native format (allowing conversion, via pandoc, to a variety of
different markup formats). The TeX reader supports basic LaTeX and AMS
extensions, and it can parse and apply LaTeX macros.
(See http://johnmacfarlane.net/texmath for a live demo of
bidirectional conversion between LaTeX and MathML.)

The package also includes several utility modules which may be useful for
anyone looking to manipulate either TeX math or MathML. For example, a copy
of the MathML operator dictionary is included.


Required to run:
[devel/hs-syb] [devel/hs-split] [textproc/hs-xml] [converters/hs-aeson] [textproc/hs-pandoc-types] [net/hs-network-uri] [devel/hs-pretty-show] [lang/ghc94]

Master sites:

Filesize: 1450.468 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-30 13:57:51 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
textproc/hs-texmath: update to texmath-0.12.8.13

texmath (0.12.8.13)

  * Remove special override for `\perp` in Text.TeXMath.Readers.TeX.Commands
    (#247). This caused `\perp` to be read as U+22A5 instead of U+27C2.  This
    addresses the mismatch with the TeX writer (which associates `\bot` with
    U+22A5 and `\perp` with U+27C2).

  * Typst writer:

    + Fix several issues with accents and attachments (#245).
    + Fix handling of some EOver with combining accents (#245).
    + Escape backslash in text context (#245).

texmath (0.12.8.12)

  * TeX writer: render prime and superscripted prime as `'` (#246).

  * TeX reader:

    + Don't crash on array with `\hline` before blank cell (#244).
    + Skip whitespace in array column specifier (#244).

  * OMML writer:

    + Fix order of dPr attributes (#243).

  * Typst writer:

    + Escape commas (#242). Otherwise we can get bad results e.g. in fractions,
      when the commas separate arguments.

  * Require typst-symbols 0.1.7, update tests.

texmath (0.12.8.11)

  * TeX reader: Ignore `@{..}` and `!{..}` in array alignment specifiers (#241).

  * TeX reader: ignore `\color` instead of crashing (#225).

texmath (0.12.8.10)

  * TeX reader: allow `\lVert .. \vVert` to create an EDelimited (#238).

  * Typst writer: improved handling of primes (#239).
    Use `'` instead of e.g. `prime`. Don't put a space before primes.

  * Typst writer: improve rendering of EDelimited (#238).

  * Typst writer: use `mid()` for middle delimiters (#238).

texmath (0.12.8.9)

  * Parse TeX `\mathbf` as both bold and upright (#236).
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-03 11:55:29 by Masatake Daimon | Files touched by this commit (5)
Log message:
textproc/hs-texmath: Update to 0.12.8.8

texmath (0.12.8.8)

  * TeX reader: support unicode-math Greek symbols, e.g. `\Alpha` (#235).
    This includes symbols like `\Alpha` and `\omicron` that weren't
    defined in original TeX.

  * Use typst-symbols 0.1.6

texmath (0.12.8.7)

  * TeX reader: convert Bin symbols to Ord when appropriate (#234).
    E.g. in '-3', we should have an Ord rather than a Bin, so
    the spacing will be appropriate.

  * Pandoc writer: fix spacing inside EDelimited (#234).
    Previously spaces around binary operators were omitted when
    they occurred inside parens or brackets.

  * test-texmath: allow pandoc output.

texmath (0.12.8.6)

  * Typst writer: avoid redundant `lr`s (#233).

texmath (0.12.8.5)

  * Typst writer: use ASCII symbols when possible instead of symbols (#232).
    E.g., `+` instead of `plus`. Add `\` to characters needing escape.
    Enhance list of characters that need escaping.

  * Typst writer: fixed EBoxed output so it includes a border.

  * Handle `\ddot` better in conversion to typst (#231).

  * Use typst-symbols 0.1.5
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-11-01 16:37:07 by Masatake Daimon | Files touched by this commit (3)
Log message:
textproc/hs-texmath: Forgot to commit options.mk
   2023-10-31 13:44:49 by Jonathan Perkin | Files touched by this commit (1)
Log message:
hs-texmath: Unbreak tree.
   2023-10-31 05:52:24 by Masatake Daimon | Files touched by this commit (4)
Log message:
textproc/hs-texmath: Update to 0.12.8.4

texmath (0.12.8.4)
  * TeX reader: ignore `\allowbreak` (#230).
  * TeX reader: handle `*{5}{lr}` in array column specifier (#229).
  * OMML reader: allow `m:e` to be missing in `m:nary` (#228).
    Technically this is not allowed, according to the spec, but
    Word and LibreOffice seem to tolerate it.

texmath (0.12.8.3)
  * OMML writer: use "on" and "off" instead of "1" \ 
and "0" for
    m:CT_OnOff type.  It is said that "1" and "0" work in Word
    but not Powerpoint.

texmath (0.12.8.2)
  * Typst writer: use binom instead of a fraction (jgm/pandoc#9063).

texmath (0.12.8.1)
  * Typst writer: several fixes (#223, Lleu Yang).
    + Escape quotes (") in inQuotes
    + Accent `\8407` corresponds to `arrow()`
    + Write `#none`'s for matrices with blanks at the beginning of a row

texmath (0.12.8)
  * Expose Text.TeXMath.Shared [API change]
  * Typst writer: Fix bug where 's' turned into 'space' (#219).
  * Typst writer: Fix handling of overline (#214).
  * Typst writer: Fix underbrace (#217).
  * Typst writer: Improve some accents (#216).
  * TeX writer: don't include \ on last line of matrix.
  * TeX writer: Remove escaping of spaces inside \text{}.
    It isn't needed, and it causes problems in MathJax rendering.
  * TeX reader: allow empty matrices.
  * MathML writer: Fix rendering of vectors (#218).
  * Depend on external typst-symbols package.

texmath (0.12.7.1)
 * Typst writer:
   + Improve under/overbrace/bracket/line.
   + Fix bugs with super/subscript grouping (#212).
   + Fix case where super/subscript is on an empty element,
     by inserting a zws.

texmath (0.12.7)
  * Add typst writer. New module: Text.TeXMath.Writers.Typst.
  * TeX reader: Support multilined environment. Closes #210.