From b75e8579ea7fb70c2742222e8ce36fdf5ad869b5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:53:17 +0200 Subject: [PATCH] gnu: Add texlive-issuulinks. * gnu/packages/tex.scm (texlive-issuulinks): 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 d784059ab3..1fee254290 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -85944,6 +85944,34 @@ normal class.") and atomic number indications of isotopes.") (license license:lppl))) +(define-public texlive-issuulinks + (package + (name "texlive-issuulinks") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/issuulinks/" + "source/latex/issuulinks/" + "tex/latex/issuulinks/") + (base32 + "1lawg1l5q0c6vblwmj9nyszqk9q3ivmk05bpczwycc28xsmr6rd6"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/issuulinks") + (synopsis "Produce external links instead of internal ones") + (description + "The PDF visualizer @url{http://issuu.com/ISSUU} is a popular service which +shows PDF documents ``a page a time''. Due to the way it is implemented, +internal links in these documents are not allowed. Instead, they must be +converted to external ones in the form +@url{http://issuu.com/action/page?page=PAGENUMBER}. The package patches +@code{hyperref} to produce external links in the required form instead of +internal links created by @code{\\ref}, @code{\\cite} and other commands. + +Since the package redefines the internals of @code{hyperref}, it must be +loaded after @code{hyperref}.") + (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