From f7f6cbb6b68fd88543097bb69b992a86043499ce Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 10 Jul 2021 14:36:54 +0200 Subject: [PATCH] gnu: Add texlive-preprint. * gnu/packages/tex.scm (texlive-preprint): 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 8afa18a7fd..8d86264209 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021 Leo Le Bouter ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Ivan Gankevich +;;; Copyright © 2021 Julien Lepiller ;;; ;;; This file is part of GNU Guix. ;;; @@ -8118,6 +8119,30 @@ (define-public texlive-fontaxes figure versions offered by many professional fonts.") (license license:lppl1.3+))) +(define-public texlive-preprint + (package + (name "texlive-preprint") + (version "1.0e") + (source + (origin + (method svn-fetch) + (uri (texlive-ref "latex" "preprint")) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "173ik9xad3zih6gcdwdkzyljarh06ky6c5d2x1yjs22qqi75py5a")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/preprint")) + (home-page "http://www.ctan.org/pkg/preprint") + (synopsis "Bundle of modules for preprints") + (description "The bundle comprises: @code{authblk}, which permits +footnote style author/affiliation input in the @command{\\author} command, +@code{balance}, to balance the end of @command{\\twocolumn} pages, +@code{figcaps}, to send figure captions, etc., to end document, +@code{fullpage}, to set narrow page margins and set a fixed page style, and +@code{sublabel}, which permits counters to be subnumbered.") + (license license:lppl1.3+))) + (define-public texlive-mweights (package (inherit (simple-texlive-package