diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-16 17:19:10 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-18 18:18:41 +0200 |
commit | ffd119b290c5a14d630621d960f8b926688dfa4d (patch) | |
tree | 3559929b128af52c9015f086373312365d5d06cc | |
parent | 7ee92aca622e50113e5de4ef4bfbdb1a1103dd3f (diff) |
gnu: Add texlive-pdfcrop.
* gnu/packages/tex.scm (texlive-pdfcrop): New variable.
-rw-r--r-- | gnu/packages/tex.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index c0eb87ae3a..4c13f1abcd 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2995,6 +2995,26 @@ defined at the edges of the booklet and in the middle where the binding occurs.") (license license:gpl3))) +(define-public texlive-pdfcrop + (package + (name "texlive-pdfcrop") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/support/pdfcrop/" "scripts/pdfcrop/") + (base32 + "0wb67hsfasxvl1b484hyxvghhm9nkxwgs6m8ygzshr0m874hsl01"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "pdfcrop.pl"))) + (inputs (list perl)) + (home-page "https://ctan.org/pkg/pdfcrop") + (synopsis "Crop PDF graphics") + (description + "This package provides a Perl script that can either trim pages of any +whitespace border, or trim them of a fixed border.") + (license license:lppl1.3c))) + (define-public texlive-tex-ini-files (package (name "texlive-tex-ini-files") |