Skip to content
An attempt to make good-looking homebrew documents for various roleplaying systems using XeTeX for typesetting.
TeX Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dnd-5e Fix bounding box in backcover Sep 12, 2019
.gitignore
.gitlab-ci.yml Set up Gitlab CI. Feb 22, 2017
COPYING texbrew: initial commit. Feb 15, 2017
Makefile Set up Gitlab CI. Feb 22, 2017
README.md Set up Gitlab CI. Feb 22, 2017

README.md

TEXBREW

An attempt to make good-looking homebrew documents for various roleplaying systems (currently only D&D 5e), using XƎTEX for typesetting.

Unless otherwise specified, all documents are released under the WTFPLv2. See the COPYING file for more details.

Some of the assets are released under different licenses. See the CREDITS.tex files for more details.

Motivation

Why create something like this? Well, TEX was made to typeset documents with perfection. As such, it takes care of difficult things such as:

  • Correct page layout (left/right pages have different margins, chapters always open on a right page, etc.);
  • Handling page breaks properly (even with multi-column text);
  • Handling floating things (narrow or wide) and placing them appropriately;
  • Keeping track of things (table of contents, references, appendices, etc.);
  • Good pagination, marks, etc;
  • And many other things we don't even think about (like autoadjusting spaces to avoid widows and orphans).

Why use XƎTEX ? For one, it is modern (unicode support out of the box) and makes it easy to use custom OpenType fonts (with fontspec).

Demos

Usage

To compile the demo document:

cd dnd-5e
make skel.pdf
# Or: make draft-skel.pdf for a draft version (faster, no graphics)

To start your own document:

cd dnd-5e
cp skel.tex mybook.tex
$EDITOR mybook.tex
make mybook.pdf
# Or: make draft-mybook.pdf

Todo

  • art overlays (under tables, etc.)
  • fix XXXs
  • fix bugs
You can’t perform that action at this time.