GithubHelp home page GithubHelp logo

hujkuj / ofbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openframeworks/ofbook

0.0 2.0 0.0 77.5 MB

openFrameworks community book

C++ 41.39% Makefile 0.06% C 36.41% Objective-C 15.53% Python 3.09% HTML 0.58% TeX 0.90% JavaScript 0.29% CSS 1.75%

ofbook's Introduction

ofBook

this is a collaboratively written openFrameworks book.

please note that this is still work-in-progress

Building the Book

Dependencies

Scripts for building the web and pdf versions of the book are in scripts/ directory: createWebBook.py and 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/webBook directory. Opening up output/webBook/toc.html will open up the table of contents.
  • When building the pdf book, the pdf is created at output/ofBook.pdf. output/ofBook.tex is also created, for debugging purposes.

OS X

  1. install pip at the terminal sudo easy_install pip
  2. install beauitful soup 4 (bs4) pip install beautifulsoup4
  3. install pandoc
  4. install basictex & MacTeX-Additions
  5. install libsass sudo pip install libsass

Windows Installation of Dependencies

  1. Download and install Python 2.7+
  2. Get the necessary python libraries using the python package manager (pip).
  • Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default, so you may have pip already. It is typically stored in C:/PythonXX/Scripts. To access it from command line, you will need to add the location of your Scripts folder to your path variable (see this guide).
  • Download and install beauitful soup 4 (bs4). Run pip install beautifulsoup4 from the command line to install BeautifulSoup.
  • Download and install libsass: pip install libsass
  1. Download and install pandoc using the latest windows installer (.msi) from here
  2. 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.

Debian (Linux)

  1. install packages: sudo apt-get install python-pip python2.7-dev git pandoc ruby-sass texlive
  2. install beauitful soup 4 and libsass: pip install beauitfulsoup4 libsass

contribution workflow

Since git is at the heart of the management of this endeavour, please check the git best practices. If you do not agree with all of them, please at least stick to the "Do commit early and often" paradigm. This will make doing reviews, picking the good stuff from your contributions and polishing the rest a lot easier. Github itself also offers a lot of help on common issues. So sign up, fork the repo and send your pull requests along our way.

#Mailing List

openFrameworks Book discussion.

Older Book discussions can be checked at ofBook Archives

ofbook's People

Contributors

mikewesthad avatar ofzach avatar arturoc avatar jtnimoy avatar golanlevin avatar brannondorsey avatar bilderbuchi avatar ruxrux avatar omershapira avatar jgl avatar admsyn avatar phoenixperry avatar halfdanj avatar roymacdonald avatar elliotwoods avatar tegacodes avatar evsc avatar julapy avatar onna-no-hito avatar synesthete avatar bakercp avatar caitlinmorris avatar mattfelsen avatar kaylalewis avatar jasonalderman avatar memo avatar joshuajnoble avatar makio135 avatar evejweinberg avatar hamoid avatar

Watchers

James Cloos avatar Rodrigo Palacios avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.