guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: Add texlive-translator.


From: guix-commits
Subject: 07/08: gnu: Add texlive-translator.
Date: Tue, 16 Nov 2021 08:38:55 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit e699eb3bccab17cd24ca57ce27e3544c9a8927fc
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Nov 16 13:39:39 2021 +0100

    gnu: Add texlive-translator.
    
    * gnu/packages/tex.scm (texlive-translator): New variable.
    
    Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
---
 gnu/packages/tex.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3c174a3..ba959b8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8829,6 +8829,28 @@ are valid as arguments for the macros.  The package may 
be used under
 LaTeX and plain TeX.")
     (license (license:fsf-free "file:/binhex.dtx"))))
 
+(define-public texlive-translator
+  (package
+    (inherit (simple-texlive-package
+              "texlive-translator"
+              (list "doc/latex/translator/"
+                    "tex/latex/translator/")
+              (base32
+               "1pac03qghaw9q98skfrgzgk4wnz04pgizw59c4k5ydphw1vpsvcz")
+              #:trivial? #t))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/macros/latex/contrib/translator";)
+    (synopsis "Easy translation of strings in LaTeX")
+    (description
+     "This LaTeX package provides a flexible mechanism for translating
+individual words into different languages.  For example, it can be used to
+translate a word like \"figure\" into, say, the German word \"Abbildung\".
+Such a translation mechanism is useful when the author of some package would
+like to localize the package such that texts are correctly translated into the
+language preferred by the user.  This package is not intended to be used to
+automatically translate more than a few words.")
+    (license (list license:lppl license:gpl1+))))
+
 (define-public bibtool
   (package
     (name "bibtool")



reply via email to

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