guix-commits
[Top][All Lists]
Advanced

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

07/10: gnu: Add texlive-textcase.


From: guix-commits
Subject: 07/10: gnu: Add texlive-textcase.
Date: Fri, 28 Jan 2022 17:52:44 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 476e39e3b2b48a8f388fc129fb6a25ea316ed45a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jan 28 23:26:37 2022 +0100

    gnu: Add texlive-textcase.
    
    * gnu/packages/tex.scm (texlive-textcase): 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 67b5b70d94..5ee1c3e071 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5495,6 +5495,33 @@ other programs in the distribution offer online 
interactive use (with
 hypertext linkages in some cases).")
     (license license:gpl3+)))
 
+(define-public texlive-textcase
+  (package
+    (inherit (simple-texlive-package
+              "texlive-textcase"
+              (list "doc/latex/textcase/"
+                    "tex/latex/textcase/"
+                    "source/latex/textcase/")
+              (base32
+               "185fibd41wd0v51gnai29ygi32snkk00p00110kcnk1bcnmpiw82")
+              #:trivial? #t))
+    (home-page "https://ctan.org/macros/latex/contrib/textcase";)
+    (synopsis "Case conversion ignoring mathematics, etc")
+    (description
+     "The textcase package offers commands @code{\\MakeTextUppercase} and
+@code{\\MakeTextLowercase} are similar to the standard @code{\\MakeUppercase}
+and @code{\\MakeLowercase}, but they do not change the case of any sections of
+mathematics, or the arguments of @code{\\cite}, @code{\\label} and
+@code{\\ref} commands within the argument.  A further command
+@code{\\NoCaseChange} does nothing but suppress case change within its
+argument, so to force uppercase of a section including an environment, one
+might say:
+
+@example
+\\MakeTextUppercase{...\\NoCaseChange{\\begin{foo}} 
...\\NoCaseChange{\\end{foo}}...}
+@end example\n")
+    (license license:lppl)))
+
 (define-public texlive-latex-upquote
   (package
     (name "texlive-latex-upquote")



reply via email to

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