[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
111/242: gnu: Add texlive-unicode-math.
From: |
guix-commits |
Subject: |
111/242: gnu: Add texlive-unicode-math. |
Date: |
Wed, 11 May 2022 18:03:00 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit bb876a5e0196892db0d78ee3619d177cb3844c91
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 13 13:44:22 2022 -0400
gnu: Add texlive-unicode-math.
* gnu/packages/tex.scm (texlive-unicode-math): New variable.
---
gnu/packages/tex.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6fc1d4fdbf..527095911c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10546,6 +10546,57 @@ on the page, and which specifies where it is to be
placed. The environment is
accompanied by various configuration commands.")
(license license:lppl)))
+(define-public texlive-unicode-math
+ (package
+ (inherit (simple-texlive-package
+ "texlive-unicode-math"
+ (list "source/latex/unicode-math/"
+ "doc/latex/unicode-math/"
+ "tex/latex/unicode-math/unicode-math-table.tex")
+ (base32 "1j3041dcm7wqj0x26rxm9bb7q4xa1rqsqynqdb6cbjk3jmfvskxn")))
+ (outputs '("out" "doc"))
+ (arguments
+ (list
+ #:tex-directory "latex/unicode-math"
+ #:tex-format "xelatex"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'copy-files
+ ;; The documentation isn't built.
+ (lambda* (#:key outputs tex-directory #:allow-other-keys)
+ (let ((doc (assoc-ref outputs "doc"))
+ (tex (string-append #$output "/share/texmf-dist/tex/"
+ tex-directory)))
+ ;; Install documentation.
+ (mkdir-p (string-append doc "/share/texmf-dist/doc" ))
+ (copy-recursively "doc" doc)
+ ;; Install unicode-math-table.tex, which is not
+ ;; built.
+ (install-file "tex/latex/unicode-math/unicode-math-table.tex"
+ tex))))
+ (add-after 'copy-files 'chdir
+ (lambda* (#:key tex-directory #:allow-other-keys)
+ (chdir (string-append "source/" tex-directory)))))))
+ (home-page "https://ctan.org/pkg/unicode-math")
+ (synopsis "Unicode mathematics support for XeTeX and LuaTeX")
+ (description "This package will provide a complete implementation of
+Unicode maths for XeLaTeX and LuaLaTeX. Unicode maths is currently supported
+by the following fonts:
+@itemize
+@item Latin Modern Math
+@item TeX Gyre Bonum Math
+@item TeX Gyre Pagella Math
+@item TeX Gyre Schola Math
+@item TeX Gyre Termes Math
+@item DejaVu Math TeX Gyre
+@item Asana-Math
+@item STIX
+@item XITS Math
+@item Libertinus Math
+@item Fira Math
+@end itemize")
+ (license license:lppl1.3c+)))
+
(define-public texlive-xifthen
(package
(inherit (simple-texlive-package
- 74/242: gnu: python-scipy: Move input fields below arguments field., (continued)
- 74/242: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/05/11
- 83/242: gnu: Add python-compreffor., guix-commits, 2022/05/11
- 75/242: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/05/11
- 93/242: gnu: python-black: Update to 22.3.0., guix-commits, 2022/05/11
- 95/242: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/05/11
- 96/242: gnu: Add python-pydevd., guix-commits, 2022/05/11
- 99/242: gnu: Add python-pytest-forked-next., guix-commits, 2022/05/11
- 106/242: gnu: Add python-pytest-tornado., guix-commits, 2022/05/11
- 109/242: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/05/11
- 110/242: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/05/11
- 111/242: gnu: Add texlive-unicode-math.,
guix-commits <=
- 113/242: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/05/11
- 116/242: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/05/11
- 117/242: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/05/11
- 118/242: gnu: Add python-nbdime., guix-commits, 2022/05/11
- 119/242: gnu: Add python-docrepr., guix-commits, 2022/05/11
- 121/242: gnu: Add python-pep621., guix-commits, 2022/05/11
- 122/242: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/05/11
- 123/242: gnu: Add python-sphinx-sitemap., guix-commits, 2022/05/11
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/11
- 130/242: gnu: Add texlive-cm-lgc., guix-commits, 2022/05/11