From patchwork Mon Nov 21 14:16:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yarl baudig X-Patchwork-Id: 44750 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 851F127BBED; Mon, 21 Nov 2022 14:17:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 DA56027BBEC for ; Mon, 21 Nov 2022 14:17:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ox7bg-0007Zo-Je; Mon, 21 Nov 2022 09:17:08 -0500 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 1ox7bb-0007ZV-7H for guix-patches@gnu.org; Mon, 21 Nov 2022 09:17:06 -0500 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 1ox7ba-00086E-GT for guix-patches@gnu.org; Mon, 21 Nov 2022 09:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ox7ba-00044W-2V for guix-patches@gnu.org; Mon, 21 Nov 2022 09:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59354] [PATCH] gnu: Add texlive-mathdots. References: <20221118102010.86581-1-yarl-baudig@mailoo.org> In-Reply-To: <20221118102010.86581-1-yarl-baudig@mailoo.org> Resent-From: Yarl Baudig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Nov 2022 14:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 59354@debbugs.gnu.org, mail@nicolasgoaziou.fr Cc: Yarl Baudig Received: via spool by 59354-submit@debbugs.gnu.org id=B59354.166904021715635 (code B ref 59354); Mon, 21 Nov 2022 14:17:02 +0000 Received: (at 59354) by debbugs.gnu.org; 21 Nov 2022 14:16:57 +0000 Received: from localhost ([127.0.0.1]:45873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox7bR-000444-87 for submit@debbugs.gnu.org; Mon, 21 Nov 2022 09:16:56 -0500 Received: from msg-1.mailo.com ([213.182.54.11]:58138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox7bM-00043n-Cd for 59354@debbugs.gnu.org; Mon, 21 Nov 2022 09:16:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailoo.org; s=mailo; t=1669040200; bh=Q/Ik89e2IhUMIO9JsYfosCz87bXXfwscdvi8R0B6TBY=; h=X-EA-Auth:From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding; b=S/WMPn5vLF2w9NMo7JaO5Um4XhVKQRQuX+yoPhXczGydQcSdwUzSBUL+NUbWG52Po kbRBE8EzVVqtqsj/JK9eLDhf0mOOXKMIidZ3r3do9ZsBZFlBKGsOvaRPrw+GB7haT3 mQLWYXdZf3CDTVH6CxnrZKn9FHOGLXq+sp/DkkGU= Received: by b-2.in.mailobj.net [192.168.90.12] with ESMTP via ip-206.mailobj.net [213.182.55.206] Mon, 21 Nov 2022 15:16:40 +0100 (CET) X-EA-Auth: 43FCI8aSngLQ83GiTQgAh27rF9IWJ+bVahwiKzV0EnqkVrRfjwsYLMfzXgWXCh72tWLkCjkjs2Io+BPZ02YNzUOMNWIODurLomUgfhz6074= From: Yarl Baudig Date: Mon, 21 Nov 2022 15:16:27 +0100 Message-Id: <20221121141627.27355-1-yarl-baudig@mailoo.org> 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-mathdots): New variable. --- gnu/packages/tex.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) base-commit: 1bea5d38a26755b84437623c0f48915a77899b57 diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 81f74f17df..a600bcae58 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3993,6 +3993,47 @@ (define-public texlive-amsmath (define-deprecated-package texlive-latex-amsmath texlive-amsmath) +(define-public texlive-mathdots + (let ((template + (simple-texlive-package + "texlive-mathdots" + (list "doc/generic/mathdots/" + "source/generic/mathdots/" + "tex/generic/mathdots/") + (base32"1jaffj343p1chdxs2g7s6lpckvihk0jfw22nw0vmijyjxfiy9yg0")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ '()) + "generic/mathdots") + ((#:build-targets _ '()) + '(list "mathdots.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "source/generic/mathdots"))) + (replace 'copy-files + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((origin (assoc-ref inputs "source")) + (source (string-append (assoc-ref outputs "out") + "/share/texmf-dist/source")) + (doc (string-append (assoc-ref outputs "doc") + "/share/texmf-dist/doc"))) + (copy-recursively (string-append origin "/source") source) + (copy-recursively (string-append origin "/doc") doc)))))))) + (home-page "https://ctan.org/macros/generic/mathdots") + (synopsis "Commands to produce dots in math that respect font size") + (description + "Mathdots redefines @code{\\ddots} and @code{\\vdots}, and defines +@code{\\iddots}. The dots produced by @code{\\iddots} slant in the opposite +direction to @code{\\ddots}. All the commands are designed to change size +appropriately in scripts, as well as in response to LaTeX size changing +commands. The commands may also be used in plain TeX.") + (license license:lppl)))) + (define-public texlive-amscls (let ((template (simple-texlive-package "texlive-amscls"