Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

convert rst to epub

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 epublib
Octocat-spinner-32 sample
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.rst
Octocat-spinner-32 rst2epub.py
Octocat-spinner-32 setup.py
Octocat-spinner-32 sphinxext.py
README.rst

rst2epub2

This code consists of two tools:

  • a binary, rst2epub, to convert rst files into epub2 compliant files (ie that pass epub check, can be loaded into Apple, BN, Kobo, etc. Or converted to mobi and thrown into AMZN)
  • a library, epublib, that has the ability to programatically create epub files. See the test function in epublib/epub.py for more details. There is experimental support for KF8 fixed layout as well.

Install

running:

make develop

will create a virtualenv in env. The rst2epb.py binary will be located in the env/bin/ directory.

Known to work on linux systems. (Should work on apple, cygwin, MS with some futzing).

Docs

There are a few rst tweaks to support features such as metadata. See the sample doc for examples of a complete book and how to generate both epub and mobi files.

Feel free to interact via github for support.

Thanks

timtambin@gmail.com wrote the original epublib and hosted it on google code. I've tweaked (pep8'd) it and imported into github.

Something went wrong with that request. Please try again.