ngz pushed a commit to branch tex-team-next
in repository guix.
commit 0dd149a1b7ffb9ca5a967e869ba27325f9e4d60b
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Sat May 6 08:28:40 2023 +0200
gnu: Add texlive-lualatex-math.
* gnu/packages/tex.scm (texlive-lualatex-math): New variable.
---
gnu/packages/tex.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 14626623f7..2bca8bcd82 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4101,6 +4101,32 @@ releases. The bundle consists of a Lua script to run
the tasks and a
@code{.tex} file which provides the testing environment.")
(license license:lppl1.3c+))))
+(define-public texlive-lualatex-math
+ (package
+ (name "texlive-lualatex-math")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/lualatex/lualatex-math/"
+ "source/lualatex/lualatex-math/"
+ "tex/lualatex/lualatex-math/")
+ (base32
+ "1xfr31rwr7zc6d5bsc3v5lwvcfrg109rzfgvvs69w4xs61j06jcg")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-etoolbox texlive-filehook))
+ (home-page "https://ctan.org/pkg/lualatex-math")
+ (synopsis "Fixes for mathematics-related LuaLaTeX issues")
+ (description
+ "The package patches a few commands of the LaTeX2e kernel and the
+@code{amsmath} and @code{mathtools} packages to be more compatible with the
+LuaTeX engine. It is only meaningful for LuaLaTeX documents containing
+mathematical formulas, and does not exhibit any new functionality. The fixes
+are mostly moved from the @code{unicode-math} package to this package since
+they are not directly related to Unicode mathematics typesetting.")
+ (license license:lppl1.3c)))
+
(define-public texlive-lualibs
(package
(inherit