Subject: bug#65181: closed (Re: bug#65181: [PATCH] gnu: Add emacs-math-preview.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 12 Aug 2023 21:10:02 +0000

Your bug report

#65181: [PATCH] gnu: Add emacs-math-preview.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65181: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65181
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65181: [PATCH] gnu: Add emacs-math-preview.
From: Ludovic Courtès <[email-masked]>
To: Cayetano Santos <[email-masked]>
Cc: [email-masked]
Date: Sat, 12 Aug 2023 23:09:10 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Cayetano Santos <[email-masked]> skribis:

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

Applied, thanks!

Ludo’.

Subject: [PATCH] gnu: Add emacs-math-preview.
From: Cayetano Santos <[email-masked]>
To: [email-masked]
Cc: Cayetano Santos <[email-masked]>
Date: Wed, 9 Aug 2023 16:42:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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