gnu: Add texlive-latexpand.

* gnu/packages/tex.scm (texlive-latexpand): New variable.
This commit is contained in:
Nicolas Goaziou 2023-07-16 17:16:09 +02:00
parent d642554212
commit 2b6dd12aee
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2684,6 +2684,28 @@ (define-public texlive-latexindent
highlight the structure for the reader.") highlight the structure for the reader.")
(license license:gpl3))) (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 (define-public texlive-tex-ini-files
(package (package
(name "texlive-tex-ini-files") (name "texlive-tex-ini-files")