emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/mathjax 8240165574: Prepare ELPA release


From: ELPA Syncer
Subject: [elpa] externals/mathjax 8240165574: Prepare ELPA release
Date: Tue, 5 Nov 2024 15:58:57 -0500 (EST)

branch: externals/mathjax
commit 8240165574398831a3a8efb1e289b406c05f7796
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    Prepare ELPA release
---
 Makefile         | 9 +++++++--
 math2svg/main.js | 6 +++---
 mathjax.el       | 6 ++++--
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 8f530a9adc..65d7acb78d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,11 @@
 EMACS ?= emacs
 
-math2svg.js: math2svg/package-lock.json math2svg/*.js
+elpa: math2svg.js
+
+math2svg/node_modules:
+       cd math2svg && npm ci
+
+math2svg.js: math2svg/node_modules math2svg/package-lock.json math2svg/*.js
        cd math2svg && npm run build
 
 deps:
@@ -12,4 +17,4 @@ clean:
 %.elc: %.el
        $(EMACS) -Q --batch -L . -f batch-byte-compile $<
 
-.PHONY: deps clean
+.PHONY: deps clean elpa
diff --git a/math2svg/main.js b/math2svg/main.js
index 076fe3d9cc..b8114cfae6 100644
--- a/math2svg/main.js
+++ b/math2svg/main.js
@@ -1,7 +1,7 @@
 /*!
  * mathjax.el --- Render formulas using MathJax
  *
- * Copyright (C) 2024  Augusto Stoffel
+ * Copyright (C) 2024  Free Software Foundation, Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -15,10 +15,10 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
- *
- * Adapted from 
https://github.com/mathjax/MathJax-demos-node/blob/master/simple/
  */
 
+// Cf. https://github.com/mathjax/MathJax-demos-node/blob/master/simple
+
 const config = JSON.parse(process.argv[2] || "{}")
 MathJax = {
   options: {
diff --git a/mathjax.el b/mathjax.el
index d6df8b27ae..74371c64c7 100644
--- a/mathjax.el
+++ b/mathjax.el
@@ -1,9 +1,11 @@
 ;;; mathjax.el --- Render formulas using MathJax     -*- lexical-binding: t; 
-*-
 
-;; Copyright (C) 2024  Augusto Stoffel
+;; Copyright (C) 2024  Free Software Foundation, Inc.
 
 ;; Author: Augusto Stoffel <arstoffel@gmail.com>
-;; Keywords: text, tools
+;; URL: https://github.com/astoff/mathjax.el
+;; Version: 0
+;; Keywords: tex, text, tools
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by



reply via email to

[Prev in Thread] Current Thread [Next in Thread]