[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: gnu: Add texlive-adjustbox.
From: |
guix-commits |
Subject: |
05/09: gnu: Add texlive-adjustbox. |
Date: |
Tue, 4 May 2021 09:17:50 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit be50619b30ff74894591d3dc438672dfa9967d57
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 4 15:09:46 2021 +0200
gnu: Add texlive-adjustbox.
* gnu/packages/tex.scm (texlive-adjustbox): New variable.
---
gnu/packages/tex.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index abb5b08..3cf61d8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8329,6 +8329,47 @@ Arguments may contain verbatim material or other special
use of characters.
The macros were designed for use within other macros.")
(license license:lppl1.3))))
+(define-public texlive-adjustbox
+ (let ((template (simple-texlive-package
+ "texlive-adjustbox"
+ (list "/doc/latex/adjustbox/"
+ "/source/latex/adjustbox/")
+ (base32
+ "14vd0yd50bky2pbbjkn59q1aglnqpdhh8vwjdyan0jkzljsr2ch8"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "latex/adjustbox")
+ ((#:build-targets _ '())
+ ''("adjustbox.ins"))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/adjustbox")))))))
+ (native-inputs
+ `(("texlive-ydoc" ,texlive-ydoc)))
+ (propagated-inputs
+ `(("texlive-latex-pgf" ,texlive-latex-pgf)
+ ("texlive-latex-varwidth" ,texlive-latex-varwidth)
+ ("texlive-latex-xkeyval" ,texlive-latex-xkeyval)
+ ("texlive-collectbox" ,texlive-collectbox)
+ ("texlive-ifoddpage" ,texlive-ifoddpage)
+ ("texlive-storebox" ,texlive-storebox)))
+ (home-page "https://www.ctan.org/pkg/adjustbox")
+ (synopsis "Graphics package-alike macros for “general” boxes")
+ (description "The package provides several macros to adjust boxed
+content. One purpose is to supplement the standard @code{graphics} package,
+which defines the macros @code{\\resizebox}, @code{\\scalebox} and
+@code{\\rotatebox} , with the macros @code{\\trimbox} and @code{\\clipbox}.
+The main feature is the general @code{\\adjustbox} macro which extends the
+@code{key=value} interface of @code{\\includegraphics} from the
+@code{graphics} package and applies it to general text content. Additional
+provided box macros are @code{\\lapbox}, @code{\\marginbox},
+@code{\\minsizebox}, @code{\\maxsizebox} and @code{\\phantombox}.")
+ (license license:lppl1.3))))
+
(define-public texlive-kastrup
(package
(name "texlive-kastrup")
- branch master updated (7ca996c -> 6cd9cb0), guix-commits, 2021/05/04
- 01/09: gnu: Add texlive-titling., guix-commits, 2021/05/04
- 04/09: gnu: Add texlive-collectbox., guix-commits, 2021/05/04
- 03/09: gnu: Add texlive-storebox., guix-commits, 2021/05/04
- 02/09: gnu: Add texlive-ifoddpage., guix-commits, 2021/05/04
- 05/09: gnu: Add texlive-adjustbox.,
guix-commits <=
- 06/09: gnu: Add texlive-tcolorbox., guix-commits, 2021/05/04
- 07/09: gnu: Add texlive-eurosym., guix-commits, 2021/05/04
- 09/09: gnu: python-nbconvert: Simplify build phase., guix-commits, 2021/05/04
- 08/09: gnu: python-nbconvert: Use modular texlive packages., guix-commits, 2021/05/04