[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/39: gnu: Add texlive-xcjk2uni.
From: |
guix-commits |
Subject: |
22/39: gnu: Add texlive-xcjk2uni. |
Date: |
Tue, 15 Aug 2023 07:38:50 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 5a8b23185d3ad4ae4f4a07807447cc5b598a0322
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 15 13:10:02 2023 +0200
gnu: Add texlive-xcjk2uni.
* gnu/packages/tex.scm (texlive-xcjk2uni): New variable.
---
gnu/packages/tex.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7b331a9873..2999084f02 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -22945,6 +22945,51 @@ for the user.")
(define-deprecated-package texlive-latex-hycolor texlive-hycolor)
+(define-public texlive-xcjk2uni
+ (package
+ (name "texlive-xcjk2uni")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/xcjk2uni/"
+ "source/latex/xcjk2uni/"
+ "tex/latex/xcjk2uni/")
+ (base32
+ "1vjp47ngrirrvbnk4vnm5lbysj3qlbwxbfc1szc22gaikm52ggaq")))
+ (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/xcjk2uni")
+ (synopsis "Convert CJK characters to Unicode, in pdfTeX")
+ (description
+ "The package provides commands to convert CJK characters to Unicode in
+non-UTF-8 encoding; it provides hooks to support hyperref in producing correct
+bookmarks. The bundle also provides @code{/ToUnicode} mapping file(s) for
+a CJK subfont; these can be used with the cmap package, allowing searches of,
+and cut-and-paste operations on a PDF file generated by pdfTeX.")
+ (license license:lppl1.3c)))
+
(define-public texlive-xcolor
(package
(name "texlive-xcolor")
- branch master updated (f2943958a2 -> 8103ed81f6), guix-commits, 2023/08/15
- 01/39: gnu: Add texlive-adobemapping., guix-commits, 2023/08/15
- 02/39: gnu: Add texlive-arphic., guix-commits, 2023/08/15
- 03/39: gnu: Add texlive-cns., guix-commits, 2023/08/15
- 12/39: gnu: Add texlive-luatexja., guix-commits, 2023/08/15
- 28/39: gnu: Add texlive-ctex., guix-commits, 2023/08/15
- 22/39: gnu: Add texlive-xcjk2uni.,
guix-commits <=
- 38/39: gnu: Add texlive-jfmutil., guix-commits, 2023/08/15
- 32/39: gnu: Add texlive-cjk-gs-integrate., guix-commits, 2023/08/15
- 37/39: gnu: Add texlive-fixjfm., guix-commits, 2023/08/15
- 06/39: gnu: Add texlive-uhc., guix-commits, 2023/08/15
- 10/39: gnu: Add texlive-everyhook., guix-commits, 2023/08/15
- 09/39: gnu: Add texlive-cjkpunct., guix-commits, 2023/08/15
- 14/39: gnu: Add texlive-ptex., guix-commits, 2023/08/15
- 16/39: gnu: Add texlive-ptex-base., guix-commits, 2023/08/15
- 19/39: gnu: Add texlive-uptex., guix-commits, 2023/08/15
- 21/39: gnu: Add texlive-uplatex., guix-commits, 2023/08/15