/sicp

HTML5/EPUB3 version of SICP

Primary LanguageHTMLOtherNOASSERTION

SICP

Par smiling

This is a new HTML5 and EPUB3 version of "Structure and Interpretation of Computer Programs" by Abelson, Sussman, and Sussman. It comes from the lineage of Unofficial Texinfo Format that was converted from the original HTML version at The MIT Press.

In EPUB3 format: sicp.epub

For online reading: HTML book

Modern solutions such as scalable vector graphics, mathematical markup with MathML and MathJax, embedded web fonts, and syntax highlighting are used. Rudimentary scaffolding for responsive design is in place, which adapts the page for viewing on pocket devices and tablets. More tests on small screens are needed to adjust the font size and formatting, so I encourage feedback from smartphone and tablet owners.

Source

The root directory contains the Texinfo source in sicp-pocket.texi. To recreate the HTML files and build EPUB, enter:

$ make

All the files in html directory, but not in subdirectories, will be overwritten, so the preferred place to make changes is sicp-pocket.texi. The EPUB file will be created in the parent directory, outside of the project tree.

You will need Texinfo 5.1, Perl 5.12 or later, Ruby 1.9.3 or newer, Nokogiri gem, PhantomJS, and Internet connection to compile the book.

Acknowledgements

  • Lytha Ayth
  • Neil Van Dyke
  • Gavrie Philipson
  • Li Xuanji
  • J. E. Johnson
  • Matt Iversen
  • Eugene Sharygin

License

The source file sicp-pocket.texi, HTML content of the book, and diagrams in directory html/fig are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License (cc by-nc-sa).

Most of the scripts are licensed under GNU General Public License version 3 (for details, see LICENSE.src).

Fonts are under SIL Open Font License version 1.1. Other files, like Javascript libraries, have their own licenses.

Sister project

A PDF version built from LaTeX source accompanies this HTML version.