gnu: texlive-latex-base: Fix xetex and xelatex formats.

* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Build xetex and
xelatex formats with matching interpreters.
This commit is contained in:
Ricardo Wurmus 2017-07-09 11:29:17 +02:00
parent bb3b35975c
commit 702f23b3b8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 6 deletions

View File

@ -743,25 +743,28 @@ book).")
;; leading asterisk). We should not use luatex here,
;; because that would make the generated format files
;; incompatible with any other TeX engine.
;; FIXME: XeTeX fails to build because neither
;; \XeTeXuseglyphmetrics nor \XeTeXdashbreakstate are
;; defined.
(every
(lambda (format)
(zero? (system* "latex" "-ini" "-interaction=batchmode"
"-output-directory=web2c"
"-translate-file=cp227.tcx"
(string-append "*" format ".ini"))))
'("latex" ;"xetex"
'("latex"
"pdflatex"
"pdfetex"))
(every
(lambda (format)
(zero? (system* format "-ini" "-interaction=batchmode"
"-output-directory=web2c"
(string-append "*" format ".ini"))))
'("xetex"
"xelatex"))
(every
(lambda (format)
(zero? (system* "luatex" "-ini" "-interaction=batchmode"
"-output-directory=web2c"
(string-append format ".ini"))))
'("dviluatex" "dvilualatex" "luatex" "lualatex" "xelatex")))))
'("dviluatex" "dvilualatex" "luatex" "lualatex")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))