Automic VaultAutomic Vault

brew

Install texmath with Homebrew, zypper

Haskell library for converting LaTeX math to MathML. Version 0.13.1.2 via Homebrew; verified 2026-06-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install texmath

local Homebrew formula metadata

Linux

openSUSE zypperverified · 92%
sudo zypper install ghc-texmath

openSUSE Tumbleweed package metadata · ghc-texmath · source: download.opensuse.org

overview

Package summary

Haskell library for converting LaTeX math to MathML

Commands and aliases

  • texmath

history

Project history and usage

texmath is John MacFarlane's Haskell library, command-line program, and optional web server for converting mathematical formulas between TeX, MathML, OMML, eqn, Typst, StarMath, and pandoc's native representation.

Project history

The official README describes texmath as a library for converting between mathematical markup formats, with a TeX reader/writer, MathML and OMML support, and output to formats used by Unix, office, and document-conversion ecosystems. The README credits John MacFarlane with the original TeX reader, MathML writer, Eq writer, and OMML writer, with later contributions by Matthew Pickering, Jesse Rosenthal, and others.

Adoption history

texmath's adoption is linked to pandoc and document-conversion workflows. Its README explicitly includes pandoc's native format among supported targets, making the package useful anywhere LaTeX math must survive conversion to HTML, Office documents, Typst, or other markup formats.

How it is used

By default texmath installs as a Haskell library, while Cabal flags can build a texmath executable or a server. The demo page presents it as a library, command-line program, and web server for formula conversion, and the README documents JSON API server usage plus batch conversion endpoints.

Why package nerds care

Package maintainers care about texmath because math conversion is a hard edge in documentation pipelines. It is a small Haskell package, but it sits behind bigger workflows that need LaTeX math to round-trip into MathML for browsers, OMML for Office, Typst for newer typesetting, or pandoc JSON for document filters.

Timeline

  • 2009: GitHub repository history shows long-running public development.
  • 2022: README examples document the server mode and JSON API workflow.
  • 2025-2026: changelog entries show continuing maintenance for Typst, MathML, OMML, and TeX reader/writer behavior.

Related projects

  • pandoc is the major document-conversion ecosystem connected to texmath.
  • MathML, OMML, Typst, StarMath, and GNU eqn are target or source formats handled by texmath.
  • TeX and LaTeX are the central input/output syntax family for many texmath users.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
texmathcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.13.1.2
manager updated2026-06-02
local dataok
upstreamnot checked
latest detectednot detected

https://johnmacfarlane.net/texmath.html

install metadata

Package metadata

Package keybrew:texmath
Version0.13.1.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/texmath
Homepagehttps://johnmacfarlane.net/texmath.html
Repositoryhttps://github.com/jgm/texmath
Upstream docshttps://github.com/jgm/texmath#readme
LicenseGPL-2.0-or-later
Source archivehttps://hackage.haskell.org/package/texmath-0.13.1.2/texmath-0.13.1.2.tar.gz
Last updated2026-06-02T09:43:35Z
Pulseupdated
Dependenciesgmp
Build dependenciescabal-install, ghc
Uses from macOSlibffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametexmath
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

zypper95%

ghc-texmath 0.13.0.2-1.7

Haskell texmath library

https://hackage.haskell.org/package/texmath

sudo zypper install ghc-texmath
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: texmath
  • 32 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Texmath
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ghc-texmath from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ghc-texmath-devel 0.13.0.2-1.7

Haskell texmath library development files

https://hackage.haskell.org/package/texmath

sudo zypper install ghc-texmath-devel
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: texmath
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Texmath
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ghc-texmath-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ghc-texmath-doc 0.13.0.2-1.7

Haskell texmath library documentation

https://hackage.haskell.org/package/texmath

sudo zypper install ghc-texmath-doc
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: texmath
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Texmath
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ghc-texmath-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ghc-texmath-prof 0.13.0.2-1.7

Haskell texmath profiling library

https://hackage.haskell.org/package/texmath

sudo zypper install ghc-texmath-prof
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: texmath
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Texmath
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ghc-texmath-prof from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

texmath 0.13.0.2-1.7

Conversion between math formats

https://hackage.haskell.org/package/texmath

sudo zypper install texmath
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: texmath
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Texmath
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: texmath from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment