summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-16 17:20:12 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:18:43 +0200
commitcbe40e50921ca06254f09d75c4c0b8c1b1624ee2 (patch)
treec68bb1b589272c038703669948c2744b4b8acb6c
parentc7316e85bd2bbf13fad3442caec5f608994fe40f (diff)
downloadguix-cbe40e50921ca06254f09d75c4c0b8c1b1624ee2.tar.gz
gnu: Add texlive-pdfxup.
* gnu/packages/tex.scm (texlive-pdfxup): New variable.
-rw-r--r--gnu/packages/tex.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 64ab695b92..68e199fa97 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3101,6 +3101,29 @@ to relevant errors, which are displayed in a red bold font.")
 uncompresses a PDF stream given by object number.")
     (license license:gpl2+)))
 
+(define-public texlive-pdfxup
+  (package
+    (name "texlive-pdfxup")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/man/man1/pdfxup.1"
+                   "doc/man/man1/pdfxup.man1.pdf"
+                   "doc/support/pdfxup/" "scripts/pdfxup/"
+                   "tex/latex/pdfxup/")
+             (base32
+              "1zk4nw1acqz77cy17l8mzi06f0aag16ikp8ymjsl110iw8p8my98")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments (list #:link-scripts #~(list "pdfxup")))
+    (home-page "https://ctan.org/pkg/pdfxup")
+    (synopsis "Create N-up PDF pages with minimal margins")
+    (description
+     "@command{pdfxup} is a shell script that creates a PDF document where
+each page is obtained by combining several pages of a PDF file given as
+output.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-tex-ini-files
   (package
     (name "texlive-tex-ini-files")