Git Product home page Git Product logo

asciidoc-book-toolchain's Introduction

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.

asciidoc-book-toolchain's People

Contributors

jd avatar

Watchers

 avatar  avatar  avatar

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.