From 433d03b36c758ef11043c1839c52454119d58d21 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 30 Jul 2023 15:53:56 +0200 Subject: [PATCH] gnu: Add texlive-eqnnumwarn. * gnu/packages/tex.scm (texlive-eqnnumwarn): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 6c74070fcb..3821a0e6d9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3472,6 +3472,28 @@ environment. This environment is similar, in some ways, to the @code{align} environment of @code{amsmath}.") (license license:gpl3))) +(define-public texlive-eqnnumwarn + (package + (name "texlive-eqnnumwarn") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/eqnnumwarn/" + "tex/latex/eqnnumwarn/") + (base32 + "06z6rb0q5qln5knamwxljzw5h373r2xh159ml9akw4kb2cdk3bri"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/eqnnumwarn") + (synopsis "Warn for a displaced equation number") + (description + "Sometimes an equation is too long that an equation number will be +typeset below the equation itself, but yet not long enough to yield an +@samp{overfull \\hbox} warning. The @code{eqnnumwarn} package modifies the +standard @code{amsmath} numbered equation environments to throw a warning +whenever this occurs.") + (license license:lppl1.3+))) + (define-public texlive-bibtex8 (package (name "texlive-bibtex8")