From a3e175e9d2bccdafa7054c76ee13d73ca43daf95 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:19:36 +0200 Subject: [PATCH] gnu: Add texlive-pdflatexpicscale. * gnu/packages/tex.scm (texlive-pdflatexpicscale): 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 8b97c3a08e..5e0afa74ae 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3040,6 +3040,28 @@ (define-public texlive-pdfjam pages, reducing several source pages onto one output page, etc.") (license license:gpl2+))) +(define-public texlive-pdflatexpicscale + (package + (name "texlive-pdflatexpicscale") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/support/pdflatexpicscale/" + "scripts/pdflatexpicscale/") + (base32 + "089n7r17c9kj1hhgm0hkfjhrqp2bhwjrj1czb3qllz7rm2x230h1"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "pdflatexpicscale.pl"))) + (inputs (list perl)) + (home-page "https://ctan.org/pkg/pdflatexpicscale") + (synopsis + "Support software for downscaling graphics to be included by pdfLaTeX") + (description + "The package provides a script to scale pictures down to a target +resolution before creating a PDF document with pdfLaTeX.") + (license license:lppl))) + (define-public texlive-tex-ini-files (package (name "texlive-tex-ini-files")