[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/18: gnu: Add texlive-soulutf8.
From: |
guix-commits |
Subject: |
06/18: gnu: Add texlive-soulutf8. |
Date: |
Sat, 8 Apr 2023 08:14:50 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 53c1e4316d97e794ef015c1fd16bf987c9d595ed
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Mar 31 09:54:52 2023 +0200
gnu: Add texlive-soulutf8.
* gnu/packages/tex.scm (texlive-soulutf8): New variable.
---
gnu/packages/tex.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b40e72c582..0257bb89a6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12452,6 +12452,46 @@ syllable. The package itself does not support UTF-8
input in ordinary
(define-deprecated-package texlive-generic-soul texlive-soul)
+(define-public texlive-soulutf8
+ (let ((template (simple-texlive-package
+ "texlive-soulutf8"
+ (list "doc/latex/soulutf8/"
+ "source/latex/soulutf8/"
+ "tex/generic/soulutf8/")
+ (base32
+ "0d9lv3xsads8ms642ys3pghxnsa2hlzafkcx66d2hbq224bz1phc"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t) "generic/soulutf8")
+ ((#:build-targets _ '()) '(list "soulutf8.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/soulutf8/")))
+ (replace 'copy-files
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((origin (assoc-ref inputs "source"))
+ (source (string-append #$output
+ "/share/texmf-dist/source"))
+ (doc (string-append #$output:doc
+ "/share/texmf-dist/doc")))
+ (copy-recursively (string-append origin "/source") source)
+ (copy-recursively (string-append origin "/doc") doc))))))))
+ (propagated-inputs
+ (list texlive-generic-etexcmds
+ texlive-generic-infwarerr
+ texlive-soul))
+ (home-page "https://ctan.org/pkg/soulutf8")
+ (synopsis "Permit use of UTF-8 characters in @code{soul}")
+ (description
+ "This package extends package @code{soul} and adds some support for
+UTF-8. Namely the input encodings in @file{utf8.def} from package
+@code{inputenc} and @file{utf8x.def} from package @code{ucs} are supported.")
+ (license license:lppl1.3+))))
+
(define-public texlive-xstring
(let ((template (simple-texlive-package
"texlive-xstring"
- branch master updated (ff05a38d20 -> b08cdfc6d3), guix-commits, 2023/04/08
- 06/18: gnu: Add texlive-soulutf8.,
guix-commits <=
- 05/18: gnu: Add emacs-gptel., guix-commits, 2023/04/08
- 09/18: gnu: tuxedo-keyboard: Update to 3.2.1., guix-commits, 2023/04/08
- 02/18: gnu: Add sentencepiece., guix-commits, 2023/04/08
- 01/18: gnu: Remove abandoned spotify-tui package., guix-commits, 2023/04/08
- 12/18: gnu: darktable: Update to 4.2.1., guix-commits, 2023/04/08
- 15/18: gnu: gallery-dl: Update to 1.25.1., guix-commits, 2023/04/08
- 16/18: gnu: Add emacs-flymake-popon., guix-commits, 2023/04/08
- 17/18: gnu: emacs-ement: Update to 0.8.2., guix-commits, 2023/04/08
- 07/18: gnu: fet: Update to 6.8.7., guix-commits, 2023/04/08
- 08/18: gnu: pyzo: Update to 4.12.8., guix-commits, 2023/04/08