From db6478ad42e6fc33def229aea0a43dd3fc748237 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 16:03:23 +0200 Subject: [PATCH] gnu: Add texlive-titlecaps. * gnu/packages/tex.scm (texlive-titlecaps): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 02ad707b99..e8c00a9768 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -98218,6 +98218,29 @@ viewed as an ASCII-based input method for producing IPA characters in Unicode. It needs the New Computer Modern font for printing IPA characters.") (license (list license:gpl3+ license:fdl1.3+)))) +(define-public texlive-titlecaps + (package + (name "texlive-titlecaps") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/titlecaps/" + "tex/latex/titlecaps/") + (base32 + "0v921cy02dm72q60976vijpcbp5zpwljgr7y8ry5n4gqzzinnfbj"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/titlecaps") + (synopsis "Setting rich-text input into titling caps") + (description + "The package is intended for setting rich text into titling capitals (in which +the first character of words are capitalized). It automatically accounts for +diacritical marks (like umlauts), national symbols (like @samp{ae}), +punctuation, and font changing commands that alter the appearance or size of +the text. It allows a list of predesignated words to be protected as +lower-cased, and also allows for titling exceptions of various sorts.") + (license license:lppl1.3+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar