[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 013/232] gnu: Add texlive-stix2-otf.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 013/232] gnu: Add texlive-stix2-otf. |
Date: |
Sun, 24 Apr 2022 23:55:39 -0400 |
* gnu/packages/tex.scm (texlive-stix2-otf): New variable.
---
gnu/packages/tex.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8c31d131b6..c3129ebd60 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6445,6 +6445,41 @@ (define-public texlive-latex-pdfpages
use this package to insert PostScript files, in addition to PDF files.")
(license license:lppl1.3+)))
+(define-public texlive-stix2-otf
+ (let ((base (simple-texlive-package
+ "texlive-stix2-otf"
+ (list "/doc/fonts/stix2-otf/"
+ "/fonts/opentype/public/stix2-otf/")
+ (base32 "0i7rd1wn5jgm3gbi779gy78apz63w034ck4pn73xw6s10zgjzmgl")
+ ;; Building these fonts requires FontLab, which is nonfree.
+ #:trivial? #t)))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'install 'symlink-fonts-to-system-fonts-prefix
+ ;; This is so that fontconfig can locate the fonts, such as
+ ;; when using xetex or xelatex.
+ (lambda _
+ (let ((system-fonts-prefix (string-append #$output
+ "/share/fonts")))
+ (mkdir-p system-fonts-prefix)
+ (symlink (string-append
+ #$output "/share/texmf-dist/fonts/opentype"
+ "/public/stix2-otf")
+ (string-append system-fonts-prefix
+ "/stix2-otf")))))))))
+ (home-page "https://www.stixfonts.org/")
+ (synopsis "OpenType Unicode text and maths fonts")
+ (description "The Scientific and Technical Information eXchange (STIX)
+fonts are intended to satisfy the demanding needs of authors, publishers,
+printers, and others working in the scientific, medical, and technical fields.
+They combine a comprehensive Unicode-based collection of mathematical symbols
+and alphabets with a set of text faces suitable for professional publishing.")
+ (license license:silofl1.1))))
+
(define-public texlive-stmaryrd
(let ((template (simple-texlive-package
"texlive-stmaryrd"
--
2.34.0
- [bug#55104] [PATCH 016/232] gnu: Add texlive-csplain., (continued)
- [bug#55104] [PATCH 016/232] gnu: Add texlive-csplain., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 022/232] gnu: Add python-defcon-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 021/232] gnu: Add python-opentype-sanitizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 035/232] gnu: Add python-ufonormalizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 032/232] gnu: Add python-fontparts., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 038/232] gnu: Add python-jaraco-context-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 043/232] gnu: Add python-pytest-freezegun., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 075/232] gnu: python-scipy: Update to 1.8.0 and enable parallel build., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 083/232] gnu: Add python-compreffor., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 011/232] gnu: python-nbformat: Update to 5.3.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 013/232] gnu: Add texlive-stix2-otf.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 012/232] gnu: Add texlive-paralist., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 014/232] gnu: Add texlive-metalogo., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 019/232] gnu: Add python-pcpp., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 017/232] gnu: Add texlive-cs., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 028/232] gnu: Add python-booleanoperations., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 029/232] gnu: Add python-fontparts-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 044/232] gnu: Add python-pytest-enabler-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., Maxim Cournoyer, 2022/04/25