From da9b0b0b56750f4d657e65188a5cce9052477388 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:16:41 +0200 Subject: [PATCH] gnu: Add texlive-listings-ext. * gnu/packages/tex.scm (texlive-listings-ext): New variable. --- gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 23d44bed2b..47d75c16f4 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2737,6 +2737,33 @@ (define-public texlive-light-latex-make reproduced in any TeX environment with the program.") (license license:expat))) +(define-public texlive-listings-ext + (package + (name "texlive-listings-ext") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/listings-ext/" + "scripts/listings-ext/" + "source/latex/listings-ext/" + "tex/latex/listings-ext/") + (base32 + "044d93vdlw1amkpm8nv50390a5ba7x7d2w1y3mfg5bfvfb5cci6r"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments + (list #:link-scripts #~(list "listings-ext.sh"))) + (home-page "https://ctan.org/pkg/listings-ext") + (synopsis "Automated input of source") + (description + "The package provides a means of marking a source, so that samples of it +may be included in a document (by means of the @code{listings} package) in +a stable fashion, regardless of any change to the source. The markup in the +source text defines tags for blocks of source. These tags are processed by +a shell script to make a steering file that is used by the package when LaTeX +is being run.") + (license license:lppl1.2+))) + (define-public texlive-tex-ini-files (package (name "texlive-tex-ini-files")