HaTeX: The Haskell LaTeX library.

[ bsd3, latex, library ] [ Propose Tags ]

The LaTeX project site states: "LaTeX is a high-quality typesetting system". This library provides a bridge between that system and Haskell (i.e. it is a LaTeX DSL).

Write LaTeX documents with all the advantages you already have in Haskell (recursion, type system, high order functions, ...), create a LaTeX backend for your own program, make analysis of LaTeX code through its Abstract Syntax Tree (AST), find another way to pretty-printing values, ...

See the examples directory in the source distribution to look some simple examples. It would be good to get you started. HaTeX User's Guide is available at https://github.com/Daniel-Diaz/HaTeX-Guide.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 3.0.0, 3.1.0, 3.2, 3.2.0.1, 3.3, 3.4, 3.5, 3.6, 3.6.0.1, 3.6.1.0, 3.7.0.0, 3.8.0.0, 3.9.0.0, 3.9.1.0, 3.10.0.0, 3.11.0.0, 3.11.0.1, 3.12.0.0, 3.13.0.0, 3.13.0.1, 3.13.1.0, 3.14.0.0, 3.15.0.0, 3.16.0.0, 3.16.1.0, 3.16.1.1, 3.16.2.0, 3.17.0.0, 3.17.0.1, 3.17.0.2, 3.17.1.0, 3.17.2.0, 3.17.3.0, 3.17.3.1, 3.18.0.0, 3.19.0.0, 3.20.0.0, 3.20.0.1, 3.21.0.0, 3.22.0.0, 3.22.1.0, 3.22.2.0, 3.22.3.0, 3.22.3.1, 3.22.3.2, 3.22.4.0, 3.22.4.1
Dependencies attoparsec, base (>=4 && <5), bytestring, containers, matrix, text, transformers (>=0.2.2 && <0.4) [details]
License BSD-3-Clause
Author Daniel Díaz
Maintainer Daniel Díaz (dhelta `dot` diaz `at` gmail `dot` com)
Category Text
Bug tracker https://github.com/Daniel-Diaz/HaTeX/issues
Source repo head: git clone git://github.com/Daniel-Diaz/HaTeX.git
Uploaded by DanielDiaz at 2013-06-25T17:17:02Z
Distributions LTSHaskell:3.22.4.1, NixOS:3.22.4.1, Stackage:3.22.4.1
Reverse Dependencies 15 direct, 9 indirect [details]
Downloads 46661 total (158 in the last 30 days)
Rating 2.25 (votes: 4) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for HaTeX-3.6

[back to package description]

HaTeX ReadMe

HaTeX is the LaTeX syntax implementation done in Haskell.

Check a list of examples of usage in the examples directory. A good starting point may be simple.hs. Run the script using the main function.

Installation notes

To install HaTeX, use cabal-install.

$ cabal install HaTeX

HaTeX User's Guide

The HaTeX User's Guide lives here... and is also done in Haskell!

Contributing

To contribute to HaTeX, please, visit our code repository in GitHub:

https://github.com/Daniel-Diaz/HaTeX

TODO list

  • Add more examples.
  • More testing on the parser.
  • Add more documentation.
  • A more complete AMSMath module.
  • Implement more packages (geometry, array, ...).
  • BibTeX support.
  • TeX-my-math: Experimental library to ease the production of mathematical expressions using HaTeX.