[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/233: gnu: Add texlive-stix2-otf.
From: |
guix-commits |
Subject: |
13/233: gnu: Add texlive-stix2-otf. |
Date: |
Sun, 24 Apr 2022 23:39:34 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 0df5238421d278edcdccda73c4a6ded6de46e706
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Mar 31 11:00:30 2022 -0400
gnu: Add texlive-stix2-otf.
* 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 @@ package supports pdfTeX (pdfLaTeX) and VTeX. With VTeX
it is even possible to
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"
- 02/233: gnu: python-astroid: Propagate python-typing-extensions., (continued)
- 02/233: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/04/24
- 06/233: gnu: Add python-stack-data., guix-commits, 2022/04/24
- 05/233: gnu: Add python-littleutils., guix-commits, 2022/04/24
- 03/233: gnu: Add python-pure-eval., guix-commits, 2022/04/24
- 10/233: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/24
- 14/233: gnu: Add texlive-metalogo., guix-commits, 2022/04/24
- 17/233: gnu: Add texlive-cs., guix-commits, 2022/04/24
- 07/233: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/04/24
- 09/233: gnu: python-prompt-toolkit: Update to 3.0.29., guix-commits, 2022/04/24
- 11/233: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/04/24
- 13/233: gnu: Add texlive-stix2-otf.,
guix-commits <=
- 15/233: gnu: Add texlive-makecmds., guix-commits, 2022/04/24
- 04/233: gnu: Add python-asttokens., guix-commits, 2022/04/24
- 16/233: gnu: Add texlive-csplain., guix-commits, 2022/04/24
- 20/233: gnu: Add opentype-sanitizer., guix-commits, 2022/04/24
- 22/233: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/24
- 23/233: gnu: Add python-fontmath., guix-commits, 2022/04/24
- 28/233: gnu: Add python-booleanoperations., guix-commits, 2022/04/24
- 29/233: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/24
- 32/233: gnu: Add python-fontparts., guix-commits, 2022/04/24
- 12/233: gnu: Add texlive-paralist., guix-commits, 2022/04/24