|
|
|
|
|
by mattpharr
2804 days ago
|
|
It's pretty much a big hack. The book was originally written in TeX, with lots of macros on top. We hacked together a custom translator (~3k loc, written in golang) that parses the TeX and generates the site. Then MathJax to render the equations, Bootstrap 4 for some navigation, and jeri.io for the interaction with images. |
|
I had some plans to present some other such written-in-TeX-literate-programs in HTML; could you perhaps share somewhere your "big hack" that you used here (the translator, the javascript)? Totally ok if you don't want to :) Thanks,