GNU bug report logs -
#56849
[PATCH 0/8] gnu: Add several TeX packages.
Previous Next
Full log
Message #8 received at 56849 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/tex.scm (texlive-abstract): New variable.
---
gnu/packages/tex.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ddcd0043c4..768cce2550 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2021 Julien Lepiller <julien <at> lepiller.eu>
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann <at> kolabnow.com>
;;; Copyright © 2022 Jack Hill <jackhill <at> jackhill.us>
+;;; Copyright © 2022 Philip McGrath <philip <at> philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -11082,3 +11083,39 @@ (define-public texlive-babel-danish
Danish in @code{babel}. It provides all the necessary macros, definitions and
settings to typeset Danish documents.")
(license license:lppl1.3c+))))
+
+(define-public texlive-abstract
+ (let ((template (simple-texlive-package
+ "texlive-abstract"
+ '("/doc/latex/abstract/"
+ "/source/latex/abstract/")
+ (base32
+ "1v8ks9gn28ixlpb9cih02xds3c807027370ax3fbsymll1jx2rjg"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #f)
+ "latex/abstract")
+ ((#:build-targets _ #t)
+ #~(list "abstract.ins"))
+ ((#:phases std-phases)
+ #~(modify-phases #$std-phases
+ (add-after 'unpack 'chdir
+ (lambda args
+ (chdir "source/latex/abstract")))
+ (add-before 'copy-files 'unchdir
+ (lambda args
+ (chdir "../../..")))
+ (add-after 'copy-files 'remove-extra-files
+ (lambda args
+ (delete-file-recursively
+ (string-append #$output
+ "/share/texmf-dist"
+ "/source/latex/abstract/build"))))))))
+ (home-page "https://ctan.org/pkg/abstract")
+ (synopsis "Control the typesetting of the abstract environment")
+ (description "The abstract package gives you control over the typesetting
+of the abstract environment, and in particular provides for a one column
+abstract in a two column paper.")
+ (license license:lppl))))
--
2.32.0
This bug report was last modified 2 years and 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.