All Projects → asciidoctor → Asciidoctor Epub3

asciidoctor / Asciidoctor Epub3

Licence: mit
📘 Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Asciidoctor Epub3

EbookReader
The EbookReader Android App. Support file format like epub, pdf, txt, html, mobi, azw, azw3, html, doc, docx,cbz, cbr. Support tts.
Stars: ✭ 37 (-77.71%)
Mutual labels:  ebook, mobi, epub, kindle, ebooks
Open Publisher
Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.
Stars: ✭ 242 (+45.78%)
Mutual labels:  ebook, ebooks, mobi, epub
Calibre
The official source code repository for the calibre ebook manager
Stars: ✭ 11,221 (+6659.64%)
Mutual labels:  kindle, ebook, ebooks, epub
The Economist Ebooks
经济学人(含音频)、纽约客、自然、新科学人、卫报、科学美国人、连线、大西洋月刊、新闻周刊、国家地理等英语杂志免费下载、订阅(kindle推送),支持epub、mobi、pdf格式, 每周更新. The Economist 、The New Yorker 、Nature、The Atlantic 、New Scientist、The Guardian、Scientific American、Wired、Newsweek magazines, free download and subscription for kindle, mobi、epub、pdf format.
Stars: ✭ 3,471 (+1990.96%)
Mutual labels:  kindle, ebook, mobi, epub
Laravel Book
Up to date Epub, Mobi and PDF versions from the official Laravel Docs
Stars: ✭ 221 (+33.13%)
Mutual labels:  kindle, ebook, mobi, epub
InMangaKindle
Descarga manga en español en diferentes formatos (PNG, PDF, EPUB, MOBI)
Stars: ✭ 43 (-74.1%)
Mutual labels:  ebook, mobi, epub, kindle
bookery
Manage all your ebooks and send them to your reader
Stars: ✭ 35 (-78.92%)
Mutual labels:  ebook, epub, kindle, ebooks
Fb2mobi
[DEPRECATED] fb2mobi - derived from fb2conv 1.5.4
Stars: ✭ 89 (-46.39%)
Mutual labels:  ebooks, mobi, epub
Unix As Ide
The ebook version of Tom Ryder's series on the Unix programming environment
Stars: ✭ 315 (+89.76%)
Mutual labels:  ebook, mobi, epub
Asciidoctor
💎 A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
Stars: ✭ 3,905 (+2252.41%)
Mutual labels:  rubygem, asciidoc, asciidoctor
Calibre Web
📚 Web app for browsing, reading and downloading eBooks stored in a Calibre database
Stars: ✭ 5,616 (+3283.13%)
Mutual labels:  ebook, mobi, epub
Narou
Narou.rb - 小説家になろうのダウンローダ&縦書き整形&管理アプリ。Kindle(などの電子書籍端末)でなろうを読む場合に超便利です!
Stars: ✭ 256 (+54.22%)
Mutual labels:  kindle, mobi, epub
ComicBookMaker
Script to fetch webcomics and use them to create ebooks.
Stars: ✭ 27 (-83.73%)
Mutual labels:  ebook, mobi, kindle
fiction-dl
A content downloader, capable of retrieving works of (fan)fiction from the web and saving them in a few common file formats.
Stars: ✭ 22 (-86.75%)
Mutual labels:  ebook, mobi, epub
ebook-converter
Commandline tool for converting between several e-books formats, based on Calibre project.
Stars: ✭ 21 (-87.35%)
Mutual labels:  ebook, mobi, epub
Epub Press Clients
📦 Clients for building books with EpubPress.
Stars: ✭ 370 (+122.89%)
Mutual labels:  kindle, ebook, epub
Koodo Reader
A modern ebook manager and reader with sync and backup capacities for Windows, macOS, Linux and Web
Stars: ✭ 2,938 (+1669.88%)
Mutual labels:  ebook, mobi, epub
Save As Ebook
Save a web page/selection as an eBook (.epub format) - a Chrome/Firefox/Opera Web Extension
Stars: ✭ 959 (+477.71%)
Mutual labels:  ebook, ebooks, epub
Readteractive
Tool for writing and generating interactive books.
Stars: ✭ 23 (-86.14%)
Mutual labels:  kindle, mobi, epub
Shirah Reader
RSVP speed reader, written in python.
Stars: ✭ 133 (-19.88%)
Mutual labels:  ebooks, mobi, epub

= {project-name}: A native EPUB3 converter for AsciiDoc Dan Allen https://github.com/mojavelinux[@mojavelinux]; Sarah White https://github.com/graphitefriction[@graphitefriction] :project-name: Asciidoctor EPUB3 :project-handle: asciidoctor-epub3 :uri-project: https://github.com/asciidoctor/{project-handle} :uri-gem: https://rubygems.org/gems/asciidoctor-epub3 :uri-ci: {uri-project}/actions?query=branch%3Amaster :uri-issues: {uri-project}/issues :uri-rvm: https://rvm.io

image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/] image:https://img.shields.io/gem/v/asciidoctor-epub3.svg[Latest Release,link={uri-gem}] image:{uri-project}/workflows/CI/badge.svg?branch=master[GitHub Actions,link={uri-ci}]

{project-name} is a set of Asciidoctor extensions for converting AsciiDoc documents directly to the EPUB3 and KF8/MOBI e-book formats.

