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 From patchwork Fri Mar 31 15:32:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48855 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 2FA57172C5; Fri, 31 Mar 2023 16:33:55 +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=unavailable 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 DEE2917280 for ; Fri, 31 Mar 2023 16:33:53 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkW-00033h-NX; 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-00030U-CJ 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 1piGkQ-0000th-44 for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkQ-0007SU-0O for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 2/6] gnu: Add texlive-relsize. 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.168027676828607 (code B ref 62570); Fri, 31 Mar 2023 15:33:01 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:48 +0000 Received: from localhost ([127.0.0.1]:34276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkB-0007RF-Kq for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:47 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:51763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk6-0007QJ-MS 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 4B3ABE0012 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:36 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:22 +0200 Message-Id: <20230331153226.607420-2-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331153226.607420-1-mail@nicolasgoaziou.fr> References: <20230331153226.607420-1-mail@nicolasgoaziou.fr> 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-relsize): New variable. --- gnu/packages/tex.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 23f437412c..0f87dc4a77 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12132,6 +12132,23 @@ (define-public texlive-ragged2e lower-case, prevent hyphenation altogether).") (license license:lppl1.3c))) +(define-public texlive-relsize + (package + (inherit (simple-texlive-package + "texlive-relsize" + (list "doc/latex/relsize/" + "tex/latex/relsize/") + (base32 + "07g9wqxsh3a9rmfbppaqhyic82a1i1habizaf4hpdi3246w6nnby") + #:trivial? #t)) + (home-page "https://ctan.org/pkg/relsize") + (synopsis "Set the font size relative to the current font size") + (description + "The basic command of the package is @code{\\relsize}, whose argument is +a number of @code{\\magsteps} to change size; from this are defined commands +@code{\\larger}, @code{\\smaller}, @code{\\textlarger}, etc.") + (license license:public-domain))) + (define-public texlive-everysel (package (inherit From patchwork Fri Mar 31 15:32:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48854 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 8517B172C5; Fri, 31 Mar 2023 16:33:51 +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=unavailable 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 3994817280 for ; Fri, 31 Mar 2023 16:33:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkX-00034k-F1; Fri, 31 Mar 2023 11:33:09 -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 1piGkV-00031z-2K for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:07 -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 1piGkQ-0000ts-KU for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkQ-0007Sc-CP for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 3/6] gnu: texlive-latex-bigfoot: Replace with texlive-bigfoot. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:02 +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.168027677628626 (code B ref 62570); Fri, 31 Mar 2023 15:33:02 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:56 +0000 Received: from localhost ([127.0.0.1]:34278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkK-0007Rc-0t for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:56 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk6-0007QK-MS for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:46 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id ABF45E0014 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:36 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:23 +0200 Message-Id: <20230331153226.607420-3-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331153226.607420-1-mail@nicolasgoaziou.fr> References: <20230331153226.607420-1-mail@nicolasgoaziou.fr> 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-bigfoot): New variable. (texlive-latex-bigfoot): Deprecate package. (texlive-pstool): Use new variable. --- gnu/packages/tex.scm | 82 ++++++++++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 34 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0f87dc4a77..d78b1672f1 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4865,40 +4865,54 @@ (define-public texlive-latex-amsrefs conjunction with BibTeX or as a replacement for BibTeX.") (license license:lppl1.3+))) -(define-public texlive-latex-bigfoot - (package - (name "texlive-latex-bigfoot") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "bigfoot")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "092g8alnsdwlgl1isdnqrr32l161994295kadr1n05d81xgj5wnv")))) - (build-system texlive-build-system) - (arguments - '(#:tex-directory "latex/bigfoot" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-generated-file - (lambda _ - (for-each delete-file (find-files "." "\\.drv$")) - #t))))) - (home-page "https://www.ctan.org/pkg/bigfoot") - (synopsis "Footnotes for critical editions") - (description - "This package aims to provide a one-stop solution to requirements for -footnotes. It offers: Multiple footnote apparatus superior to that of +(define-public texlive-bigfoot + (let ((template (simple-texlive-package + "texlive-bigfoot" + (list "doc/latex/bigfoot/" + "source/latex/bigfoot/" + "tex/latex/bigfoot/") + (base32 + "140b4bbjcgajd1flznmi3ga6lx5pna2nxybr2dqm9515lny8gwf0")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/bigfoot") + ((#:build-targets _ '()) '(list "bigfoot.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/bigfoot/"))) + (add-after 'chdir 'delete-drv-files + (lambda _ + (for-each delete-file (find-files "." "\\.drv$")))) + (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-etex texlive-ncctools)) + (home-page "https://ctan.org/pkg/bigfoot") + (synopsis "Footnotes for critical editions") + (description + "The package aims to provide a one-stop solution to requirements for +footnotes. It offers multiple footnote apparatus superior to that of @code{manyfoot}. Footnotes can be formatted in separate paragraphs, or be run -into a single paragraph (this choice may be selected per footnote series); -Things you might have expected (such as @code{\\verb}-like material in -footnotes, and color selections over page breaks) now work. Note that the -majority of the bigfoot package's interface is identical to that of -@code{manyfoot}; users should seek information from that package's -documentation. The bigfoot bundle also provides the @code{perpage} and -@code{suffix} packages.") - (license license:gpl2+))) +into a single paragraph. Note that the majority of the @code{bigfoot} +package's interface is identical to that of @code{manyfoot}; users should seek +information from that package's documentation. + +The @code{bigfoot} bundle also provides the @code{perpage} and @code{suffix} +packages.") + (license license:gpl2+)))) + +(define-deprecated-package texlive-latex-bigfoot texlive-bigfoot) (define-public texlive-latex-blindtext (package @@ -5342,7 +5356,7 @@ (define-public texlive-pstool "12clzcw2cl7g2chr2phgmmiwxw4859cln1gbx1wgp8bl9iw590nc") #:trivial? #t)) (propagated-inputs - (list texlive-latex-bigfoot ; for suffix + (list texlive-bigfoot ; for suffix texlive-filemod texlive-latex-graphics texlive-latex-ifplatform From patchwork Fri Mar 31 15:32:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48851 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 84CA2172C8; Fri, 31 Mar 2023 16:33:22 +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 00ACB17280 for ; Fri, 31 Mar 2023 16:33:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkX-00034B-55; Fri, 31 Mar 2023 11:33:09 -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 1piGkV-000320-53 for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:07 -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 1piGkQ-0000tv-Sl for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkQ-0007Sj-Og for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 4/6] gnu: texlive-latex-acronym: Replace with texlive-acronym. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:02 +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.168027677728634 (code B ref 62570); Fri, 31 Mar 2023 15:33:02 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:57 +0000 Received: from localhost ([127.0.0.1]:34280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkK-0007Rf-Fz for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:56 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk6-0007QL-OX for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:46 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 22E19E001B for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:36 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:24 +0200 Message-Id: <20230331153226.607420-4-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331153226.607420-1-mail@nicolasgoaziou.fr> References: <20230331153226.607420-1-mail@nicolasgoaziou.fr> 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-latex-acronym): Deprecate package. (texlive-acronym): New variable. --- gnu/packages/tex.scm | 59 +++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 20 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index d78b1672f1..94bb47d626 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -8171,28 +8171,47 @@ (define-public texlive-latex-preview files.") (license license:gpl3+))) -(define-public texlive-latex-acronym - (package - (name "texlive-latex-acronym") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "acronym")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "09pd4wynksg1y1ddxnqbhk2dc185zw5nyi794d86n3qx8l014ijy")))) - (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/acronym")) - (home-page "https://www.ctan.org/pkg/acronym") - (synopsis "Expand acronyms at least once") - (description - "This package ensures that all acronyms used in the text are spelled out -in full at least once. It also provides an environment to build a list of +(define-public texlive-acronym + (let ((template (simple-texlive-package + "texlive-acronym" + (list "doc/latex/acronym/" + "source/latex/acronym/" + "tex/latex/acronym/") + (base32 + "0p2sws3qy7wv0v6bsy6c5j36n9s1ps7b1z7dmg1370schrjpqnfh")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/acronym") + ((#:build-targets _ '()) '(list "acronym.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/acronym/"))) + (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-bigfoot texlive-relsize texlive-xstring)) + (home-page "https://ctan.org/pkg/acronym") + (synopsis "Expand acronyms at least once") + (description + "This package ensures that all acronyms used in the text are spelled +out in full at least once. It also provides an environment to build a list of acronyms used. The package is compatible with PDF bookmarks. The package -requires the suffix package, which in turn requires that it runs under +requires the @code{suffix} package, which in turn requires that it runs under e-TeX.") - (license license:lppl1.3+))) + (license license:lppl1.3+)))) + +(define-deprecated-package texlive-latex-acronym texlive-acronym) (define-public texlive-pdftex (package From patchwork Fri Mar 31 15:32:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48856 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 21F61172C5; Fri, 31 Mar 2023 16:34:04 +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=unavailable 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 8596717280 for ; Fri, 31 Mar 2023 16:34:02 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkW-00033o-UK; 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 1piGkV-000321-2K for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:07 -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 1piGkR-0000u0-7r for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkR-0007Sq-3w for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 5/6] gnu: texlive-latex-totcount: Replace with texlive-totcount. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:03 +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.168027677728641 (code B ref 62570); Fri, 31 Mar 2023 15:33:03 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:57 +0000 Received: from localhost ([127.0.0.1]:34282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkK-0007Rn-Tp for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk7-0007QN-30 for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:46 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 74483E0006 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:37 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:25 +0200 Message-Id: <20230331153226.607420-5-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331153226.607420-1-mail@nicolasgoaziou.fr> References: <20230331153226.607420-1-mail@nicolasgoaziou.fr> 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-totcount): New variable. (texlive-latex-totcount): Deprecate package. --- gnu/packages/tex.scm | 53 ++++++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 94bb47d626..2e31d74498 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12611,22 +12611,47 @@ (define-public texlive-substr @end itemize") (license license:lppl1.0+))) -(define-public texlive-latex-totcount - (package - (inherit (simple-texlive-package - "texlive-latex-totcount" - (list "doc/latex/totcount/" - "tex/latex/totcount/") - (base32 "0z4mijyk3z7555q8da41aiji602plis5z261z4rr1fl8sndhnhn1") - #:trivial? #t)) - (build-system texlive-build-system) - (home-page "https://ctan.org/pkg/totcount") - (synopsis "Find the last value of a counter") - (description - "This package records the value that was last set, for any counter of +(define-public texlive-totcount + (let ((template (simple-texlive-package + "texlive-totcount" + (list "doc/latex/totcount/" + "source/latex/totcount/" + "tex/latex/totcount/") + (base32 + "1rj9ncip5h2cbdljjqwxqsg14pb4mimzhz290q872n32w7rxkp28")))) + (package + (inherit template) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/totcount") + ((#:tex-format _ #t) "latex") + ((#:build-targets _ '()) '(list "totcount.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/totcount/"))) + (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-latex-graphics)) + (home-page "https://ctan.org/pkg/totcount") + (synopsis "Find the last value of a counter") + (description + "This package records the value that was last set, for any counter of interest. Since most such counters are simply incremented when they are changed, the recorded value will usually be the maximum value.") - (license license:lppl1.3c+))) + (license license:lppl1.3c+)))) + +(define-deprecated-package texlive-latex-totcount texlive-totcount) (define-public texlive-xetex (package From patchwork Fri Mar 31 15:32:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48853 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 40DB3172C9; Fri, 31 Mar 2023 16:33:51 +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 A8C3B172C5 for ; Fri, 31 Mar 2023 16:33:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkX-00034Z-Dk; Fri, 31 Mar 2023 11:33:09 -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 1piGkV-00031y-6y for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:07 -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 1piGkR-0000u1-MD for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkR-0007Sy-Fh for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 6/6] gnu: texlive-latex-lastpage: Replace with texlive-lastpage. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:03 +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.168027677728649 (code B ref 62570); Fri, 31 Mar 2023 15:33:03 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:57 +0000 Received: from localhost ([127.0.0.1]:34284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkL-0007Ru-Ai for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk7-0007QO-Gs for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:47 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id DC109E0007 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:37 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:26 +0200 Message-Id: <20230331153226.607420-6-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331153226.607420-1-mail@nicolasgoaziou.fr> References: <20230331153226.607420-1-mail@nicolasgoaziou.fr> 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-lastpage): New variable. (texlive-latex-lastpage): Deprecate variable. --- gnu/packages/tex.scm | 53 +++++++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2e31d74498..f26b62a155 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12469,23 +12469,44 @@ (define-public texlive-latex-hyphenat fonts.") (license license:lppl1.3c+))) -(define-public texlive-latex-lastpage - (package - (inherit (simple-texlive-package - "texlive-latex-lastpage" - (list "doc/latex/lastpage/" - "tex/latex/lastpage/") - (base32 "0q6x743b8fkw9r82lrxy49f9xsg81bffynwvpnvpnp3h4mkafvdb") - #:trivial? #t)) - (build-system texlive-build-system) - (home-page "https://ctan.org/pkg/lastpage") - (synopsis "Reference last page for Page N of M type footers") - (description - "This package enables referencing the number of pages in a LaTeX document -through the introduction of a new label which can be referenced like +(define-public texlive-lastpage + (let ((template (simple-texlive-package + "texlive-lastpage" + (list "doc/latex/lastpage/" + "source/latex/lastpage/" + "tex/latex/lastpage/") + (base32 + "1cmzl0jkid4w60bjlyxrc5bynbc3lwq5nr77rsip0q9hprxykxks")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/lastpage") + ((#:build-targets _ '()) '(list "lastpage.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/lastpage/"))) + (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)))))))) + (home-page "https://ctan.org/pkg/lastpage") + (synopsis "Reference last page for Page N of M type footers") + (description + "This package enables referencing the number of pages in a LaTeX +document through the introduction of a new label which can be referenced like @code{\\pageref{LastPage}} to give a reference to the last page of a document. -It is particularly useful in the page footer that says: Page N of M.") - (license license:lppl1.3c+))) +It is particularly useful in the page footer that says: @samp{Page N of M}.") + (license license:lppl1.3+)))) + +(define-deprecated-package texlive-latex-lastpage texlive-lastpage) (define-public texlive-latex-tabto-ltx (package