Giter Club home page Giter Club logo

texbrew's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.