guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/18: gnu: Add texlive-sourcesanspro.


From: guix-commits
Subject: 13/18: gnu: Add texlive-sourcesanspro.
Date: Fri, 5 Aug 2022 09:28:56 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f7fed0d994439a8a187c8bd0f3814fd82c49f492
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jul 30 21:08:48 2022 -0400

    gnu: Add texlive-sourcesanspro.
    
    * gnu/packages/tex.scm (texlive-sourcesanspro): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/tex.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7a68705f7c..7afb76a763 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11439,3 +11439,31 @@ bibliographies, and displaying personal pronouns.")
 typesetting equations in the languages of vector calculus and linear
 algebra, using Dirac notation.")
     (license license:lppl)))
+
+(define-public texlive-sourcesanspro
+  (package
+    (inherit (simple-texlive-package
+              "texlive-sourcesanspro"
+              '("/doc/latex/sourcesanspro/"
+                "/fonts/enc/dvips/sourcesanspro/"
+                "/fonts/map/dvips/sourcesanspro/"
+                "/fonts/opentype/adobe/sourcesanspro/"
+                ;; ^ It would be tempting to use our
+                ;; font-adobe-source-sans-pro for these, but the version in
+                ;; texlive could differ from our version: probably the
+                ;; difference would be small, but debugging would not be fun.
+                ;; If the files are really identical, Guix will hard-link them
+                ;; anyway.
+                "/fonts/tfm/adobe/sourcesanspro/"
+                "/fonts/type1/adobe/sourcesanspro/"
+                "/fonts/vf/adobe/sourcesanspro/"
+                "/tex/latex/sourcesanspro/")
+              (base32
+               "18z7ln8dyh0sp6v0vdvc6qqxnpg3h3ix0f5magjcjbpay54kl0i3")
+              #:trivial? #t))
+    (home-page "https://ctan.org/pkg/sourcesanspro";)
+    (synopsis "Use Source Sans Pro with TeX(-alike) systems")
+    (description "This package provides the Source Sans Pro font family from
+Adobe in both Adobe Type 1 and OpenType formats, plus macros supporting the
+use of the fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).")
+    (license (list license:lppl1.3+ license:silofl1.1))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]