[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
76/110: gnu: Add texlive-etex.
From: |
guix-commits |
Subject: |
76/110: gnu: Add texlive-etex. |
Date: |
Mon, 22 Jul 2019 15:25:47 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit f6ad7ae7757a33d402c04b6c9a0234db788c57cb
Author: Ricardo Wurmus <address@hidden>
Date: Sun Jul 14 12:51:02 2019 +0200
gnu: Add texlive-etex.
* gnu/packages/tex.scm (texlive-etex): New variable.
---
gnu/packages/tex.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 52cc2c3..dba944e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1346,6 +1346,64 @@ output encodings, and features generation of clean UTF-8
patterns.")
;; This provides etex.src which is needed to build various formats, including
;; luatex.fmt and pdflatex.fmt
+(define-public texlive-etex
+ (let ((template (simple-texlive-package
+ "texlive-etex"
+ (list "/doc/etex/base/"
+ "/doc/man/man1/etex.1"
+ "/doc/man/man1/etex.man1.pdf"
+ "/tex/plain/etex/"
+ "/fonts/source/public/etex/")
+ (base32
+ "1qv6vxm5a8pw38gas3i69ivmsn79zj2yq5n5vdmh0rzic5hw2hmc")
+ #:trivial? #t)))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ ;; Build tfm font.
+ (replace 'build
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((mf (assoc-ref inputs "texlive-metafont-base")))
+ ;; Tell mf where to find mf.base
+ (setenv "MFBASES" (string-append mf
"/share/texmf-dist/web2c"))
+ ;; Tell mf where to look for source files
+ (setenv "MFINPUTS"
+ (string-append (getcwd)
+ "/fonts/source/public/etex/:"
+ mf "/share/texmf-dist/metafont/base:"
+ (assoc-ref inputs "texlive-fonts-cm")
+
"/share/texmf-dist/fonts/source/public/cm")))
+ (invoke "mf" "-progname=mf"
+ (string-append "\\"
+ "mode:=ljfour; "
+ "mag:=1; "
+ "scrollmode; "
+ "input xbmc10"))
+ #t))
+ (add-after 'install 'install-font
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file
+ "xbmc10.tfm"
+ (string-append (assoc-ref outputs "out")
+ "/share/texmf-dist/fonts/tfm/public/etex/"))
+ #t))))))
+ (native-inputs
+ `(("texlive-bin" ,texlive-bin)
+ ("texlive-metafont-base" ,texlive-metafont-base)
+ ("texlive-fonts-cm" ,texlive-fonts-cm)))
+ (home-page "https://www.ctan.org/pkg/etex")
+ (synopsis "Extended version of TeX")
+ (description
+ "This package provides an extended version of TeX (which is capable of
+running as if it were TeX unmodified). E-TeX has been specified by the LaTeX
+team as the engine for the development of LaTeX2e; as a result, LaTeX
+programmers may assume e-TeX functionality. The pdftex engine directly
+incorporates the e-TeX extensions.")
+ (license license:knuth))))
+
(define-public texlive-tex-plain
(package
(name "texlive-tex-plain")
- 73/110: gnu: Add texlive-hyphen-welsh., (continued)
- 73/110: gnu: Add texlive-hyphen-welsh., guix-commits, 2019/07/22
- 74/110: gnu: Add texlive-ukrhyph., guix-commits, 2019/07/22
- 59/110: gnu: Add texlive-hyphen-romanian., guix-commits, 2019/07/22
- 60/110: gnu: Add texlive-hyphen-romansh., guix-commits, 2019/07/22
- 77/110: gnu: Add texlive-latexconfig., guix-commits, 2019/07/22
- 63/110: gnu: Add texlive-hyphen-serbian., guix-commits, 2019/07/22
- 61/110: gnu: Add texlive-hyphen-russian., guix-commits, 2019/07/22
- 71/110: gnu: Add texlive-hyphen-ukrainian., guix-commits, 2019/07/22
- 69/110: gnu: Add texlive-hyphen-turkish., guix-commits, 2019/07/22
- 75/110: gnu: Add texlive-ruhyphen., guix-commits, 2019/07/22
- 76/110: gnu: Add texlive-etex.,
guix-commits <=
- 70/110: gnu: Add texlive-hyphen-turkmen., guix-commits, 2019/07/22
- 81/110: gnu: Add texlive-cm-super., guix-commits, 2019/07/22
- 79/110: gnu: Add texlive-fontinst., guix-commits, 2019/07/22
- 88/110: gnu: Add texlive-url., guix-commits, 2019/07/22
- 80/110: gnu: Add texlive-mflogo-font., guix-commits, 2019/07/22
- 78/110: gnu: Add texlive-docstrip., guix-commits, 2019/07/22
- 86/110: gnu: Add texlive-graphics-cfg., guix-commits, 2019/07/22
- 82/110: gnu: texlive-fontname: Simplify., guix-commits, 2019/07/22
- 85/110: gnu: Add texlive-graphics-def., guix-commits, 2019/07/22
- 83/110: gnu: Add texlive-lm., guix-commits, 2019/07/22