me
/
guix
Archived
1
0
Fork 0

gnu: Add texlive-rviewport.

* gnu/packages/tex.scm (texlive-rviewport): New variable.
Nicolas Goaziou 2023-07-13 10:24:42 +02:00
parent c69faf82a2
commit 9d2c60cf16
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 28 additions and 0 deletions

View File

@ -3751,6 +3751,34 @@ steps can be customized in various ways.")
example to be used in educational material.") example to be used in educational material.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-rviewport
(package
(name "texlive-rviewport")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/rviewport/"
"source/latex/rviewport/"
"tex/latex/rviewport/")
(base32
"13mrihyid25h70800ix0mbqhs8dbi39nyif8f12mj54jpfdjhxcz")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/rviewport")
(synopsis "Relative viewport for graphics inclusion")
(description
"Package @code{graphicx} provides a useful keyword viewport which allows
to show just a part of an image. However, one needs to put there the actual
coordinates of the viewport window. Sometimes it is useful to have relative
coordinates as fractions of natural size. For example, one may want to print
a large image on a spread, putting a half on a verso page, and another half on
the next recto page. For this one would need a viewport occupying exactly one
half of the file's bounding box, whatever the actual width of the image may
be. This package adds a new keyword @code{rviewport} to the @code{graphicx}
package specifiying relative viewport for graphics inclusion: a window defined
by the given fractions of the natural width and height of the image.")
(license license:lppl)))
(define-public texlive-amiri (define-public texlive-amiri
(package (package
(name "texlive-amiri") (name "texlive-amiri")