guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

180/435: gnu: Add texlive-listngsutf8.


From: guix-commits
Subject: 180/435: gnu: Add texlive-listngsutf8.
Date: Tue, 6 Jun 2023 11:39:39 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit b169fff2d39bdd49416d18009039a1a9c29ba04c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]