Working on a new Haskell library
Posté par alpheccar le29 Aoû 2007 à 22:53 CEST
This blog is very quiet but there is a good reason for it : I am writing a totally new version of my Haskell PDF library. New API and new implementation with lots of new features.
- Support for several pages
- Transitions between pages
- Annotations
- JPEG inclusion
- Table of content (PDF outline)
- Links
etc ...
The previous features are already implemented. I now need to add support for PNG; improve the text handling; add the possibility to include movies; add more shape operators and clean a bit the API.
The library is pure Haskell without any line of C (even for parsing the JPEG files).
When it is done, I'll put the release on hackage and detail everything here with the lessons learnt ...
After HPDF 1.0, I intend to add other features like the possibility to include TeX equations generated by pdftex (or pdflatex) and javascript in the PDF.


Posté par alpheccar le30 Aoû 2007 à19:44 CEST
Thanks for the info. But coming too late :-) I have now implemented too many things for this lisp implementation to be useful.
Do You know CL-PDF?
Posté par km le30 Aoû 2007 à18:57 CEST
Do you know this lisp implementation with similar goals?
http://www.fractalconcept.com/asp/cl-pdf
and
http://www.fractalconcept.com/asp/cl-typesetting
Both a really nice, the code is good readable, and some parts i think, can (automaticly?) converted to haskell.
Posté par evan le30 Aoû 2007 à06:19 CEST
Cool. Even just for the JPEG parsing, I'm interested in seeing how that is done. As a LaTex guy, I also appreciate the last bit.