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.
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.
Re:Ask HN: Making extra income with books
by thirdtruck on Tuesday December 31, 2013 @04:10PM
(#6992861)
Would you have any resources to recommend in regards to using LaTeX? I work with plain-text source as my default (Markdown, etc.), but haven't used LaTeX specifically.
Re:Ask HN: Making extra income with books
by michael_nielsen on Tuesday December 31, 2013 @05:41PM
(#6993252)
I use a pretty vanilla LaTeX setup - edit in emacs, display using Yap, and version control with Git and (sometimes) Github. I use the MikTeX distribution for Windows, but use few advanced features - for me, LaTeX is pretty good out of the box.
Re:Ask HN: Making extra income with books
by thirdtruck on Tuesday December 31, 2013 @08:12PM
(#6993696)
Thanks!
http://neuralnetworksanddeeplearning.com/chap1.html
It'll be free online once complete, but I raised money with an Indiegogo campaign (about 10k). I'm self-publishing, in part because I wanted full control over the book. This gives me the ability to experiment with in-text videos, and with other tricks. For instance, when a reader clicks on an equation reference in the text, the relevant equation appears in the margin, as a reminder. Clicking on the marginal equation will take you to the context in which the equation originally appeared. This cuts down on tedious back-and-forth.
My two earlier books were both published in the traditional way:
+ A book for general audiences about networked science, "Reinventing Discovery: the New Era of Networked Science": http://www.amazon.com/dp/0691160198 Published by Princeton University Press.
+ A textbook about quantum computing, jointly with Ike Chuang: http://www.amazon.com/Quantum-Computation-Information-Annive... Published by Cambridge University Press. No e-book at all when first published (2000)!
Both were written with LaTeX, and included many illustrations. "Reinventing Discovery" was actually rekeyed entirely by the publisher, but the textbook was produced from our LaTeX copy.