macOS
brew install texmathlocal Homebrew formula metadata
brew
Haskell library for converting LaTeX math to MathML. Version 0.13.1.2 via Homebrew; verified 2026-06-02.
install
brew install texmathlocal Homebrew formula metadata
sudo zypper install ghc-texmathopenSUSE Tumbleweed package metadata · ghc-texmath · source: download.opensuse.org
overview
Haskell library for converting LaTeX math to MathML
history
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.
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.
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.
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.
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
texmath | cli | global executable |
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.
https://johnmacfarlane.net/texmath.html
install metadata
| Package key | brew:texmath |
|---|---|
| Version | 0.13.1.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/texmath |
| Homepage | https://johnmacfarlane.net/texmath.html |
| Repository | https://github.com/jgm/texmath |
| Upstream docs | https://github.com/jgm/texmath#readme |
| License | GPL-2.0-or-later |
| Source archive | https://hackage.haskell.org/package/texmath-0.13.1.2/texmath-0.13.1.2.tar.gz |
| Last updated | 2026-06-02T09:43:35Z |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | texmath |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ghc-texmath 0.13.0.2-1.7
Haskell texmath library
https://hackage.haskell.org/package/texmath
sudo zypper install ghc-texmathghc-texmath-devel 0.13.0.2-1.7
Haskell texmath library development files
https://hackage.haskell.org/package/texmath
sudo zypper install ghc-texmath-develghc-texmath-doc 0.13.0.2-1.7
Haskell texmath library documentation
https://hackage.haskell.org/package/texmath
sudo zypper install ghc-texmath-docghc-texmath-prof 0.13.0.2-1.7
Haskell texmath profiling library
https://hackage.haskell.org/package/texmath
sudo zypper install ghc-texmath-proftexmath 0.13.0.2-1.7
Conversion between math formats
https://hackage.haskell.org/package/texmath
sudo zypper install texmathsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.