ngz pushed a commit to branch tex-team-next
in repository guix.
commit 310028225e571b1858c4f69fe2ce6b6286956e45
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Mon May 15 13:49:13 2023 +0200
gnu: Add texlive-listngsutf8.
* gnu/packages/tex.scm (texlive-listngsutf8): New variable.
---
gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 32b909e737..717e6c4360 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7162,6 +7162,33 @@ is needed. Keywords, comments and strings can be
typeset using different
styles. Support for @code{hyperref} is provided.")
(license license:lppl1.3+))))
+(define-public texlive-listingsutf8
+ (package
+ (name "texlive-listingsutf8")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/listingsutf8/"
+ "source/latex/listingsutf8/"
+ "tex/latex/listingsutf8/")
+ (base32
+ "152gzkzm7sl3bvggmmfcj1pw74vc40s2kpkbp01fd9i0d0v60wma")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-listings
+ texlive-pdftexcmds
+ texlive-stringenc))
+ (home-page "https://ctan.org/pkg/listingsutf8")
+ (synopsis "Allow UTF-8 in listings input")
+ (description
+ "Package @code{listings} does not support files with multi-byte encodings
+such as UTF-8. In the case of @code{\\lstinputlisting}, a simple workaround
+is possible if a one-byte encoding exists that the file can be converted to.
+The package requires the e-TeX extensions under pdfTeX (in either PDF or DVI
+output mode).")
+ (license license:lppl1.3+)))
+
(define-deprecated-package texlive-latex-listings texlive-listings)
(define-public texlive-jknapltx