[Haskell-cafe] Haddock - How to write formulas ?

Carter Schonwald carter.schonwald at gmail.com
Wed Jan 8 23:04:12 UTC 2014

i've had a positive experience with mathjax even on a mobile device / smart
phone. and being able to copy paste math is a HUGE thing for me.

On Wed, Jan 8, 2014 at 5:28 PM, Michael Orlitzky <michael at orlitzky.com>wrote:

> On 01/08/2014 12:23 PM, Ben Foppa wrote:
> > I tend to opt for writing plaintext LaTeX, and if the reader wants it to
> > be pretty, they can use TeX the World (although it looks like this is
> > now unmaintained and only viable in chrome).
> The Sage project[1] has to solve a similar problem with its python
> reference documentation for various mathy things. These days MathJax is
> used, but in my opinion the previous solution was better. While the HTML
> documentation was being generated from RST, various magics were employed
> to convert the embedded formulas to PNGs which were then inserted
> directly into the markup. Haddock could probably be convinced to do the
> same.
> The downside to images is that they don't scale, but they do have the
> alt attribute as a plain-text fallback. The problem with MathJax is that
> it takes forever to load and slows the browser to a crawl -- especially
> annoying when you know what you're looking for and can't scroll to it
> because the document keeps jumping around as formulas load for 30
> seconds. Images load instantly and look good enough.
> [1] http://sagemath.org/
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140108/e0e6d7aa/attachment.html>

More information about the Haskell-Cafe mailing list