From 32ab7ef34a5207b5813289311e03e8aa3dba0a7c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 20 Jul 2023 10:44:42 +0200 Subject: [PATCH] gnu: Add texlive-catcodes. * gnu/packages/tex.scm (texlive-catcodes): 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 85637199f2..9fbf6fef3f 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1365,6 +1365,34 @@ (define-public texlive-c-pascal in Python, C and Pascal. Program source files may also be input.") (license license:public-domain))) +(define-public texlive-catcodes + (package + (name "texlive-catcodes") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/generic/catcodes/" + "source/generic/catcodes/" + "tex/generic/catcodes/") + (base32 + "0di6rd5c0viiwvc6ncwndah38q318l3s1pf47ddmzjdq6rys9s33"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/catcodes") + (synopsis "Generic handling of TeX category codes") + (description + "The bundle deals with category code switching; the packages of the +bundle should work with any TeX format (with the support of the +@code{plainpkg} package). The bundle provides: +@itemize +@item @file{stacklet.sty}, which supports stacks that control the use of +different catcodes; +@item @file{actcodes.sty}, which deals with active characters; +@item @file{catchdq.sty}, which provides a simple quotation character control +mechanism. +@end itemize") + (license license:lppl1.3+))) + (define-public texlive-dosepsbin (package (name "texlive-dosepsbin")