unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 32654@debbugs.gnu.org
Subject: [bug#32654] [PATCH] Add emacs-org-reveal
Date: Thu, 06 Sep 2018 22:14:49 -0400	[thread overview]
Message-ID: <874lf23vfq.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me> (raw)

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

Hello,

This adds Org-Reveal (called ox-reveal in MELPA), an Emacs package
useful to create presentation (slides) to be driven by Reveal.js.

There is one known bug you might encounter (I do everytime I start
Emacs) which is that upon exporting my document to HTML for Reveal (C-e
R R), it might fail with some strange argument error; the workaround is to issue:
C-u M-x org-reload. Another suggested workaround is to put this in your
~/.emacs:

--8<---------------cut here---------------start------------->8---
(require 'org)
(let ((current-prefix-arg 1))
  (call-interactively 'org-reload))
--8<---------------cut here---------------end--------------->8---

For more information about this issue: 
https://github.com/yjwen/org-reveal/issues/171

Thank you,

Maxim

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-emacs-org-reveal.patch --]
[-- Type: text/x-patch, Size: 1703 bytes --]

From 93ba598f20517c425b2e3695c68ff8f567619c27 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Thu, 6 Sep 2018 11:21:51 -0400
Subject: [PATCH] Add emacs-org-reveal

---
 gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 08554280c..cb9f28413 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -9532,6 +9532,29 @@ The default setup uses helm-bibtex.
 You should really read org-ref.org in this package for details.")
       (license license:gpl3+))))
 
+(define-public emacs-org-reveal
+  (package
+    (name "emacs-org-reveal")
+    ;; There are no proper tag, so we use the latest commit of the stable
+    ;; branch, as does MELPA.
+    (version "20161027.926")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/yjwen/org-reveal.git")
+                    (commit "001567cc12d50ba07612edd1718b86a12e8c2547")))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "18rma8smjrskbjyna076zhvx79zs5r5vinb537h8mw13pfxd6cm8"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/yjwen/org-reveal")
+    (synopsis "Org and Reveal.js powered HTML presentation tool")
+    (description "Org-Reveal is a command@{org-mode} extension that allows to
+create beautiful presentations (slides) with 3D effects from simple but
+powerful Org contents.")
+    (license license:gpl3+)))
+
 (define-public emacs-add-hooks
   (package
     (name "emacs-add-hooks")
-- 
2.18.0


             reply	other threads:[~2018-09-07  2:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07  2:14 Maxim Cournoyer [this message]
2018-09-11 15:10 ` [bug#32654] [PATCH] Add emacs-org-reveal Ludovic Courtès
2018-09-13  3:24   ` bug#32654: " Maxim Cournoyer

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=874lf23vfq.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me \
    --to=maxim.cournoyer@gmail.com \
    --cc=32654@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).