== Documentation

Detailed installation and usage instructions can be found on the https://docs.asciidoctor.org/asciidoctor-epub3/latest/[Asciidoctor Docs site].

== Installation

{project-name} is published on RubyGems.org. {project-name} requires Ruby 2.3 or newer. You can install the published gem using the following command:

[source,shell script]

$ gem install --pre asciidoctor-epub3

Assuming the gem and its dependencies install properly, verify you can run the {project-handle} script:

[source,shell script]

$ asciidoctor-epub3 -v

If you see the version of {project-name} printed, you're ready to use {project-name}.

== Usage

Converting an AsciiDoc document to EPUB3 is as simple as passing your document to the {project-handle} command. This command should be available on your PATH if you installed the {project-handle} gem. Otherwise, you can find the command in the [path]bin folder of the project. We also recommend specifying an output directory using the -D option flag.

[source,shell script]

$ asciidoctor-epub3 -D output path/to/book.adoc

When the script completes, you'll see the file [file]book.epub appear in the [path]output directory. Open that file with an EPUB3 reader to view the result.

You may also produce KF8/MOBI file by setting ebook-format attribute to kf8.

[source,shell script]

$ asciidoctor-epub3 -D output -a ebook-format=kf8 path/to/book.adoc

When the script completes, the file [file]book.mobi will appear in [path]output directory.

== Contributing

In the spirit of free software, everyone is encouraged to help improve this project.

To contribute code, simply fork the project on GitHub, hack away and send a pull request with your proposed changes.

Feel free to use the {uri-issues}[issue tracker] or {uri-discuss}[Asciidoctor mailing list] to provide feedback or suggestions in other ways.

== Development

To help develop {project-name}, or to simply test drive the development version, you need to get the source from GitHub. Follow the instructions below to learn how to clone the source and run it from your local copy.

=== Retrieve the Source Code

You can retrieve {project-name} in one of two ways:

. Clone the git repository . Download a zip archive of the repository

==== Option 1: Fetch Using git clone

If you want to clone the git repository, simply copy the {uri-repo}[GitHub repository URL] and pass it to the git clone command:

[subs=attributes+] $ git clone {uri-repo}

Next, change to the project directory:

[subs=attributes+] $ cd {project-handle}

==== Option 2: Download the Archive

If you want to download a zip archive, click on the btn:[icon:cloud-download[] Download Zip] button on the right-hand side of the repository page on GitHub. Once the download finishes, extract the archive, open a console and change to that directory.

TIP: Instead of working out of the {project-handle} directory, you can simply add the absolute path of the [path]bin directory to your PATH environment variable.

We'll leverage the project configuration to install the necessary dependencies.

=== Prepare RVM (optional step)

If you're using {uri-rvm}[RVM], we recommend creating a new gemset to work with {project-name}:

$ rvm use [email protected] --create

We like RVM because it keeps the dependencies required by various projects isolated.

=== Install the Dependencies

The dependencies needed to use {project-name} are defined in the [file]Gemfile at the root of the project. We can use Bundler to install the dependencies for us.

To check if you have Bundler available, use the bundle command to query the version installed:

$ bundle --version

If it's not installed, use the gem command to install it.

$ gem install bundler

Then use the bundle command to install the project dependencies:

$ bundle

NOTE: You need to call bundle from the project directory so that it can find the [file]Gemfile.

=== Build and Install the Gem

Now that the dependencies are installed, you can build and install the gem.

Use the Rake build tool to build and install the gem (into the current RVM gemset or into the system if not using RVM):

$ rake install:local

The build will report that it built the gem into the [path]pkg directory and that it installed the gem.

Once the development version of the gem is installed, you can run {project-name} by invoking the asciidoctor-epub3 script:

$ asciidoctor-epub3 -v

If you see the version of {project-name} printed to your console, you're ready to use {project-name}!

=== Shortcut: Run the Launch Script Directly

Assuming all the required gems install properly, you can run the asciidoctor-epub3 script directly out of the project folder using either:

$ bin/asciidoctor-epub3 -v

or

$ bundle exec bin/asciidoctor-epub3 -v

You're now ready to test drive the development version of {project-name}!

Jump back to <> to learn how to create an AsciiDoc document and convert it to EPUB3.

=== Fonts

{project-name} embeds a set of fonts and font icons. The theme's fonts are located in the [path]data/fonts directory.

The M+ Outline fonts are used for titles, headings, literal (monospace) text, and annotation numbers. The body text uses Noto Serif. Admonition icons and the end-of-chapter mark are from the Font Awesome icon font. Refer to the link:NOTICE.adoc[] file for further information about the fonts.

// TODO document command to generate the M+ 1p latin fonts

== Planned Features and Work In Progress

See link:WORKLOG.adoc[].

== Authors

{project-name} was written by https://github.com/mojavelinux[Dan Allen] and https://github.com/graphitefriction[Sarah White] of OpenDevise on behalf of the Asciidoctor Project.

== Copyright

Copyright (C) 2014-2021 OpenDevise Inc. and the Asciidoctor Project. Free use of this software is granted under the terms of the MIT License.

For the full text of the license, see the link:LICENSE[] file. Refer to the link:NOTICE.adoc[] file for information about third-party Open Source software in use.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].