this is a collaboratively written openFrameworks book.
please note that this is still work-in-progress
Building the Book
Scripts for building the web and pdf versions of the book are in
createPDFBook.py. You must run them from the
scripts/ directory, so either double-click the script or run it from command line.
- When building the web book, the website is stored in the
output/webBookdirectory. Opening up
output/webBook/toc.htmlwill open up the table of contents.
- When building the pdf book, the pdf is created at
output/ofBook.texis also created, for debugging purposes.
- install pip at the terminal
sudo easy_install pip
- install beauitful soup 4 (bs4)
pip install beautifulsoup4
- install pandoc
- install basictex & MacTeX-Additions
- install libsass
sudo pip install libsass
Windows Installation of Dependencies
- Download and install Python 2.7+
- Download and install beauitful soup 4 (bs4)
- Download and install pandoc using the latest windows installer (.msi) from here
- Download and install MiKTeX using the windows installer from here
- When installing, check the box for "Install Packages on the Fly." The pandoc -> PDF pipeline uses latex packages that don't all come standard with MiKTeX, so this will allow you to grab any missing packages when building the book for the first time.
- Download and install libsass
- Using pip:
pip install libsass
- Using pip:
- install packages:
sudo apt-get install python-pip python2.7-dev git pandoc ruby-sass texlive
- install beauitful soup 4 and libsass:
pip install beauitfulsoup4 libsass
Older Book discussions can be checked at Ofbook Archives