guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

33/458: gnu: Add texlive-attachfile.


From: guix-commits
Subject: 33/458: gnu: Add texlive-attachfile.
Date: Wed, 14 Jun 2023 05:22:01 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit a707492742e6d54785188c9bdde5ab4f4e9d3fee
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]