unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jens Mølgaard" <jens@zete.tk>
To: 36713@debbugs.gnu.org
Subject: [bug#36713] [PATCH 4/6] Add emacs-ox-pandoc.
Date: Thu, 18 Jul 2019 21:16:57 +1200	[thread overview]
Message-ID: <87y30vsnw6.fsf@zete.tk> (raw)
In-Reply-To: <87a7dbu4r1.fsf@zete.tk>


[-- Attachment #1.1: Type: text/plain, Size: 102 bytes --]

This adds emacs-ox-pandoc, an org-mode exporter for various formats
using pandoc as an intermediary.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0004-gnu-Add-emacs-ox-pandoc.patch --]
[-- Type: text/x-patch, Size: 1795 bytes --]

From 59527c4ff1d4b16056d87b4463f313236fce08cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens@zete.tk>
Date: Thu, 18 Jul 2019 19:54:38 +1200
Subject: [PATCH 4/6] gnu: Add emacs-ox-pandoc.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3fb4a68417..674b0d6748 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16665,3 +16665,28 @@ 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+)))
+
+(define-public emacs-ox-pandoc
+  (package
+    (name "emacs-ox-pandoc")
+    (version "20180510")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/kawabata/ox-pandoc.git")
+                    (commit "aa37dc7e94213d4ebedb85c384c1ba35007da18e")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0iibxplgdp34bpq1yll2gmqjd8d8lnqn4mqjvx6cdf0y438yr4jz"))))
+    (build-system emacs-build-system)
+    (inputs
+     `(("pandoc" ,ghc-pandoc)))
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-ht" ,emacs-ht)))
+    (home-page "https://github.com/kawabata/ox-pandoc")
+    (synopsis "Org exporter for Pandoc")
+    (description "@code{ox-pandoc} is an exporter for converting Org-mode
+files to numerous other formats via Pandoc.")
+    (license license:gpl3+)))
-- 
2.22.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2019-07-18  9:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-18  8:27 [bug#36713] [PATCH 0/6] Add six Emacs packages Jens Mølgaard
2019-07-18  9:12 ` [bug#36713] [PATCH 1/6] Jens Mølgaard
2019-07-18  9:13 ` [bug#36713] [PATCH 2/6] Add emacs-gnus-alias Jens Mølgaard
2019-07-18  9:15 ` [bug#36713] [PATCH 3/6] Add emacs-ox-epub Jens Mølgaard
2019-07-18  9:16 ` Jens Mølgaard [this message]
2019-07-18  9:18 ` [bug#36713] [PATCH 5/6] Add emacs-wc-mode Jens Mølgaard
2019-07-18  9:19 ` [bug#36713] [PATCH 6/6] Add emacs-mastodon Jens Mølgaard
2019-07-28 19:19   ` Brett Gilio
2019-07-26 22:58 ` bug#36713: [PATCH 0/6] Add six Emacs packages Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y30vsnw6.fsf@zete.tk \
    --to=jens@zete.tk \
    --cc=36713@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).