diff options
author | Morgan Smith <Morgan.J.Smith@outlook.com> | 2023-02-20 16:05:03 -0500 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-02-23 15:25:41 +0100 |
commit | adc0e3b4853fa0a9c12e19ad5febc6656722e855 (patch) | |
tree | 2f53d05978a40ab7682c7e231b3749553701a7de | |
parent | 08e46c300195cdf7744b5382227fee181882acf1 (diff) | |
download | guix-adc0e3b4853fa0a9c12e19ad5febc6656722e855.tar.gz |
gnu: Add texlive-minted.
* gnu/packages/tex.scm (texlive-minted): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/tex.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 6aef6905a6..592ef6943a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -10035,6 +10035,37 @@ various fonts are provided. An alternative package the bundle.") (license license:lppl1.3c)))) +(define-public texlive-minted + (let ((template (simple-texlive-package + "texlive-minted" + (list "/doc/latex/minted/" + "/source/latex/minted/" + "/tex/latex/minted/") + (base32 + "08pbhp4a9k8v49kji26206zzabp0nn0fz403l4w7gxajw9rj8icr")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) + "latex/minted"))) + (propagated-inputs (list python-pygments + texlive-etoolbox + texlive-fvextra + texlive-generic-xstring + texlive-latex-fancyvrb + texlive-latex-float + texlive-latex-framed + texlive-latex-ifplatform + texlive-latex-newfloat + texlive-lineno)) + (home-page "https://ctan.org/pkg/minted") + (synopsis "Highlight source code in LaTeX documents") + (description "This package facilitates expressive syntax highlighting in +LaTeX using the Pygments library. This package also provides options to +customize the highlighted source code output using fancyvrb and fvextra.") + (license license:lppl1.3+)))) + (define-public texlive-caption (let ((template (simple-texlive-package "texlive-caption" |