deobald / vipassana-for-hackers

A document version of my "Vipassana for Hackers" talk
Creative Commons Attribution Share Alike 4.0 International
590 stars 23 forks source link

Vipassana for Hackers

A document version of the talk "Vipassana for Hackers" by Steven Deobald (GitHub, Twitter).


TODO


Setup

Linux:

sudo apt install texlive-full
sudo apt install fonts-deva-extra
sudo apt install latexml
sudo apt install calibre
sudo apt install tidy
sudo apt install graphicsmagick graphicsmagick-dbg # optional

Mac:

brew install latexml
brew install caskroom/cask/calibre
brew install graphicsmagick # optional

Generate the Papers

Clone and make:

$ git clone https://github.com/deobald/vipassana-for-hackers
$ cd vipassana-for-hackers
$ make clean && make

PDF Generation

On a Mac, the easiest option is installing MacTeX. It's also possible to install only the required packages but that process has been abandoned for this project. Once you have MacTeX installed, clone the repo and run each paper's build script:

$ git clone https://github.com/deobald/vipassana-for-hackers
$ cd vipassana-for-hackers/paper-one
$ ./build-pdf.sh
$ cd vipassana-for-hackers/paper-two
$ ./build-pdf.sh

You will see many warnings but you shouldn't see any errors.


EPUB Generation

The epub version of the LaTeX was generated with the following procedure on macOS 10.10.5 and 10.13.4. Each script builds an epub for one paper at a time.

git clone https://github.com/deobald/vipassana-for-hackers
brew install latexml
brew install caskroom/cask/calibre
brew install graphicsmagick # optional
cd vipassana-for-hackers/paper-one
./build-epub.sh
cd vipassana-for-hackers/paper-two
./build-epub.sh # will produce an ignorable error: Unknown option `reprint'