guix-commits
[Top][All Lists]
Advanced

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

354/418: gnu: Add texlive-mptopdf.


From: guix-commits
Subject: 354/418: gnu: Add texlive-mptopdf.
Date: Fri, 2 Jun 2023 17:25:54 -0400 (EDT)

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

commit f880f6067e7dc4aed5b4a95a7236a4bfb6062ea1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed May 17 11:35:28 2023 +0200

    gnu: Add texlive-mptopdf.
    
    * gnu/packages/tex.scm (texlive-mptopdf): New variable.
---
 gnu/packages/tex.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 5e4249a3c3..3c8b41404c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1046,6 +1046,38 @@ Metafont's GF output, and put coding information and 
other Xerox-world
 information in the TFM file.")
     (license license:public-domain)))
 
+(define-public texlive-mptopdf
+  (package
+    (name "texlive-mptopdf")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             ;; The first location prevents from downloading all ConTeXt
+             ;; "doc/context/scripts/mkii" directory.
+             (list "doc/context/scripts/mkii/mptopdf.man"
+                   "doc/man/man1/mptopdf.1"
+                   "doc/man/man1/mptopdf.man1.pdf"
+                   "scripts/context/perl/"
+                   "scripts/context/stubs/mswin/"
+                   "tex/context/base/mkii/"
+                   "tex/generic/context/mptopdf/")
+             (base32
+              "0gbc6si5i7pgh37lnh5fpgnjs9180vz0nxpj6qkz8z2yb84ikq7l")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs (list texlive-plain))
+    (home-page "https://ctan.org/pkg/mptopdf";)
+    (synopsis "mpost to PDF, native MetaPost graphics inclusion")
+    (description
+     "The @code{mptopdf} script does standalone conversion from mpost to PDF,
+using the @file{supp-*} and @file{syst-*} files.  They also allow native
+MetaPost graphics inclusion in LaTeX (via pdftex.def) and ConTeXt.  They can
+be used independently of the rest of ConTeXt.")
+    ;; Use the same licensing as ConTeXt.
+    (license (list license:lppl1.3c+
+                   license:gpl2+
+                   license:cc-by-sa4.0))))
+
 (define-public texlive-fontinst
   (package
     (name "texlive-fontinst")



reply via email to

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