guix-commits
[Top][All Lists]
Advanced

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

110/296: gnu: Add texlive-crefthe.


From: guix-commits
Subject: 110/296: gnu: Add texlive-crefthe.
Date: Thu, 24 Aug 2023 05:20:21 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 90e990c20924114b078b57c7dba1c3f629255dd2
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 22 16:03:41 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 93b2384e70..eee87ce2f1 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10245,6 +10245,28 @@ bearing the ability to support bachelor, master, 
doctor dissertations with
 grace and speed.")
     (license license:lppl1.3+)))
 
+(define-public texlive-crefthe
+  (package
+    (name "texlive-crefthe")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/crefthe/" "tex/latex/crefthe/")
+             (base32
+              "0gmyg9m4rma0qfg50d6i1lpdl4g71cx61517xl09vzy08r988i5j")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/crefthe";)
+    (synopsis "Cross referencing with proper definite articles")
+    (description
+     "By default, when using @code{cleveref}'s @code{\\cref} to reference
+@code{theorem}-like environments, the names do not contain definite articles.
+In languages such as French, Italian, Portuguese, Spanish, etc., this results
+in incorrect grammar.  For this purpose, the current package offers
+@code{\\crefthe}, which handles the definite articles properly (especially for
+the article contractions in many European languages).")
+    (license license:lppl1.3c)))
+
 (define-public texlive-crimson
   (package
     (name "texlive-crimson")



reply via email to

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