[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/18: gnu: Add texlive-abstract.
From: |
guix-commits |
Subject: |
08/18: gnu: Add texlive-abstract. |
Date: |
Fri, 5 Aug 2022 09:28:55 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7279801cff2c7f8a904086850a6ea835df89eb36
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jul 30 21:08:43 2022 -0400
gnu: Add texlive-abstract.
* gnu/packages/tex.scm (texlive-abstract): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index fe90d15124..2cd6311b2d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;; Copyright © 2022 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2022 Fabio Natali <me@fabionatali.com>
+;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -11289,3 +11290,40 @@ the original @code{everyshi} macros. In case you use
an older LaTeX format,
@code{everyshi} will automatically fall back to its old implementation by
loading @code{everyshi-2001-05-15}.")
(license license:lppl1.3c)))
+
+(define-public texlive-abstract
+ (let ((template (simple-texlive-package
+ "texlive-abstract"
+ '("doc/latex/abstract/"
+ "source/latex/abstract/"
+ "tex/latex/abstract/")
+ (base32
+ "1axm78qgrpml09pkh252g1hsjx9c2w7mbdrm9rdl4yqh5ppwq4y9"))))
+ (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))))
- branch master updated (bd956bc57b -> d11a432adf), guix-commits, 2022/08/05
- 03/18: home: xdg: Skip mkdir XDG_RUNTIME_DIR in activation script., guix-commits, 2022/08/05
- 05/18: tests: Make tests inside container reproducible., guix-commits, 2022/08/05
- 07/18: gnu: gnome-shell-extension-appindicator: Update to 42., guix-commits, 2022/08/05
- 08/18: gnu: Add texlive-abstract.,
guix-commits <=
- 09/18: gnu: Add texlive-breqn., guix-commits, 2022/08/05
- 11/18: gnu: Add texlive-datatool., guix-commits, 2022/08/05
- 13/18: gnu: Add texlive-sourcesanspro., guix-commits, 2022/08/05
- 02/18: home: xdg: Use a single @ instead of @@., guix-commits, 2022/08/05
- 04/18: home: Use warning instead of display., guix-commits, 2022/08/05
- 01/18: disarchive-manifest: Filter out origins without a hash., guix-commits, 2022/08/05
- 10/18: gnu: Add texlive-comment., guix-commits, 2022/08/05
- 12/18: gnu: Add texlive-physics., guix-commits, 2022/08/05
- 16/18: gnu: mumps: Update to 5.5.1, guix-commits, 2022/08/05
- 06/18: gnu: openssl: Keep .dll.a files in main output., guix-commits, 2022/08/05