From d53e46cabfb176950162b36f7334bf36aa142b36 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Mon, 20 Feb 2023 16:04:58 -0500 Subject: [PATCH] gnu: Add texlive-catchfile. * gnu/packages/tex.scm (texlive-catchfile): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index dafed9d3c3..efccba17cc 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -5304,6 +5304,26 @@ (define-public texlive-carlisle in LaTeX documents; a jiffy to create slashed characters for physicists.") (license license:lppl))) +(define-public texlive-catchfile + (let ((template (simple-texlive-package + "texlive-catchfile" + (list "/doc/latex/catchfile/" + "/source/latex/catchfile/" + "/tex/generic/catchfile/") + (base32 + "1dpxy64hs0bjp8d2dmikflc995vazf7fi6z92w51fnj2fidgl8gx")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) + "latex/catchfile"))) + (home-page "https://ctan.org/macros/latex/contrib/catchfile") + (synopsis "Catch an external file into a macro") + (description + "Catchfile catches the contents of a file and puts it in a macro.") + (license license:lppl1.3+)))) + (define-public texlive-doi (package (inherit (simple-texlive-package