From 2b6dd12aeed14538e4e84eaa6a95548202a14f0b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:16:09 +0200 Subject: gnu: Add texlive-latexpand. * gnu/packages/tex.scm (texlive-latexpand): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 71ecb72138..7c1e80e9c6 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2684,6 +2684,28 @@ style file.") highlight the structure for the reader.") (license license:gpl3))) +(define-public texlive-latexpand + (package + (name "texlive-latexpand") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/support/latexpand/" + "scripts/latexpand/") + (base32 + "0v0yn4n6v0kgxwh00ryfkrx7a4sxhkm0pbgnylvi8jfg24gz89ls"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "latexpand"))) + (inputs (list perl)) + (home-page "https://ctan.org/pkg/latexpand") + (synopsis "Expand @code{\\input} and @code{\\include} in a LaTeX document") + (description + "Latexpand is a Perl script that simply replaces @code{\\input} and +@code{\\include} commands with the content of the input or included file. The +script does not deal with @code{\\includeonly} commands.") + (license license:bsd-3))) + (define-public texlive-tex-ini-files (package (name "texlive-tex-ini-files") -- cgit v1.2.3