aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-07-09 11:29:17 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-07-09 17:07:27 +0200
commit702f23b3b85cd8a6aa11d3ebe1ad032faca3954b (patch)
tree44624a4a3a4fbdebe08c0d4814f3040b564cfef9 /gnu/packages/tex.scm
parentbb3b35975c61db3d1cb0d8522f80d139009e11a9 (diff)
downloadguix-702f23b3b85cd8a6aa11d3ebe1ad032faca3954b.tar
guix-702f23b3b85cd8a6aa11d3ebe1ad032faca3954b.tar.gz
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.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm15
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f4b6596e9d..e0584ebf17 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -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"))