[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/16: gnu: texlive-fonts-cm: Include type1 fonts.
From: |
guix-commits |
Subject: |
10/16: gnu: texlive-fonts-cm: Include type1 fonts. |
Date: |
Fri, 14 Dec 2018 17:32:49 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit 6534e8853d27a54af1b24bc0a73dc61401c4e77c
Author: Pierre Neidhardt <address@hidden>
Date: Fri Dec 14 19:44:36 2018 +0100
gnu: texlive-fonts-cm: Include type1 fonts.
* gnu/packages/tex.scm (texlive-fonts-cm): Include type1 fonts.
---
gnu/packages/tex.scm | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 821ee64..d08251f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -609,20 +609,36 @@ documents.")
(find-files "." "cm(.*[0-9]+.*|inch)\\.mf$"))
#t))
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(tfm (string-append
out "/share/texmf-dist/fonts/tfm/public/cm"))
- (mf (string-append
- out "/share/texmf-dist/fonts/source/public/cm")))
+ (mf (string-append
+ out "/share/texmf-dist/fonts/source/public/cm"))
+ (type1 (string-append
+ out
"/share/texmf-dist/fonts/type1/public/amsfonts/cm")))
(for-each (cut install-file <> tfm)
(find-files "build" "\\.*"))
(for-each (cut install-file <> mf)
(find-files "." "\\.mf"))
+ (mkdir-p type1)
+ (copy-recursively (assoc-ref inputs "cm-type1") type1)
#t))))))
(native-inputs
`(("texlive-bin" ,texlive-bin)
- ("texlive-metafont-base" ,texlive-metafont-base)))
+ ("texlive-metafont-base" ,texlive-metafont-base)
+ ("cm-type1"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/fonts/type1/public/amsfonts/cm"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-type1-" version "-checkout"))
+ (sha256
+ (base32
+ "12jyl9jp3hidifa4l5pmi47p71d5mb5kj5rknxkygilix8yz2iy6"))))))
(home-page "https://www.ctan.org/pkg/cm")
(synopsis "Computer Modern fonts for TeX")
(description "This package provides the Computer Modern fonts by Donald
- branch master updated (066d967 -> dc56dc0), guix-commits, 2018/12/14
- 02/16: gnu: chez-web: Fix conflicting bootstrap phase., guix-commits, 2018/12/14
- 09/16: gnu: texlive-dvips: Include all maps., guix-commits, 2018/12/14
- 11/16: gnu: texlive-generic-pdftex: Include pdftex map., guix-commits, 2018/12/14
- 06/16: gnu: Add texlive-bibtex., guix-commits, 2018/12/14
- 10/16: gnu: texlive-fonts-cm: Include type1 fonts.,
guix-commits <=
- 16/16: doc: Discourage the use of texlive as input, guix-commits, 2018/12/14
- 01/16: gnu: chez-scheme: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 03/16: gnu: coq: Remove unused texlive and hevea from native-inputs., guix-commits, 2018/12/14
- 13/16: gnu: Add texlive-context-base., guix-commits, 2018/12/14
- 08/16: gnu: unison: Replace texlive input with texlive-tiny., guix-commits, 2018/12/14
- 04/16: gnu: Add texlive-generic-xypic., guix-commits, 2018/12/14
- 12/16: gnu: Add texlive-fonts-charter., guix-commits, 2018/12/14
- 07/16: gnu: hypre: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 05/16: gnu: Add texlive-fonts-xypic., guix-commits, 2018/12/14
- 15/16: gnu: chez-sockets: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14