• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language XSLT
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Book publishing toolchain based on AsciiDoc

AsciiDoc Book Toolchain

This repository contains a basic toolchain used to publish book using AsciiDoc. It compiles the book down to:

  • HTML
  • PDF
  • PDF (printable)
  • ePub
  • MOBI

This toolchain has been created and is used in the first place to publish The Hacker's Guide to Python.

Required software

If you run on a Fedora system, just run the deps target of the makefile as root to install them like in :

  • sudo make deps

Usage

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 make, or selecting each one you want by typing make book.<format>: such as:

  • make book.pdf
  • make book.epub
  • make book.mobi
  • make book.html
  • make book.printable.pdf

Difference between the normal and printable PDF

The 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.

More Repositories

1

tenacity

Retrying library for Python
Python
5,200
star
2

pifpaf

Python fixtures and daemon managing tools for functional testing
Python
193
star
3

google-maps.el

Google Maps support for Emacs
Emacs Lisp
48
star
4

fastcounter

Fast counters for Python
Python
42
star
5

google-contacts.el

Google Contacts for Emacs
Emacs Lisp
28
star
6

sysrqd

Linux SysRQ daemon
C
24
star
7

serious-python.com

Serious Python website
CSS
21
star
8

naquadah-theme

Naquadah theme for Emacs
Emacs Lisp
20
star
9

julien.danjou.info

Julien Danjou's blog and personal website
Makefile
19
star
10

telak

Draw images on your X root window
C
17
star
11

lwn2pocket

Push LWN.net Weekly Edition to Pocket
Python
16
star
12

emacs.d

My Emacs configuration files
Emacs Lisp
14
star
13

offlineimap.el

OfflineIMAP support for Emacs
Emacs Lisp
12
star
14

trelloha

Trello Organizer
Python
9
star
15

scaling-python.com

scaling-python.com website
CSS
9
star
16

pymunincli

munin client Python library
Python
4
star
17

git-tag-pbr

Git tag projects using pbr
Shell
4
star
18

google-weather.el

Emacs support for Google Weather
Emacs Lisp
4
star
19

mod_defensible

Apache 2 module for blocking access using DNSBL
C
4
star
20

overtest

Daemon managing tools for functional testing
Shell
3
star
21

erc-track-score.el

Erc tracking with score module
Emacs Lisp
3
star
22

kawoosh

IRC/HTTP REST gateway
Common Lisp
3
star
23

osjenkins-twitter

Twitter bot for @OSJenkins
Python
1
star
24

spotless

Python pedantic checks
Python
1
star
25

muse-blog.el

Blogging extension for Muse
Emacs Lisp
1
star
26

runtastic2strava

Sent Runtastic sessions to Strava
Python
1
star
27

trollstack

Detects trolls in OpenStack reviews
Python
1
star
28

varmon

Management tool for DAC960/DAC1164 controller family
C
1
star
29

libparportled

Library to control a LED system via parallel port
C
1
star