aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-15 12:16:21 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-15 12:16:21 +0200
commit60cf95df48b181fa1a122c3a030ed2e8e58e7e59 (patch)
tree329ba3154ce93cf4a92ec8c7b2acfa3e6f39a0dc
parentb0f1421c73744ab28184beaa0a529fd8b1fc2e36 (diff)
downloadguix-60cf95df48b181fa1a122c3a030ed2e8e58e7e59.tar
guix-60cf95df48b181fa1a122c3a030ed2e8e58e7e59.tar.gz
gnu: Add texlive-everyhook.
* gnu/packages/tex.scm (texlive-everyhook): New variable.
-rw-r--r--gnu/packages/tex.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index e00a233bad..443e2eeb98 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -45872,6 +45872,30 @@ letters catcodes are set to @samp{letter}, so that commands with Cyrillic
letters in their names may be defined.")
(license license:lppl)))
+(define-public texlive-everyhook
+ (package
+ (name "texlive-everyhook")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/everyhook/"
+ "source/latex/everyhook/"
+ "tex/latex/everyhook/")
+ (base32
+ "0rcw2d5ncq8avk33nxika34q3da1v4kcmr6jqdxdg49bq4h8ljs7")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (home-page "https://ctan.org/pkg/everyhook")
+ (synopsis "Hooks for standard TeX token lists")
+ (description
+ "The package takes control of the six TeX token registers @code{\\everypar},
+@code{\\everymath}, @code{\\everydisplay}, @code{\\everyhbox},
+@code{\\everyvbox} and @code{\\everycr}. Real hooks for each of the registers
+may be installed using a stack like interface. For backwards compatibility,
+each of the @code{\\everyX} token lists can be set without interfering with
+the hooks.")
+ (license license:lppl1.3+)))
+
(define-public texlive-everypage
(package
(name "texlive-everypage")