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

  • Done
  • quality assurance status badge
Details
2 participants
  • Cayetano Santos
  • Ludovic Courtès
Owner
unassigned
Submitted by
Cayetano Santos
Severity
normal
C
C
Cayetano Santos wrote on 9 Aug 2023 16:42
(address . guix-patches@gnu.org)(name . Cayetano Santos)(address . csantosb@inventati.org)
71e2ad95ee45e22ccc8d02d60efc0397ef62789f.1691592135.git.csantosb@inventati.org
* gnu/packages/emacs-xyz.scm (emacs-math-preview): New variable.
---
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (39 lines)
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
L
L
Ludovic Courtès wrote on 12 Aug 2023 23:09
(name . Cayetano Santos)(address . csantosb@inventati.org)(address . 65181-done@debbugs.gnu.org)
87cyzsc6ix.fsf@gnu.org
Hi,

Cayetano Santos <csantosb@inventati.org> skribis:

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

Applied, thanks!

Ludo’.
Closed
?