gnu: Add texlive-latex-needspace.

* gnu/packages/tex.scm (texlive-latex-needspace): New variable.
This commit is contained in:
Pierre Neidhardt 2018-10-19 15:10:02 +02:00
parent b718793e2a
commit 707babdde4
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -4522,3 +4522,28 @@ (define-public texlive-latex-ms
@item @command{ragged2e}, typeset ragged text and allow hyphenation.
@end itemize\n")
(license license:lppl1.3c+)))
(define-public texlive-latex-needspace
(package
(name "texlive-latex-needspace")
(version (number->string %texlive-revision))
(source (origin
(method svn-fetch)
(uri (texlive-ref "latex" "needspace"))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"0kw80f5jh4gdpa2ka815abza3gr5z8b929w0745vrlc59pl0017y"))))
(build-system texlive-build-system)
(arguments
'(#:tex-directory "latex/needspace"
#:tex-format "latex"))
(inputs
`(("texlive-latex-filecontents" ,texlive-latex-filecontents)))
(home-page "https://www.ctan.org/pkg/needspace")
(synopsis "Insert pagebreak if not enough space")
(description
"Provides commands to disable pagebreaking within a given vertical
space. If there is not enough space between the command and the bottom of the
page, a new page will be started.")
(license license:lppl)))