ngz pushed a commit to branch tex-team-next
in repository guix.
commit b096955a510132ecf8985e94e40d274d89469716
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Sun May 14 22:24:58 2023 +0200
gnu: Add texlive-newverbs.
* gnu/packages/tex.scm (texlive-newverbs): New variable.
---
gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7b4815801e..c2b4ff6d6a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5618,6 +5618,33 @@ Unicode option of @code{inputenc} or @code{inputenx}, or
by XeLaTeX/LuaLaTeX.")
(define-deprecated-package texlive-latex-newunicodechar texlive-newunicodechar)
+(define-public texlive-newverbs
+ (package
+ (name "texlive-newverbs")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/newverbs/" "source/latex/newverbs/"
+ "tex/latex/newverbs/")
+ (base32
+ "1m3afrpyc75g5gdxfknad565r5jgmwks98skkqycm66i92ky9dqr")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (native-inputs
+ (list texlive-ydoc))
+ (home-page "https://ctan.org/pkg/newverbs")
+ (synopsis "Define new versions of @code{\\verb}")
+ (description
+ "The package allows the definition of @code{\\verb} variants which add
+TeX code before and after the verbatim text (e.g., quotes or surrounding
+@code{\\fbox@{@}}). When used together with the @code{shortvrb} package it
+allows the definition of short verbatim characters which use this package's
+variant instead of the normal @code{\\verb}. In addition, it is possible to
+collect an argument verbatim to either typeset or write it into a file. The
+@code{\\Verbdef} command defines verbatim text to a macro which can later be
+used to write the verbatim text to a file.")
+ (license license:lppl1.3+)))
+
(define-public texlive-pdftexcmds
(let ((template (simple-texlive-package
"texlive-pdftexcmds"