summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-06-18 16:18:04 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:15:13 +0200
commit0fb4f2c801277f0b1657b868a79d741ea3fefe73 (patch)
treeaca86f7f44f09245c91c2c83f55898335842ce2a
parent9b3e024d473c084e01e086ca3457a67e709ac86d (diff)
downloadguix-0fb4f2c801277f0b1657b868a79d741ea3fefe73.tar.gz
gnu: Add texlive-thumbpdf.
* gnu/packages/tex.scm (texlive-thumbpdf): New variable.
-rw-r--r--gnu/packages/tex.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bcb41760c2..23012f5ea5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7313,6 +7313,32 @@ float, but you can put it in a @code{table} or a @code{table*} or some other
 environment.")
     (license (license:fsf-free "file://threeparttable.sty"))))
 
+(define-public texlive-thumbpdf
+  (package
+    (name "texlive-thumbpdf")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/thumbpdf/"
+                   "doc/man/man1/thumbpdf.1"
+                   "doc/man/man1/thumbpdf.man1.pdf"
+                   "scripts/thumbpdf/" "tex/generic/thumbpdf/")
+             (base32
+              "0ya18440rpkav0z1zddzii9jh2swybicj87413l5iin2acrssw42")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments (list #:link-scripts #~(list "thumbpdf.pl")))
+    (inputs (list perl))
+    (home-page "https://ctan.org/pkg/thumbpdf")
+    (synopsis "Thumbnails for pdfTeX and dvips/ps2pdf")
+    (description
+     "This package provides a Perl script that provides support for thumbnails
+in pdfTeX and dvips/ps2pdf.  The script uses Ghostscript to generate the
+thumbnails which get represented in a TeX readable file that is read by the
+package @code{thumbpdf.sty} to automatically include the thumbnails.  This
+arrangement works with both plain TeX and LaTeX.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-txfonts
   (package
     (name "texlive-txfonts")