[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: texlive-latex-fontspec: Install default fontspec.cfg.
From: |
guix-commits |
Subject: |
01/12: gnu: texlive-latex-fontspec: Install default fontspec.cfg. |
Date: |
Tue, 15 Jan 2019 07:05:39 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 9c45beb4cc2972c1368fdbf21ee4fe467848f3a4
Author: Ricardo Wurmus <address@hidden>
Date: Mon Jan 14 22:10:06 2019 +0100
gnu: texlive-latex-fontspec: Install default fontspec.cfg.
* gnu/packages/tex.scm (texlive-latex-fontspec)[arguments]: Add build phase
to
install fontspec.cfg.
---
gnu/packages/tex.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 974a921..2876438 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1554,7 +1554,35 @@ programming tools and kernel supĀport. Packages
provided in this release are:
"1p0mkn6iywl0k4m9cx3hnhylpi499inisff3f72pcf349baqsnvq"))))
(build-system texlive-build-system)
(arguments
- '(#:tex-directory "latex/fontspec"))
+ '(#:tex-directory "latex/fontspec"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-default-fontspec.cfg
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-output-to-file
+ (string-append (assoc-ref outputs "out")
+
"/share/texmf-dist/tex/latex/fontspec/fontspec.cfg")
+ (lambda _
+ (display "\
+%%% FONTSPEC.CFG %%%
+%
+% This configuration file sets up TeX Ligatures by default for all fonts loaded
+% with `\\setmainfont` and `\\setsansfont`.
+%
+% In addition, `\\setmonofont` has default features to enforce \"monospace\"
+% settings with regard to space stretchability and shrinkability.
+
+\\defaultfontfeatures
+ [\\rmfamily,\\sffamily]
+ {Ligatures=TeX}
+
+\\defaultfontfeatures
+ [\\ttfamily]
+ {WordSpace={1,0,0},
+ HyphenChar=None,
+ PunctuationSpace=WordSpace}
+")))
+ #t)))))
(propagated-inputs
`(("texlive-latex-l3packages" ,texlive-latex-l3packages)))
(home-page "https://www.ctan.org/pkg/fontspec")
- 02/12: gnu: texlive-union: Wrap programs weakly., (continued)
- 02/12: gnu: texlive-union: Wrap programs weakly., guix-commits, 2019/01/15
- 05/12: gnu: texlive-union: Implement in terms of texlive-base., guix-commits, 2019/01/15
- 04/12: gnu: Add texlive-base., guix-commits, 2019/01/15
- 07/12: gnu: Add texlive-fonts-lm., guix-commits, 2019/01/15
- 06/12: gnu: Add texlive-fonts-cm-super., guix-commits, 2019/01/15
- 11/12: gnu: python-numpy-documentation: Add missing packages to texlive-union., guix-commits, 2019/01/15
- 09/12: gnu: texlive-bin: Do not truncate output lines., guix-commits, 2019/01/15
- 12/12: guix: Add profile hook to build TeX live configuration., guix-commits, 2019/01/15
- 08/12: gnu: Add texlive-luatex-luaotfload., guix-commits, 2019/01/15
- 10/12: gnu: texlive-fonts-amsfonts: Install type1 fonts., guix-commits, 2019/01/15
- 01/12: gnu: texlive-latex-fontspec: Install default fontspec.cfg.,
guix-commits <=