From 4b31d8b527a4a361cd31784efc3c91ebd26f9375 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 13 Jul 2023 00:19:55 +0200 Subject: [PATCH] gnu: Add texlive-fitbox. * gnu/packages/tex.scm (texlive-fitbox): New variable. --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index de0a184d93..dd76d92171 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -17151,6 +17151,27 @@ viewed in a web-browser, in which case the figures are interactive. A variety of interactive widgets are included.") (license license:cc-by-sa4.0))) +(define-public texlive-fitbox + (package + (name "texlive-fitbox") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/fitbox/" "source/latex/fitbox/" + "tex/latex/fitbox/") + (base32 + "0li1nvwv8ifw1dkfsqgnhapkagndibs75lp03byxnwrmc99r7a2y"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/fitbox") + (synopsis "Fit graphics on a page") + (description + "The package allows a box (usually an @code{\\includegraphics} box) to +fit on the page. It scales the box to the maximal allowed size within the +user-set limits. If there is not enough space on the page, the box is moved +to the next one.") + (license license:lppl1.3+))) + (define-public texlive-gates (package (name "texlive-gates")