HeX: TeX in Haskell
HeX is a reimplementation of TeX in Haskell.
It is currently pre-pre-alpha: it doesn't do much.
The plan is to first write a faithful reimplementation of TeX and then, make it better.
What needs to be better?
Here are my ideas:
- Better error messages.
- Better package management.
- Document at-once-typesetting (instead of page-per-page).
- Single pass implementation of cross-references.
- Better handling of floats.
- Better handling of images.
- Better scripting.
- In-built (or script written) facilities for things like references (instead of relying on external programmes).
- Use of multi-core machines.
- More output formats (ePub, HTML, ...?)
Some of these are traditionally built on top of TeX instead of modifying it. While that is a good way to do some things, it also means that the results are not as good as they should be. There is no reason to not have the handling of floats at the TeX level, for example.
What needs to stay the same?
Good quality output.
What can change?
The console output. Coming from a Unix background, I find TeX unbearably verbose. If no errors are found, it should output nothing. Also, there might be no functionality for interactive use when an error occurs.
Files that trigger an error in TeX will not necessarily work the same way in hex.
Author: Luis Pedro Coelho <email@example.com>
License: GPLv3 or later