The HaTeX package

[Tags: bsd3, library]

This library implements the LaTeX syntax and provides some useful abstractions.

Some of the things you can do with HaTeX are:

Browse the examples directory in the source distribution to see some simple examples. It might help you to get started. The HaTeX User's Guide is available at https://github.com/Daniel-Diaz/hatex-guide/blob/master/README.md. We also have a mailing list (http://projects.haskell.org/cgi-bin/mailman/listinfo/hatex) and an IRC channel (#hatex). If you just want to read a short introduction, read the Text.LaTeX module.

If you prefer to write in LaTeX and all you want is to program some parts of the document, or if you already have the LaTeX document written and you just want to add some automatically generated LaTeX code somewhere, check haskintex: http://daniel-diaz.github.io/projects/haskintex. It allows you to embed Haskell in LaTeX. It also makes you easy to use HaTeX within a LaTeX document.


[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 logCHANGELOG.md
Dependenciesbase (==4.*), bytestring (>=0.9.2.1 && <0.11), containers (>=0.4.2.1 && <0.6), matrix, parsec (>=3.1), QuickCheck, text (>=0.11.2.3 && <2), transformers (>=0.2.2 && <0.5), wl-pprint-extras (>=3.5) [details]
LicenseBSD3
AuthorDaniel Díaz
MaintainerDaniel Díaz (dhelta `dot` diaz `at` gmail `dot` com)
CategoryLaTeX
Home pagehttp://wrongurl.net/haskell/HaTeX
Bug trackerhttps://github.com/Daniel-Diaz/HaTeX/issues
Source repositoryhead: git clone git://github.com/Daniel-Diaz/HaTeX.git
UploadedSun Mar 29 07:26:46 UTC 2015 by DanielDiaz
DistributionsLTSHaskell:3.16.1.1, NixOS:3.16.1.1, Stackage:3.16.1.1
Downloads7566 total (479 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-03-29 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for HaTeX-3.16.1.1

The HaTeX library

HaTeX is a Haskell library that implements the LaTeX syntax, plus some abstractions over it.

Check a list of usage examples in the Examples directory of the repository in GitHub. A good starting point may be simple.hs. Run any example script executing the main function.

Installation notes

To install HaTeX, use cabal-install.

$ cabal update
$ cabal install HaTeX

This will download and 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. In the other hand, this package follows the Package Versioning Policy, so it is unlikely to suffer from API breakages if you follow it too when importing the library (assuming you are using the version in Hackage).

See the Hackage page of HaTeX to browse older versions.

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.

Please note that the user's guide needs to be updated (contributions are more than welcome!).

Community and Contributions

There are many ways to get involved in the HaTeX project. Use the most comfortable way for you.

TODO list

Related projects

Travis automatic build

Every time code changes in the GitHub repository, an automatic build checks that the library compiles with several versions of GHC (7.4, 7.6, and 7.8) and that all tests pass. This label indicates the result of the last automatic build.

Build Status

Currently, automatic builds are only running under Linux. We hope Travis will support other systems in the future.