[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/39: gnu: Add texlive-xecjk.
From: |
guix-commits |
Subject: |
27/39: gnu: Add texlive-xecjk. |
Date: |
Tue, 15 Aug 2023 07:38:51 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 5f419cb2ecd69fc1b8698b39caf85f0f3308b9f1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 15 13:12:46 2023 +0200
gnu: Add texlive-xecjk.
* gnu/packages/tex.scm (texlive-xecjk): New variable.
---
gnu/packages/tex.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3aab55d884..a7767317ae 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10481,6 +10481,48 @@ Native American languages.")
"This package provides LaTeX support for the @code{wnri} fonts.")
(license license:gpl2)))
+(define-public texlive-xecjk
+ (package
+ (name "texlive-xecjk")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/xelatex/xecjk/"
+ "fonts/misc/xetex/fontmapping/xecjk/"
+ "source/xelatex/xecjk/" "tex/xelatex/xecjk/")
+ (base32
+ "0mpmfrj0n00gpnh67zh627vxhpp6vim8x755vdpb75h36k8zm6yq")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'copy-ctxdocstrip.tex
+ ;; There's a circular dependency between this package (where
+ ;; `ctex' should be a native input) and `ctex' (where this package
+ ;; is a propagated input). To work around this, install the
+ ;; specific "ctxdocstrip.tex" file from `ctex' in the build
+ ;; directory and set TEXINPUTS variable accordingly so the process
+ ;; can find it.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (install-file (search-input-file inputs
+
"tex/generic/ctex/ctxdocstrip.tex")
+ "build/")
+ (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
+ (native-inputs
+ (list (texlive-origin
+ "ctxdocstrip.tex" (number->string %texlive-revision)
+ (list "tex/generic/ctex/ctxdocstrip.tex")
+ (base32
+ "154v2d6wfzhfg654nlh2apy9zr78d09rkimymyjqpxymkpbk8lli"))))
+ (home-page "https://ctan.org/pkg/xecjk")
+ (synopsis "Support for CJK documents in XeLaTeX")
+ (description
+ "This package provides a LaTeX package for typesetting CJK documents in
+the way users have become used to, in the CJK package.")
+ (license license:lppl1.3c)))
+
(define-public texlive-xecyrmongolian
(package
(name "texlive-xecyrmongolian")
- 31/39: gnu: Add texlive-c90., (continued)
- 31/39: gnu: Add texlive-c90., guix-commits, 2023/08/15
- 36/39: gnu: Add texlive-evangelion-jfm., guix-commits, 2023/08/15
- 23/39: gnu: Add texlive-xpinyin., guix-commits, 2023/08/15
- 29/39: gnu: Add texlive-zitie., guix-commits, 2023/08/15
- 05/39: gnu: Add texlive-norasi-c90., guix-commits, 2023/08/15
- 08/39: gnu: Add texlive-cjk., guix-commits, 2023/08/15
- 33/39: gnu: Add texlive-cjkutils., guix-commits, 2023/08/15
- 13/39: gnu: Add texlive-platex-tools., guix-commits, 2023/08/15
- 20/39: gnu: Add texlive-platex., guix-commits, 2023/08/15
- 17/39: gnu: Add texlive-uptex-base., guix-commits, 2023/08/15
- 27/39: gnu: Add texlive-xecjk.,
guix-commits <=
- 26/39: gnu: Add texlive-zhnumber., guix-commits, 2023/08/15
- 35/39: gnu: Add texlive-dnp., guix-commits, 2023/08/15
- 34/39: gnu: Add texlive-pxtatescale., guix-commits, 2023/08/15
- 39/39: gnu: Add texlive-collection-langcjk., guix-commits, 2023/08/15
- 04/39: gnu: Add texlive-garuda-c90., guix-commits, 2023/08/15
- 11/39: gnu: Add texlive-fandol., guix-commits, 2023/08/15
- 07/39: gnu: Add texlive-wadalab., guix-commits, 2023/08/15
- 15/39: gnu: Add texlive-ptex-fonts., guix-commits, 2023/08/15
- 24/39: gnu: Add texlive-zhmetrics., guix-commits, 2023/08/15