guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#36713] [PATCH 3/6] Add emacs-ox-epub.


From: Jens Mølgaard
Subject: [bug#36713] [PATCH 3/6] Add emacs-ox-epub.
Date: Thu, 18 Jul 2019 21:15:28 +1200
User-agent: Emacs/26.2 (x86_64-pc-linux-gnu)

This adds emacs-ox-epub. An exporter for org-mode for creating epub
files.

From 0a9d6536e4ce413d656d4c925abeeb80491a23a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <address@hidden>
Date: Thu, 18 Jul 2019 19:52:11 +1200
Subject: [PATCH 3/6] gnu: Add emacs-ox-epub.

* gnu/packages/emacs-xyz.scm (emacs-ox-epub): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b44b729793..3fb4a68417 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16642,3 +16642,26 @@ message.
 @item Act on a forwarded message as if it were a message being replied to.
 @item Start a new message with a given Identity pre-selected.")
     (license license:gpl2+)))
+
+(define-public emacs-ox-epub
+  (package
+    (name "emacs-ox-epub")
+    (version "0.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ofosos/ox-epub.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "057sqmvm8hwkhcg3yd4i8zz2xlqsqrpyiklyiw750s3i5mxdn0k7"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ofosos/ox-epub";)
+    (synopsis "Export org mode projects to EPUB")
+    (description "@code{ox-epub} extends the (X)HTML exporter to generate
+@code{.epub} files directly from OrgMode.  This will export EPUB version 2,
+which should give broad compatibility.  It should also be relatiely easy to
+convert the resulting @code{.epub} to a @code{.mobi} file.  Needs a working
+zip utility (default is @code{zip}).")
+    (license license:gpl3+)))
-- 
2.22.0

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]