ngz pushed a commit to branch tex-team-next
in repository guix.
commit 186354d1e313c1e4276cbd05914369fc9bb7c8aa
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Fri May 12 18:34:02 2023 +0200
gnu: Add texlive-attachfile.
* gnu/packages/tex.scm (texlive-attachfile): New variable.
---
gnu/packages/tex.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3c9ad4c109..33892fb99f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3220,6 +3220,36 @@ with the required packages, constitutes what every LaTeX
distribution should
contain.")
(license license:lppl1.3c+))))
+(define-public texlive-attachfile
+ (package
+ (name "texlive-attachfile")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "bibtex/bib/attachfile/"
+ "doc/latex/attachfile/"
+ "source/latex/attachfile/"
+ "tex/latex/attachfile/")
+ (base32
+ "0340c4rvxhhk95wlhf54n9akiwhj6pj0bslys6bkq29x9903zx5h")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-graphics
+ texlive-hyperref
+ texlive-iftex))
+ (home-page "https://ctan.org/pkg/attachfile")
+ (synopsis "Attach arbitrary files to a PDF document")
+ (description
+ "Starting with PDF 1.3, PDF files can contain file attachments, i.e.,
+arbitrary files that a reader can extract, just like attachments to an e-mail
+message. The @code{attachfile} package brings this functionality to pdfLaTeX
+and provides some additional features such as the ability to use arbitrary
+LaTeX code for the file icon. Settings can be made either globally or on
+a per-attachment basis. @code{attachfile} makes it easy to attach files and
+customize their appearance in the enclosing document.")
+ (license license:lppl1.3+)))
+
(define-public texlive-atveryend
(let ((template (simple-texlive-package
"texlive-atveryend"