From 90e990c20924114b078b57c7dba1c3f629255dd2 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 22 Aug 2023 16:03:41 +0200 Subject: gnu: Add texlive-crefthe. * gnu/packages/tex.scm (texlive-crefthe): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/tex.scm') 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") -- cgit v1.2.3