From 5676b0b2bee5b8267cd580f8ad1f15c3084cf385 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 16:01:44 +0200 Subject: [PATCH] gnu: Add texlive-spverbatim. * gnu/packages/tex.scm (texlive-spverbatim): New variable. --- gnu/packages/tex.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 6c8a3cff58..3307d6b4e2 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -96311,6 +96311,30 @@ (define-public texlive-spreadtab be used in formulas to generate values in other cells.") (license license:lppl1.3c))) +(define-public texlive-spverbatim + (package + (name "texlive-spverbatim") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/spverbatim/" + "source/latex/spverbatim/" + "tex/latex/spverbatim/") + (base32 + "0nxnq5naphz9kj4a6d3yv8x9xamqi4lnhrmd9jbw4saknwc77n7p"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/spverbatim") + (synopsis "Allow line breaks within @code{\\verb} and verbatim output") + (description + "LaTeX's @code{\\verb} macro treats its argument as an unbreakable unit of +text. This can lead to poor typesetting, especially when the argument is +long. The @code{spverbatim} package provides an @code{\\spverb} macro that is +analogous to @code{\\verb} and an @code{spverbatim} environment that is +analogous to verbatim with the difference being that @code{\\spverb} and +spverbatim allow LaTeX to break lines at space characters.") + (license license:lppl))) + ;;; ;;; 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