From c3a49731f637d46c891c5b0b17056197438097dd Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:25:29 +0200 Subject: [PATCH] gnu: Add texlive-texdirflatten. * gnu/packages/tex.scm (texlive-texdirflatten): New variable. --- gnu/packages/tex.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 28381e3ce8..a824a0b702 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6331,6 +6331,30 @@ (define-public texlive-texdiff marked at the margin with grey bars by the LaTeX @code{changebar} package.") (license license:artistic2.0))) +(define-public texlive-texdirflatten + (package + (name "texlive-texdirflatten") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/man/man1/texdirflatten.1" + "doc/man/man1/texdirflatten.man1.pdf" + "doc/support/texdirflatten/" + "scripts/texdirflatten/") + (base32 + "0f2h9qlqfml9p83znxh81i7cmwfbsr0zrladrf3486v4aja859kx"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "texdirflatten"))) + (home-page "https://ctan.org/pkg/texdirflatten") + (synopsis "Collect files related to a LaTeX job in a single directory") + (description + "The Perl script parses a LaTeX file recursively, scanning all child +files, and collects details of any included and other data files. These +component files, are then all put into a single directory (thus flattening the +document's directory tree).") + (license license:artistic2.0))) + (define-public texlive-texdraw (package (name "texlive-texdraw")