aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-06 12:31:32 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:10:31 +0200
commitb8fe63bb51d1da2232b37b33b26733b8ead3e968 (patch)
treee6ea6f1139424f3184b9fb4e048bcf53252d672e /gnu/packages
parentf0555899b0d4653fd09343c05d3504ad3fb37f7e (diff)
downloadguix-b8fe63bb51d1da2232b37b33b26733b8ead3e968.tar.gz
guix-b8fe63bb51d1da2232b37b33b26733b8ead3e968.zip
gnu: Add texlive-filehook.
* gnu/packages/tex.scm (texlive-filehook): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tex.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 64b294a842..a11c13ab26 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