unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65181] [PATCH] gnu: Add emacs-math-preview.
@ 2023-08-09 14:42 Cayetano Santos via Guix-patches via
  2023-08-12 21:09 ` bug#65181: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Cayetano Santos via Guix-patches via @ 2023-08-09 14:42 UTC (permalink / raw)
  To: 65181; +Cc: Cayetano Santos

* gnu/packages/emacs-xyz.scm (emacs-math-preview): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ed3d89d51f..15b9897a54 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9052,6 +9052,30 @@ (define-public emacs-math-symbol-lists
 @code{company-math}.")
     (license license:gpl3+)))
 
+(define-public emacs-math-preview
+  (package
+    (name "emacs-math-preview")
+    (version "5.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://gitlab.com/matsievskiysv/math-preview")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0ni08900p0pbajw143iw0b7a62qiqcm9b6jy7pqgpn437vydjx1z"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-dash emacs-s))
+    (home-page "https://gitlab.com/matsievskiysv/math-preview")
+    (synopsis "Preview TeX math equations inline using MathJax")
+    (description
+     "Emacs math-preview uses MathJax for displaying TeX, MathML and AsciiMath
+  math inline in Emacs buffers.")
+    (license license:gpl3+)))
+
 (define-public emacs-company-coq
   (package
     (name "emacs-company-coq")

base-commit: 210bbf9c59355218fec1484a686cc2ecdc218506
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65181: [PATCH] gnu: Add emacs-math-preview.
  2023-08-09 14:42 [bug#65181] [PATCH] gnu: Add emacs-math-preview Cayetano Santos via Guix-patches via
@ 2023-08-12 21:09 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-08-12 21:09 UTC (permalink / raw)
  To: Cayetano Santos; +Cc: 65181-done

Hi,

Cayetano Santos <csantosb@inventati.org> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-math-preview): New variable.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-12 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-09 14:42 [bug#65181] [PATCH] gnu: Add emacs-math-preview Cayetano Santos via Guix-patches via
2023-08-12 21:09 ` bug#65181: " Ludovic Courtès

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).