From 0a0b7938db50244808ea511579c5fd5fed18722a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:57:51 +0200 Subject: [PATCH] gnu: Add texlive-pbalance. * gnu/packages/tex.scm (texlive-pbalance): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2cacc89b85..fc26b781d9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -91632,6 +91632,28 @@ the scheme: if a PDF file is included, the package looks for the file with the annotation data, reads them and puts the annotations in the right place.") (license (list license:lppl license:gpl3+)))) +(define-public texlive-pbalance + (package + (name "texlive-pbalance") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/pbalance/" + "source/latex/pbalance/" + "tex/latex/pbalance/") + (base32 + "1r3xqdmcx3k5labiwm3swy7lp530b02yyiw3skfjc8ysy01p8rfv"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/pbalance") + (synopsis "Balance last page in two-column mode") + (description + "This package balances the columns on the last page of a two-column document. +If the page is simple (no footnotes, floats, or marginpars), it uses the +balance package; otherwise, it uses @code{\\enlargethispage} to make the left +column shorter, balancing the columns.") + (license license:lppl1.3c))) + ;;; ;;; 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