This repository contains a basic toolchain used to publish book using AsciiDoc. It compiles the book down to:
This toolchain has been created and is used in the first place to publish The Hacker's Guide to Python.
If you run on a Fedora system, just run the
deps target of the makefile as root to install them like in :
The book content should be written in the
book.txt source file. Once you've
made some change you can recompile all the output formats by typing
selecting each one you want by typing
make book.<format>: such as:
Makefile generates two different PDF format. The first one named
book.pdf is for the electronic version of the book, and embed the cover
image. The second one, named
book.printable.pdf is intended to be printed on
paper, so it does not include the cover and have slightly different dimensions.