[HaTeX] ANNOUNCE: haskintex-0.5.0.0. Evaluating Haskell inside LaTeX.

Daniel Díaz Casanueva dhelta.diaz at gmail.com
Tue Apr 29 14:33:07 BST 2014


Dear cafe readers.

I have released today a new version (0.5.0.0) of the haskintex program,
which is written in Haskell, for Haskell people, and by Daniel Díaz (that's
me!).

Haskintex is a program that processes files which contains LaTeX and
(maybe!) some Haskell expressions on it. Exactly as you are expecting, it
will evaluate those expressions and replace them by their results. Neat,
but there is more. If the Haskell expression is of type LaTeX (yes, there
is a type for that, look in [1]), then it will be replaced by the LaTeX
expression that value represents. This allows magic tricks like plotting a
Haskell function in a LaTeX file in just a few seconds! (see [2]).

So, what is new in this version? Haskintex can now memorize results of
evaluations, to avoid repeating computations. The values are shared in
different runs of the program, so you can save lot of time. This feature
was proposed by a kind haskintex user in the #hatex IRC channel under the
alias of colmcbeardman (I hope I have spelled it correctly).

Find more about haskintex in:

http://daniel-diaz.github.io/projects/haskintex

Happy hacking,
Daniel Díaz.

-- References

[1]
http://hackage.haskell.org/package/HaTeX-3.10.0.0/docs/Text-LaTeX-Base-Syntax.html#t:LaTeX

[2]
http://hackage.haskell.org/package/HaTeX-3.10.0.0/docs/Text-LaTeX-Packages-TikZ-Simple.html#v:pathImage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/hatex/attachments/20140429/3ad8fbd0/attachment.htm>


More information about the HaTeX mailing list