From 59412fc426baa5488874585d32bfb461d0796403 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 19 Jun 2023 11:15:51 +0200 Subject: [PATCH] gnu: Add texlive-latexmp. * gnu/packages/tex.scm (texlive-latexmp): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 8637eb0f99..73c8b23dd3 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -5433,6 +5433,29 @@ between various classes of Unix systems.") (define-deprecated-package texlive-latex-ifplatform texlive-ifplatform) +(define-public texlive-latexmp + (package + (name "texlive-latexmp") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/metapost/latexmp/" "metapost/latexmp/") + (base32 + "1zxwxss5sl16laaqalr8043wmyk2bhlja3al5xlxkizvlnflqy0f"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/latexmp") + (synopsis "Interface for LaTeX-based typesetting in MetaPost") + (description + "The MetaPost package @code{latexMP} implements a user-friendly interface +to access LaTeX-based typesetting capabilities in MetaPost. The text to be +typeset is given as string. This allows even dynamic text elements, for +example counters, to be used in labels. Compared to other implementations it +is much more flexible, since it can be used as direct replacement for +@code{btex.etex}, and much faster, compared for example to the solution +provided by @code{tex.mp}.") + (license license:public-domain))) + (define-public texlive-natbib (package (name "texlive-natbib")