guix-commits
[Top][All Lists]
Advanced

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

233/418: gnu: texlive-mathdots: Refresh package definition.


From: guix-commits
Subject: 233/418: gnu: texlive-mathdots: Refresh package definition.
Date: Fri, 2 Jun 2023 17:25:17 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit e677d5ba01beeaf45d0209e937b548d63620f754
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 22:40:37 2023 +0200

    gnu: texlive-mathdots: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-mathdots): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 38 +++++++++++++++++---------------------
 1 file changed, 17 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 779f580d6e..2e530e68d2 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4574,31 +4574,27 @@ definitions.")
 (define-deprecated-package texlive-latex-amsmath texlive-amsmath)
 
 (define-public texlive-mathdots
-  (let ((template
-         (simple-texlive-package
-          "texlive-mathdots"
-          (list "doc/generic/mathdots/"
-                "source/generic/mathdots/"
-                "tex/generic/mathdots/")
-          (base32"1jaffj343p1chdxs2g7s6lpckvihk0jfw22nw0vmijyjxfiy9yg0"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/mathdots")
-         ((#:build-targets _ '())
-          '(list "mathdots.ins"))))
-      (home-page "https://ctan.org/macros/generic/mathdots";)
-      (synopsis "Commands to produce dots in math that respect font size")
-      (description
-       "Mathdots redefines @code{\\ddots} and @code{\\vdots}, and defines
+  (package
+    (name "texlive-mathdots")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/mathdots/"
+                   "source/generic/mathdots/"
+                   "tex/generic/mathdots/")
+             (base32
+              "1jaffj343p1chdxs2g7s6lpckvihk0jfw22nw0vmijyjxfiy9yg0")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/mathdots";)
+    (synopsis "Commands to produce dots in math that respect font size")
+    (description
+     "Mathdots redefines @code{\\ddots} and @code{\\vdots}, and defines
 @code{\\iddots}.  The dots produced by @code{\\iddots} slant in the opposite
 direction to @code{\\ddots}.  All the commands are designed to change size
 appropriately in scripts, as well as in response to LaTeX size changing
 commands.  The commands may also be used in plain TeX.")
-      (license license:lppl))))
+    (license license:lppl)))
 
 (define-public texlive-amscls
   (let ((template (simple-texlive-package



reply via email to

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