guix-commits
[Top][All Lists]
Advanced

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

20/418: gnu: Add texlive-mfirstuc.


From: guix-commits
Subject: 20/418: gnu: Add texlive-mfirstuc.
Date: Fri, 2 Jun 2023 17:23:49 -0400 (EDT)

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

commit 84ec75a434913bfc3728f02e224e22720d274e1a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 6 07:51:59 2023 +0200

    gnu: Add texlive-mfirstuc.
    
    * gnu/packages/tex.scm (texlive-mfirstuc): New variable.
---
 gnu/packages/tex.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1137f686b8..9d7289fdbe 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -929,6 +929,34 @@ build fonts using the Metafont system.")
 
 (define-deprecated-package texlive-metafont-base texlive-metafont)
 
+(define-public texlive-mfirstuc
+  (package
+    (name "texlive-mfirstuc")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/mfirstuc/"
+                   "scripts/mfirstuc/"
+                   "source/latex/mfirstuc/"
+                   "tex/latex/mfirstuc/")
+             (base32
+              "033ymwwc6q0v6saq0x2jc20vc94d38hna0vb8cymj3d8irqy97x2")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-etoolbox))
+    (home-page "https://ctan.org/pkg/mfirstuc";)
+    (synopsis "Uppercase the first letter of a word")
+    (description
+     "The package provides commands @code{\\makefirstuc} that uppercases the
+first letter in its argument (with a check for a semantic markup command at
+the start of the argument), and @code{\\xmakefirstuc} which expands the
+argument before uppercasing.  It also provides
+@code{\\capitalisewords@{phrase@}} which applies @code{\\makefirstuc} to each
+word in the phrase, where the words are separated by regular
+spaces.  (Exceptions can be made for words that shouldn't be converted.)")
+    (license license:lppl1.3+)))
+
 (define-public texlive-fontinst
   (let ((template (simple-texlive-package
                    "texlive-fontinst"



reply via email to

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