guix-commits
[Top][All Lists]
Advanced

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

21/418: gnu: Add texlive-filehook.


From: guix-commits
Subject: 21/418: gnu: Add texlive-filehook.
Date: Fri, 2 Jun 2023 17:23:49 -0400 (EDT)

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

commit 29eed0fff44ba3fe75ec41cc3276a6725f96f74c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 6 12:31:32 2023 +0200

    gnu: Add texlive-filehook.
    
    * gnu/packages/tex.scm (texlive-filehook): New variable.
---
 gnu/packages/tex.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9d7289fdbe..2fc274ba38 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3306,6 +3306,35 @@ overwrite existing files and letting you use 
@code{filecontents}
 
 (define-deprecated-package texlive-latex-filecontents texlive-filecontents)
 
+(define-public texlive-filehook
+  (package
+    (name "texlive-filehook")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/filehook/"
+                   "source/latex/filehook/"
+                   "tex/latex/filehook/")
+             (base32
+              "03dsnv8fn111kn8h2fa281w2jvcdrqag1im6mkkfahvjgl1apk6k")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (native-inputs
+     (list texlive-ydoc))
+    (propagated-inputs
+     (list texlive-kvoptions
+           texlive-pgf))
+    (home-page "https://ctan.org/pkg/filehook";)
+    (synopsis "Hooks for input files")
+    (description
+     "The package provides several file hooks (@code{AtBegin}, @code{AtEnd},
+...) for files read by @code{\\input}, @code{\\include} and
+@code{\\InputIfFileExists}.  General hooks for all such files (e.g., all
+@code{\\included} ones) and file specific hooks only used for named files are
+provided; two hooks are provided for the end of @code{\\included} files ---
+one before, and one after the final @code{\\clearpage}.")
+    (license license:lppl1.3+)))
+
 (define-public texlive-epsf
   (package
     (inherit (simple-texlive-package



reply via email to

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