These are the sources used to build the second edition of Eloquent JavaScript (http://eloquentjavascript.net).
Feedback welcome, in the form of issues and pull requests.
npm install --production
apt-get install asciidoc inkscape
make html
For OSX, you can use port or brew to install the asciidoc package.
To build the PDF file:
apt-get install texlive texlive-xetex texlive-fonts-extra
make book.pdf
To build the ePub book:
make book.epub