From patchwork Fri Mar 31 15:32:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48852 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 BBA1B172C8; Fri, 31 Mar 2023 16:33:28 +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=-2.0 required=5.0 tests=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 E458F17280 for ; Fri, 31 Mar 2023 16:33:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkW-00032X-CQ; Fri, 31 Mar 2023 11:33: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 1piGkQ-00030Q-6x for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -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 1piGkP-0000tb-NX for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkP-0007SN-JH for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 1/6] gnu: Add texlive-ncctools. References: <20230331153041.607320-1-mail@nicolasgoaziou.fr> In-Reply-To: <20230331153041.607320-1-mail@nicolasgoaziou.fr> Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62570 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62570@debbugs.gnu.org Received: via spool by 62570-submit@debbugs.gnu.org id=B62570.168027676728600 (code B ref 62570); Fri, 31 Mar 2023 15:33:01 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:47 +0000 Received: from localhost ([127.0.0.1]:34274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkA-0007Ql-DC for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:47 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk6-0007QH-N7 for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:45 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id E2A8EE0019 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:35 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:21 +0200 Message-Id: <20230331153226.607420-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: , 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 * gnu/packages/tex.scm (texlive-ncctools): New variable. --- gnu/packages/tex.scm | 64 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b40e72c582..23f437412c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -8844,6 +8844,70 @@ (define-public texlive-latex-ms @end itemize\n") (license license:lppl1.3c+))) +(define-public texlive-ncctools + (let ((template (simple-texlive-package + "texlive-ncctools" + (list "doc/latex/ncctools/" + "source/latex/ncctools/" + "tex/latex/ncctools/") + (base32 + "1g3fpvrg6kx2ns97ih6iwdk0rcbxlv043x8rdppxdincl2lvbdx5")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/ncctools") + ((#:build-targets _ '()) '(list "ncctools.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/ncctools/"))) + (replace 'copy-files + (lambda* (#:key inputs #:allow-other-keys) + (let ((origin (assoc-ref inputs "source")) + (source (string-append #$output + "/share/texmf-dist/source")) + (doc (string-append #$output:doc + "/share/texmf-dist/doc"))) + (copy-recursively (string-append origin "/source") source) + (copy-recursively (string-append origin "/doc") doc)))))))) + (propagated-inputs + (list texlive-amsmath texlive-latex-graphics)) + (home-page "https://ctan.org/pkg/ncctools") + (synopsis "Collection of general packages for LaTeX") + (description + "The NCCtools bundle contains many packages for general use under LaTeX; +many are also used by NCC LaTeX. The bundle includes tools for: +@itemize +@item executing commands after a package is loaded; +@item watermarks; +@item counter manipulation; +@item improvements to the @code{description} environment; +@item hyphenation of compound words; +@item new levels of footnotes; +@item space-filling patterns; +@item ``poor man's'' Black Board Bold symbols; +@item alignment of the content of a box; use comma as decimal separator; +@item boxes with their own crop marks; +@item page cropmarks; +@item improvements to fancy headers; +@item float ``styles'', mini floats, side floats; +@item manually marked footnotes; +@item extension of amsmath; +@item control of paragraph skip; +@item an envelope to the @code{graphicx} package; +@item dashed and multiple rules; +@item alternative techniques for declarations of sections, captions, and +toc-entries; +@item generalised text-stretching; +@item generation of new theorem-like environments; +@item control of the text area; +@item centered page layouts; +@item and un-numbered top-level section. +@end itemize") + (license license:lppl)))) + (define-public texlive-numprint (let ((template (simple-texlive-package