guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: Add texlive-latex-needspace.


From: Pierre Neidhardt
Subject: 02/06: gnu: Add texlive-latex-needspace.
Date: Fri, 19 Oct 2018 09:18:40 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 707babdde428bfd67d4ea9438d2f834946b1959e
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Oct 19 15:10:02 2018 +0200

    gnu: Add texlive-latex-needspace.
    
    * gnu/packages/tex.scm (texlive-latex-needspace): New variable.
---
 gnu/packages/tex.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9026c25..064ec94 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4522,3 +4522,28 @@ It also ensures compatibility with the @code{media9} and 
@code{animate} packages
 @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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]