Colophon
This book is available in one of three ways:
- Web: https://www.barge.org/rulebook/
- PDF: https://www.barge.org/rulebook.pdf
- Source: https://github.com/ts4z/barge-rulebook
This document is written in Markdown, with a tool called mdbook that makes it pretty easy to navigate. mdbook produces a pretty good printed copy.
A GitHub workflow is used to build the rulebook into this version hosted in GitHub pages (at the web link above), and another one publishes it to barge.org.
The "dead tree PDF edition" of the rulebook, intended for paper and to be used at a poker table, is produced via a perl script that extracts the file list from the mdbook configuration, uses CommonMark (a Markdown library) to produce LaTeX, then doctors that up with a perl script. All of the pieces are either common free software or included with the other pieces above.