Brew Mactex
Installing MacTeX 2019, Homebrew, and HarfBuzz; Compiling libraries; Install MacTeX 2019, Homebrew, and HarfBuzz. Compile libraries. The route via SwigLib requires the compilation of libraries (i.e.so files on Mac OS X or.dll files on MS Windows). In what follows, two approaches are described to. As of February 2020, the installation with brew has some issues with scipy and cairo packages in Apple Silicon mode. This can be solved by installing brew in the rosetta2 mode. Brew install -cask mactex Warning. Note that MacTeX will require at least 4.5GB of hard disk space. Homebrew complements macOS (or your Linux system). Install your RubyGems with gem and their dependencies with brew. “To install, drag this icon” no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software.
How to print this book?
Let’s say you don’t want to navigate or interact with the examples and you just want a good old fashion text book which you can read on the beach or on your commute to the city. In that case you can print this book.
Installing glslViewer
For printing this book you need first to parse it. For that you will need glslViewer
a console shader tool that will compile and transform the shader examples into images.
In MacOSX get sure to have homebrew installed and then on your terminal do:
On Raspberry Pi you need to get Raspbian, a Debian-based Linux distribution made for Raspberry Pi and then do:
Brew Mactex Path
Installing Python 3, Latex Engine and Pandoc
For parsing the Markdown chapters into Latex and then into a PDF file we will use Xetex Latex Engine and Pandoc.
In MacOSX:
Download and Install MacTeX by:
and then install Pandoc and Python 3 by:
On Raspberry Pi (Raspbian):
Compile the book into a pdf and print it
Now that you have all you need, it is time to clone the repository of this book and compile the book.
For that open your terminal once again and type:
Brew Mactex
If everything goes well, you will see a book.pdf
file which you can read on your favorite device or print.
Compile the book into an epub for use with an e-reader
Brew Mactex-no-gui
The generated book.epub
can be used directly, or converted to a .mobi
file for use with Kindle by using a converter, for example Calibre.
Brew Mactex Install
Install Homebrew
Paste that in a macOS Terminal or Linux shell prompt.
The script explains what it will do and then pauses before it does it. Read about other installation options.
What Does Homebrew Do?
Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
Homebrew installs packages to their own directory and then symlinks their files into
/usr/local
.Homebrew won’t install files outside its prefix and you can place a Homebrew installation wherever you like.
It’s all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates.
Homebrew complements macOS (or your Linux system). Install your RubyGems with
gem
and their dependencies withbrew
.“To install, drag this icon…” no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software.
Donate to Homebrew
Homebrew Blog
Analytics Data
Homebrew was created by Max Howell. Website by Rémi Prévost, Mike McQuaid and Danielle Lalonde.