--- Begin Message ---
Subject: |
[PATCH] gnu: Add emacs-org-edit-latex. |
Date: |
Mon, 26 Jun 2017 13:52:52 +0300 |
---
gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a98278875..1261979be 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4997,3 +4997,33 @@ enter C-x and wait for the default of 1 second, the
minibuffer will expand
with all of the available key bindings that follow C-x (or as many as space
allows given your settings).")
(license license:gpl3+)))
+
+(define-public emacs-org-edit-latex
+ (let ((commit "323d0b39d0284cef730b706dce7c0e58ed35530f")
+ (revision "1"))
+ (package
+ (name "emacs-org-edit-latex")
+ (version (string-append "0.0.1-" revision "."
+ (string-take commit 7)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/et2010/org-edit-latex.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0zcllyhx9n9vcr5w87h0hfz25v52lvh5fi717cb7mf3jh89zh842"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-auctex" ,emacs-auctex)
+ ;; The version of org in Emacs 25.2 is not sufficient,
+ ;; because requires org-latex-make-preamble function.
+ ("emacs-org" ,emacs-org)))
+ (home-page "https://github.com/et2010/org-edit-latex")
+ (synopsis
+ "Edit a latex fragment/environment just like editing a src block")
+ (description
+ "@code{emacs-org-edit-latex} is an extension for org-mode. It let you
+edit a latex fragment/environment just like editing a src block.")
+ (license license:gpl3+))))
--
2.13.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex. |
Date: |
Fri, 30 Jun 2017 20:01:29 +0530 |
Pushed, thanks! :-)
> But, "(description" must be on separate line, doesn't it?
> Like in 2482c02f3b23b2490a6647e0717cf8a4ccf3f6a8
I don't know if there is a Guix coding standard for this. Some packages
have description on a separate line. Others have it on the same
line. For whatever arbitrary reason I started out with putting it on the
same line, and have kept up the practice.
--- End Message ---