guix-commits
[Top][All Lists]
Advanced

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

271/435: gnu: texlive-marginnote: Refresh package definition.


From: guix-commits
Subject: 271/435: gnu: texlive-marginnote: Refresh package definition.
Date: Tue, 6 Jun 2023 11:40:03 -0400 (EDT)

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

commit 7659e5649b41871c950954472545deabc698a016
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 00:03:10 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b8599a2bd4..db96bb1e26 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10369,26 +10369,25 @@ of the old package @code{pst-char}.")
     (license license:lppl)))
 
 (define-public texlive-marginnote
-  (let ((template (simple-texlive-package
-                   "texlive-marginnote"
-                   (list "/source/latex/marginnote/marginnote.dtx")
-                   (base32
-                    "152bwxhnssj40rr72r6cfirvqbnc0h7xnagfrbz58v2xck53qhg1"))))
-    (package
-      (inherit template)
-      (home-page "http://www.ctan.org/pkg/marginnote";)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/marginnote")
-         ((#:build-targets _ '())
-          ''("marginnote.dtx"))))
-      (synopsis "Notes in the margin")
-      (description "This package provides the command @code{\\marginnote} that
+  (package
+    (name "texlive-marginnote")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/marginnote/"
+                   "source/latex/marginnote/"
+                   "tex/latex/marginnote/")
+             (base32
+              "1drmscvd14akcv7n6wl3d3cnj18cwkd7z7rm2gg7z43b89s7kdqr")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/marginnote";)
+    (synopsis "Notes in the margin")
+    (description "This package provides the command @code{\\marginnote} that
 may be used instead of @code{\\marginpar} at almost every place where
 @code{\\marginpar} cannot be used, e.g., inside floats, footnotes, or in
 frames made with the @code{framed} package.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-public texlive-iftex
   (package



reply via email to

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