News for hackers. Stuff that matters.
Re:Pollen: the book is a program by Tomte on Friday May 30, 2014 @04:04PM (#7823703)
How do you think about MathJax vs. pre-rendering formulae to images and using those, with the TeX input as the alt attribute? Oh, and using STIX or whatever as web font.
Re:Pollen: the book is a program by soegaard on Friday May 30, 2014 @06:22PM (#7824424)
There is already a couple of packages for Racket that prerenders formulas in TeX into various graphic formats (they call LaTeX to the rendering). It is straightforward to use these from Pollen.
Re:Pollen: the book is a program by Tomte on Friday May 30, 2014 @06:34PM (#7824477)
I know that it's straightforward, I'd like to hear about pros and cons I haven't found myself.
Re:Pollen: the book is a program by soegaard on Friday May 30, 2014 @06:55PM (#7824532)
If you want an html-page that works offline, then MathJax is rather large. In that case it makes sense to generate pdfs or svgs containing the formulas. Otherwise using MathJax from a CDN is quite convenient. On mobile rendering a page with many formulas via MathJax is somewhat slow though.