ngz pushed a commit to branch tex-team-next
in repository guix.
commit 306831aa87efadaeece8dde3c23cd0a53818b658
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Fri May 12 18:19:15 2023 +0200
gnu: Add texlive-breakurl.
* gnu/packages/tex.scm (texlive-breakurl): 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 24d10c40fe..ca5b165599 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12359,6 +12359,30 @@ also contains the @code{flexisym} and @code{mathstyle}
packages, which are
both designated as support for @code{breqn}.")
(license license:lppl1.3+))))
+(define-public texlive-breakurl
+ (package
+ (name "texlive-breakurl")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/breakurl/" "source/latex/breakurl/"
+ "tex/latex/breakurl/")
+ (base32
+ "1lihfrihf1i300sddz09rsn6gj30g299warn88gli9hbrfy6nvw5")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-iftex texlive-latex-xkeyval))
+ (home-page "https://ctan.org/pkg/breakurl")
+ (synopsis "Line-breakable links in @code{hyperref} for dvips/ps2pdf")
+ (description
+ "This package provides a command much like @code{hyperref}'s @code{\\url}
+that typesets a URL using a typewriter-like font. However, if the dvips
+driver is being used, the original @code{\\url} doesn't allow line breaks in
+the middle of the created link: the link comes in one atomic piece. This
+package allows such line breaks in the generated links.")
+ (license license:lppl)))
+
(define-public texlive-comment
(package
(inherit (simple-texlive-package