{"id":13398242,"url":"https://github.com/sarabander/sicp-pdf","last_synced_at":"2026-10-19T00:11:41.204Z","repository":{"id":43427977,"uuid":"1928655","full_name":"sarabander/sicp-pdf","owner":"sarabander","description":"SICP PDF with Texinfo and LaTeX source","archived":false,"fork":false,"pushed_at":"2024-06-27T03:43:02.000Z","size":37074,"stargazers_count":4352,"open_issues_count":20,"forks_count":550,"subscribers_count":180,"default_branch":"master","last_synced_at":"2025-10-28T20:28:19.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://sicpebook.wordpress.com/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sarabander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-06-21T11:04:13.000Z","updated_at":"2025-10-24T06:41:23.000Z","dependencies_parsed_at":"2024-10-25T17:31:53.807Z","dependency_job_id":"71333ec1-c563-4a5f-a6c4-52f02ce82965","html_url":"https://github.com/sarabander/sicp-pdf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sarabander/sicp-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarabander%2Fsicp-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarabander%2Fsicp-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarabander%2Fsicp-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarabander%2Fsicp-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarabander","download_url":"https://codeload.github.com/sarabander/sicp-pdf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarabander%2Fsicp-pdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38343428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:00:20.806Z","updated_at":"2026-10-19T00:11:40.561Z","avatar_url":"https://github.com/sarabander.png","language":"Perl","funding_links":[],"categories":["Perl","Learning and Reference"],"sub_categories":["Tutorials and Books"],"readme":"SICP\n====\n\n\u003cimg src=\"http://sicpebook.files.wordpress.com/2013/09/dreamsmile3.png\"\n alt=\"Par dreaming and smiling\" align=\"right\" /\u003e\n\n\u003cb\u003eDirect link: [sicp.pdf](https://github.com/sarabander/sicp-pdf/raw/master/sicp.pdf)\u003c/b\u003e\n\nThis is a PDF version of \"Structure and Interpretation of Computer Programs\" by Harold Abelson, Gerald Jay Sussman, and Julie Sussman. It is a further development of the [Unofficial Texinfo Format](http://www.neilvandyke.org/sicp-texi/) (UTF), which was originally derived from the [HTML version](http://mitpress.mit.edu/sicp/) at The MIT Press.\n\nBiggest change in this revision (2.andresraba5) is the conversion to LaTeX, which opens the door to design and customization possibilities that the massive CTAN archive enables. Also, the latest typesetting engine XeTeX can be used, along with the Unicode and OpenType goodness it brings.\n\n\nSource\n------\n\n*For macOS Users:* The Inconsolata LGC and Linux Libertine fonts are not included in MacTex. You need to install them separately. Download the Inconsolata LGC fonts [here](https://github.com/MihailJP/Inconsolata-LGC/downloads) and the Linux Libertine fonts [here](http://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineOTF_5.3.0_2012_07_02.tgz/download). To install the fonts system-wide, move all the downloaded `.otf` files into the `/Library/Fonts` folder. After completing these tasks, continue with the instructions below.\n\nThe `src` directory contains both Texinfo and LaTeX sources. To recompile the book, go there and enter:\n\n```bash\n$ make\n```\n\nThe file `preamble.tex` contains all the configuration and style declarations. Note that the LaTeX file `sicp.tex` will be generated on the fly, overwriting the previous version. To keep `sicp.texi` and `sicp.tex` in sync, I make changes to `sicp.texi,` which is already a hybrid of Texinfo and LaTeX code. This is fine, because all non-Texinfo content remains unchanged by the script.\n\nChances for successful compilation are increased if you have almost complete installation of recent TeX Live distribution (the pdf here is compiled with 2012 release). The needed OpenType fonts must be installed in the operating system. You also need Inkscape to recreate image PDFs from SVGs.\n\nIf compilation stops with \"LaTeX Error: Too many unprocessed floats.\", you could try to increase the width and height of text area in [preamble](https://github.com/sarabander/sicp-pdf/blob/master/src/preamble.tex#L70-L71). Newer TeX Live or updated fonts could result in different character metrics, so that some figures no longer fit. The problem is reported in issue [#5](https://github.com/sarabander/sicp-pdf/issues/5).\n\nTo clean up after the build:\n\n```bash\n$ make clean\n```\n\nThis deletes the temporary files written during sicp.pdf creation, including sicp.pdf itself. Move it up to root directory if you want to keep it.\n\nTo remove all the generated PDFs and auxiliary files in the whole `src` tree:\n\n```bash\n$ make clean-all\n```\n\nAcknowledgements\n----------------\n\n* Lytha Ayth\n* Neil Van Dyke\n* Gavrie Philipson\n* J. E. Johnson\n* Mingshen Sun\n* holomorph\n* Narumi Katoh\n* tfgit\n* Brian Wignall\n* dine2014\n\nLicense\n-------\n\nThe files `sicp.texi, sicp.pdf,` and diagrams in directory `src/fig` are licensed under Creative Commons Attribution-ShareAlike 4.0 International License ([cc by-sa](http://creativecommons.org/licenses/by-sa/4.0/)).\n          \nThe script files `ex-fig-ref.pl, survey.rb,` and `texi-to-latex.pl` are licensed under GNU General Public License version 3 (for details, see src/LICENSE).\n\nSister project\n--------------\n\nA new [HTML5 version](https://github.com/sarabander/sicp) is out, bringing the advantages of adjustable font size and reflowable text to mobile reading.\n\nTranslation\n-----------\n\nThere is a new [Japanese translation](https://github.com/minghai/sicp-pdf/) of the PDF by Narumi Katoh. Great to see new languages joining the collection!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarabander%2Fsicp-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarabander%2Fsicp-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarabander%2Fsicp-pdf/lists"}