From d033c4b77afec5c0c592e88a48171fa4fd6471af Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:26:32 +0200 Subject: [PATCH] gnu: Add texlive-texliveonfly. * gnu/packages/tex.scm (texlive-texliveonfly): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b03c3417e5b..650417f265b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6457,6 +6457,29 @@ from a TeX run, attempting to show only those messages which probably deserve some change in the source. The TeX invocation itself need not change.") (license license:public-domain))) +(define-public texlive-texliveonfly + (package + (name "texlive-texliveonfly") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/support/texliveonfly/" + "scripts/texliveonfly/") + (base32 + "15nrgkh9wkaccbyd8jgcyw5xjjhqj3jyy3spbfd679fywq14l8c2"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "texliveonfly.py"))) + (inputs (list python)) + (home-page "https://ctan.org/pkg/texliveonfly") + (synopsis "On-the-fly download of missing TeX live packages") + (description + "The package provides a script that performs on the fly downloads of +missing packages, while a document is being compiled. To use the script, +replace your (LaTeX) compilation command with @samp{texliveonfly.py +file.tex}.") + (license license:gpl3))) + (define-public texlive-ticollege (package (name "texlive-ticollege")