Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 825 Bytes

File metadata and controls

18 lines (9 loc) · 825 Bytes

Asciidoctor Maven Plugin: AsciiDoc to EPUB Example

An example project that demonstrates how to convert AsciiDoc to EPUB using Asciidoctor EPUB3 with the Asciidoctor Maven plugin.

Usage

EPUB

Convert the AsciiDoc to EPUB using Asciidoctor EPUB3 by invoking the process-resources goal (configured as the default goal):

$ mvn

Open the file target/generated-docs/spine.epub in your epub viewer to see the generated epub.

MOBI

If you want to generate a kindle document, you can enable a second execution block in the pom.xml. If kindlegen is in your path (you have to download it for your OS from amazon here: https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211) a mobi file should be generated. Currently however the maven plugin exits with an error Errno::ECHILD) No child processes.