Pub2 is a self-publishing framework. Documentation Status


Pub2 is a self-publishing framework. It integrates with Jekyll to provide LaTeX publishing.

macOS Quick Start

The following commands install pub2 and its dependencies (TeX Live and ImageMagick).

brew cask install mactex
brew install

To demonstrate pub2, the following commands initialize the current directory and build a sample. The results appear in the pub2 folder.

pub2 init
pub2 build
open pub2/*.pdf


pub2 can be installed using pip. This works well with virtualenv.

pip install pub2

See Installation to install on macOS, Windows, and Linux (Debian/Ubuntu or Redhat/CentOS).