From patchwork Sun Jul 31 01:08:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 41069 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 9E6E227BBEA; Sun, 31 Jul 2022 02:11:15 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 49ABB27BBE9 for ; Sun, 31 Jul 2022 02:11:15 +0100 (BST) Received: from localhost ([::1]:43510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHxUA-0001JM-Cm for patchwork@mira.cbaines.net; Sat, 30 Jul 2022 21:11:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHxTA-00006U-Tf for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHxT0-00073U-OR for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHxT0-0002SZ-JJ for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56849] [PATCH 2/8] gnu: Add texlive-breqn. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Jul 2022 01:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56849@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 56849-submit@debbugs.gnu.org id=B56849.16592297589313 (code B ref 56849); Sun, 31 Jul 2022 01:10:02 +0000 Received: (at 56849) by debbugs.gnu.org; 31 Jul 2022 01:09:18 +0000 Received: from localhost ([127.0.0.1]:36003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHxSI-0002Q9-Bj for submit@debbugs.gnu.org; Sat, 30 Jul 2022 21:09:18 -0400 Received: from mail-qv1-f50.google.com ([209.85.219.50]:41603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHxSE-0002Pf-Oa for 56849@debbugs.gnu.org; Sat, 30 Jul 2022 21:09:16 -0400 Received: by mail-qv1-f50.google.com with SMTP id i7so6133433qvr.8 for <56849@debbugs.gnu.org>; Sat, 30 Jul 2022 18:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=NdChYV1kklIsrhh+fc1kyrJ41KLY6QsldZLl6YI5PVs=; b=dH65QUKjOKGX/n9/3Xb38c+Jv1KefHZncr3TtvvYTcYxCY3kd5B69Iw9vhBISeel5d TEnLKHL8mzUkJRVjmAWHvODBBwKCilXgHeJh2KZtNucIRba81sXBrjo/ERILu8/1oikf ncUJskiqSBidrqkr1OaR2wRJL5QvhwuuCxwvU3noQH6HPnWBtEZ1BR+SwI0kS22W8wub 6OeWSHC0m3dpQXlXwA+2BVcz68S2MrM8qezWsmoxX6nwf98XV6TI00FjQaIvZtPdL0+I mSX3VdX4oJLjFs9rJaafZPP3plAXKdNyAaMSG1fv6DBgs0SSdMnr3L3faWZ4y2fRKUqH CtVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=NdChYV1kklIsrhh+fc1kyrJ41KLY6QsldZLl6YI5PVs=; b=pg/hestpqxhvwPg/RTl2oq6BaPNndRla82gguVJA7hUKt2u+NtBPEnyyJOaRQFClgx ThfziUnlUxO5WFlMXL/hsZShLWg1Ai0ZzkQDmNJFSpobcts45YRnBqUkoBgvsBg8Ei0s yHFh6JXCb9uyM+kXEagKSjKVg46jhq7LWZIjv7AfQvsu0KwdCuNI5CzI3oyDGAkrANex F/76A+wmRyFFgVbvm3gFdgbcVXEedC+zTYpsvcrjvaJE2ZI1bOYuxuX0BOQAoKSZew6M JjHiXTpLsRKib5iTArFSZa5IOOKPu+1KavPyTe28lTXg54avUvTIr7XgW5a1bo+aFPKc yYjA== X-Gm-Message-State: ACgBeo2hDzSFb+I4IdA2OBgktS6VY8eWXfJ9nzp0giSq3iHcf5zMGsmB HAX9Mn9rlXLeSRe5xk0WnlhKONGzLjfurNdw X-Google-Smtp-Source: AA6agR4DNVU8LAM4QXTk6RTsRzK2l1iBu7lpXBkSHo/2UoInG1aKMFu5/EUNE/6FF5nQ67FLC/dRqw== X-Received: by 2002:a0c:9c44:0:b0:476:560d:e634 with SMTP id w4-20020a0c9c44000000b00476560de634mr3300718qve.86.1659229749086; Sat, 30 Jul 2022 18:09:09 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id y20-20020a05620a25d400b006b56a4400f6sm5627567qko.16.2022.07.30.18.09.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jul 2022 18:09:08 -0700 (PDT) From: Philip McGrath Date: Sat, 30 Jul 2022 21:08:44 -0400 Message-Id: <39f7838d5aae94cbb6d6b4f5797aa84fb0f97669.1659229280.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tex.scm (texlive-breqn): New variable. --- gnu/packages/tex.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 768cce2550..65245c7b8a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11119,3 +11119,44 @@ (define-public texlive-abstract of the abstract environment, and in particular provides for a one column abstract in a two column paper.") (license license:lppl)))) + +(define-public texlive-breqn + (let ((template (simple-texlive-package + "texlive-breqn" + '("/doc/latex/breqn/" + "/source/latex/breqn/") + (base32 + "186cypxiyf30fq6dxvvlbwn5yx7c8d4cd243wvvb3243n5l4rpl3")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #f) + "latex/breqn") + ((#:build-targets _ #t) + #~(list "breqnbundle.ins")) + ((#:phases std-phases) + #~(modify-phases #$std-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "source/latex/breqn"))) + (add-before 'copy-files 'unchdir + (lambda args + (chdir "../../.."))) + (add-after 'copy-files 'remove-extra-files + (lambda args + (delete-file-recursively + (string-append #$output + "/share/texmf-dist" + "/source/latex/breqn/build")))))))) + (home-page "https://wspr.io/breqn/") + (synopsis "Automatic line breaking of displayed equations") + (description "This package provides solutions to a number of common +difficulties in writing displayed equations and getting high-quality output. +The single most ambitious goal of the package is to support automatic +linebreaking of displayed equations. Such linebreaking cannot be done without +substantial changes under the hood in the way formulae are processed; the code +must be watched carefully, keeping an eye on possible glitches. The bundle +also contains the @code{flexisym} and @code{mathstyle} packages, which are +both designated as support for @code{breqn}.") + (license license:lppl1.3+))))