News for hackers. Stuff that matters.
Re:Ask HN: Making extra income with books by ivan_ah on Tuesday December 31, 2013 @01:59PM (#6992178)
Hi Michael, I didn't know you were on HN! For those who don't know, "Nielsen and Chuang" is the bible of the field of quantum information science.

The eqref-expanded-in-margin is a very cool idea. It could probably make sense for referencable environments like theorems and lemmas.

Do you have any recommendation for the .tex --> .html conversion?

Re:Ask HN: Making extra income with books by biscarch on Tuesday December 31, 2013 @03:56PM (#6992791)
You may want to check out pandoc[1]. It's what I'm using for conversions for a book I'm writing.

[1] http://johnmacfarlane.net/pandoc/

Re:Ask HN: Making extra income with books by michael_nielsen on Tuesday December 31, 2013 @05:26PM (#6993182)
For tex -> html I use Mathjax to do the hard work, and a hand-rolled script to do the rest. I'm starting to experiment with d3 and AngularJS for features beyond what LaTeX alone can offer.