From patchwork Wed Mar 29 20:01:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 48793 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 101051719C; Wed, 29 Mar 2023 21:02:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 149761710F for ; Wed, 29 Mar 2023 21:02:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phbzk-0004kT-CA; Wed, 29 Mar 2023 16:02:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phbzf-0004j8-DA for guix-patches@gnu.org; Wed, 29 Mar 2023 16:02:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phbze-0006UD-MI for guix-patches@gnu.org; Wed, 29 Mar 2023 16:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phbze-0002nS-4c for guix-patches@gnu.org; Wed, 29 Mar 2023 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62534] [PATCH] gnu: Add texlive-nth. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Mar 2023 20:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62534@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168012007810694 (code B ref -1); Wed, 29 Mar 2023 20:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2023 20:01:18 +0000 Received: from localhost ([127.0.0.1]:55073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbyw-0002mQ-8T for submit@debbugs.gnu.org; Wed, 29 Mar 2023 16:01:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:59020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbyu-0002mH-0p for submit@debbugs.gnu.org; Wed, 29 Mar 2023 16:01:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phbyr-0004Am-K9 for guix-patches@gnu.org; Wed, 29 Mar 2023 16:01:13 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phbyl-0006OW-QO for guix-patches@gnu.org; Wed, 29 Mar 2023 16:01:12 -0400 Date: Wed, 29 Mar 2023 20:01:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1680120064; x=1680379264; bh=vZeyKwk3efH6XFUouVdFJ7bEn24FhLmm+6+DksfAzlo=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=CkuRbM3FHfmVbyKPPsLIe5FGH08KG8ByO14eY//D5M2YvCJZfNV0t9+Rv5CMXth+G xgPcmYcG6eaTAa0SxSSfb0vs6S9cJRU7k5n5GS7f+64QTaF1C/PEmW2z4/M0bcD/4o Asb/kWR2zmng3YRlDgV9GL/19QTPrqVTQOpzRPgxq6lK/Lpy21pt/bOJVPmysuwH5o /wirZaBqTi0W7/hFmU6yRxXHeCBc2BDnrMLgyqLsX+/dkrT6l7fE8PV1V/D9Mm9b3O 3P7tYesd4ZfrkR68uFleI8gmH0xn3wXkmt/AieUONbKL4u/QZie8fntqzOiLDCy/v1 k3b3oH1xniLiQ== Message-ID: <87ilejiays.fsf@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.16; envelope-from=john.kehayias@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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 From f7ba0e021b1cd61422a41b3bad01e79ff1db2aab Mon Sep 17 00:00:00 2001 From: John Kehayias 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 ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2023 Thomas Albers Raviola +;;; Copyright © 2023 John Kehayias ;;; ;;; 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{}} 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