From 4406b0a998623f7077db699aa51663e60394e222 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Wed, 30 Aug 2017 22:01:38 +0200 Subject: Check in prototype --- nov.el | 559 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 559 insertions(+) create mode 100644 nov.el (limited to 'nov.el') diff --git a/nov.el b/nov.el new file mode 100644 index 0000000..af20042 --- /dev/null +++ b/nov.el @@ -0,0 +1,559 @@ +;;; nov.el --- Featureful EPUB reader mode + +;; Copyright (C) 2017 Vasilij Schneidermann + +;; Author: Vasilij Schneidermann +;; Keywords: hypermedia, multimedia, epub + +;; This file is NOT part of GNU Emacs. + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Commentary: + +;; nov.el provides a major mode for reading EPUB documents. +;; +;; Features: +;; +;; - Basic navigation (jump to TOC, previous/next chapter) +;; - Jump to next chapter when scrolling beyond end +;; - Renders EPUB2 (.ncx) and EPUB3 (