* [bug#62534] [PATCH] gnu: Add texlive-nth.
@ 2023-03-29 20:01 John Kehayias via Guix-patches via
2023-03-30 10:32 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: John Kehayias via Guix-patches via @ 2023-03-29 20:01 UTC (permalink / raw)
To: 62534
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
Here's a simple package to add texlive-nth. It came from the texlive importer, slight formatting change, checked with guix lint. It builds and does what it is supposed to in a tex file I needed it for.
Thanks!
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-texlive-nth.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-texlive-nth.patch, Size: 1895 bytes --]
From f7ba0e021b1cd61422a41b3bad01e79ff1db2aab Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Wed, 29 Mar 2023 15:57:31 -0400
Subject: [PATCH] gnu: Add texlive-nth.
* gnu/packages/tex.scm (texlive-nth): New variable.
---
gnu/packages/tex.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 087043b06c..60b1892d29 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2022 Fabio Natali <me@fabionatali.com>
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2023 Thomas Albers Raviola <thomas@thomaslabs.org>
+;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -11354,6 +11355,24 @@ (define-public texlive-xindy
terms and in terms of the collating order of the text being processed.")
(license license:gpl2+)))
+(define-public texlive-nth
+ (package
+ (inherit (simple-texlive-package
+ "texlive-nth"
+ (list "tex/generic/nth/")
+ (base32
+ "0716sd99xjdkplm7jdmg4lx8lpfnnx6mxjp1l1sp2bfqcg73p4hm")
+ #:trivial? #t))
+ (home-page "https://ctan.org/macros/generic/misc/nth.sty")
+ (synopsis "Generate English ordinal numbers")
+ (description
+ "The command @code{\\nth{<number>}} generates English ordinal numbers of
+the form 1st, 2nd, 3rd, 4th, etc. LaTeX package options may specify that the
+ordinal mark be superscripted, and that negative numbers may be treated; Plain
+TeX users have no access to package options, so need to redefine macros for
+these changes.")
+ (license license:public-domain)))
+
(define-public texlive-fmtcount
(package
(inherit (simple-texlive-package
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#62534] [PATCH] gnu: Add texlive-nth.
2023-03-29 20:01 [bug#62534] [PATCH] gnu: Add texlive-nth John Kehayias via Guix-patches via
@ 2023-03-30 10:32 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2023-03-30 10:32 UTC (permalink / raw)
To: 62534; +Cc: John Kehayias, 62534-done
Hello,
John Kehayias via Guix-patches via <guix-patches@gnu.org> writes:
> +(define-public texlive-nth
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-30 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 20:01 [bug#62534] [PATCH] gnu: Add texlive-nth John Kehayias via Guix-patches via
2023-03-30 10:32 ` Nicolas Goaziou
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.