Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/openframeworks/ofBook int…
Browse files Browse the repository at this point in the history
…o pdf-generation-fix
  • Loading branch information
mikewesthad committed May 16, 2015
2 parents 257b58f + 2314fe3 commit afae183
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@ Scripts for building the web and pdf versions of the book are in `scripts/` dire

## Windows Installation of Dependencies
1. Download and install [Python 2.7+](https://www.python.org/)
2. Download and install [beauitful soup 4](http://www.crummy.com/software/BeautifulSoup/) (bs4)
- Method 1:
1. Get the python package manager, [pip](https://pip.pypa.io/en/latest/installing.html). This involves downloading `get-pip.py` and running it from command line.
2. Run `pip install beautifulsoup4` from the command line to install BeautifulSoup
- Alternate [installation methods](http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup) for bs4
2. Get the necessary python libraries using the python package manager ([pip](https://pip.pypa.io/en/latest/installing.html)).
- 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](http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path)).
- Download and install [beauitful soup 4](http://www.crummy.com/software/BeautifulSoup/) (bs4). Run `pip install beautifulsoup4` from the command line to install BeautifulSoup.
- Download and install [libsass](https://github.com/dahlia/libsass-python): `pip install libsass`
3. Download and install pandoc using the latest windows installer (.msi) from [here](https://github.com/jgm/pandoc/releases)
4. Download and install MiKTeX using the windows installer from [here](http://miktex.org/download)
- 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.
5. Download and install [libsass](https://github.com/dahlia/libsass-python)
- Using pip: `pip install libsass`

## Debian (Linux)
1. install packages: ```sudo apt-get install python-pip python2.7-dev git pandoc ruby-sass texlive```
Expand Down

0 comments on commit afae183

Please sign in to comment.