all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip McGrath <philip@philipmcgrath.com>
To: 56849@debbugs.gnu.org
Cc: Philip McGrath <philip@philipmcgrath.com>
Subject: [bug#56849] [PATCH 1/8] gnu: Add texlive-abstract.
Date: Sat, 30 Jul 2022 21:08:43 -0400	[thread overview]
Message-ID: <46ec2b0cf7570e846fb0f7aae4a44d21cf197adb.1659229280.git.philip@philipmcgrath.com> (raw)
In-Reply-To: <cover.1659229280.git.philip@philipmcgrath.com>

* 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@lepiller.eu>
 ;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
 ;;; Copyright © 2022 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2022 Philip McGrath <philip@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





  reply	other threads:[~2022-07-31  1:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-31  1:06 [bug#56849] [PATCH 0/8] gnu: Add several TeX packages Philip McGrath
2022-07-31  1:08 ` Philip McGrath [this message]
2022-07-31  1:08 ` [bug#56849] [PATCH 2/8] gnu: Add texlive-breqn Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 3/8] gnu: Add texlive-comment Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 4/8] gnu: Add texlive-datatool Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 5/8] gnu: Add texlive-physics Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 6/8] gnu: Add texlive-sourcesanspro Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 7/8] gnu: Add texlive-sourceserifpro Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 8/8] gnu: Add texlive-sourcecodepro Philip McGrath
2022-08-05 12:47 ` bug#56849: [PATCH 0/8] gnu: Add several TeX packages Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46ec2b0cf7570e846fb0f7aae4a44d21cf197adb.1659229280.git.philip@philipmcgrath.com \
    --to=philip@philipmcgrath.com \
    --cc=56849@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.