== Asciidoctor Book Template
A book template to generate html, pdf, epub, mobi format ebook by Asciidoctor.
=== Usage
Download this repo:
Install gems:
Download fonts for PDF generate (run once):
Build books:
Result will be store in build
dir:
-- cover.svg | |
-- index.html-- book-0.1.0.pdfmarks
-- book-sample-- cover.svg |
-- index.html=== Customize
==== Filename
By default, there are two build source: book.adoc
and boo-sample.adoc
. It is suitable for separate formal and sample version. When source filename is book.adoc
, build task will generate ebooks in build/book
directory.
You can change filename, add or remove source, then change SOURCES
in Rakefile to change build source.