The HaTeX package

[Tags: bsd3, library]

The LaTeX project site states: "LaTeX is a high-quality typesetting system". This library provides a bridge between LaTeX 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), pretty-print Haskell values in LaTeX, generate TikZ scripts easily, ...

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]

Properties

Versions1.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
Change logNone available
Dependenciesattoparsec, base (==4.*), bytestring, containers, matrix, text, transformers (>=0.2.2 && <0.4) [details]
LicenseBSD3
AuthorDaniel Díaz
MaintainerDaniel Díaz (dhelta `dot` diaz `at` gmail `dot` com)
StabilityExperimental
CategoryText
Bug trackerhttps://github.com/Daniel-Diaz/HaTeX/issues
Source repositoryhead: git clone git://github.com/Daniel-Diaz/HaTeX.git
UploadedSat Jun 29 15:16:30 UTC 2013 by DanielDiaz
DistributionsLTSHaskell:3.16.1.1, NixOS:3.16.1.1, Stackage:3.16.1.1
Downloads7558 total (476 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for HaTeX-3.6.0.1

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 update $ cabal install HaTeX This will install the latest official release (recommended). If you want to try a newer version, use git to clone the code contained in this repository. $ git clone git@github.com:Daniel-Diaz/HaTeX.git $ cd HaTeX $ cabal install However, note that the API may be unstable and is subject to any kind of change. The package version follows the Package Versioning Policy, so it is unlikely to suffer from API breakages if you follow it too when importing the library.

HaTeX User's Guide

The HaTeX User's Guide lives here... and is also done in Haskell! It is free source and anybody can contribute to it. Doing so, you will help current and future users! A downloadable version (not necessarily the last version, but most likely) can be found here. To be sure that you are reading the last version, go to the github repository of the guide and follow instructions to build it. It is fairly easy.

Contributing

To contribute to HaTeX, please, visit our code repository in GitHub: https://github.com/Daniel-Diaz/HaTeX

TODO list

Packages to be implemented

Related projects