all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip McGrath <philip@philipmcgrath.com>
To: 56849@debbugs.gnu.org
Cc: Philip McGrath <philip@philipmcgrath.com>
Subject: [bug#56849] [PATCH 2/8] gnu: Add texlive-breqn.
Date: Sat, 30 Jul 2022 21:08:44 -0400	[thread overview]
Message-ID: <39f7838d5aae94cbb6d6b4f5797aa84fb0f97669.1659229280.git.philip@philipmcgrath.com> (raw)
In-Reply-To: <cover.1659229280.git.philip@philipmcgrath.com>

* 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+))))
-- 
2.32.0





  parent reply	other threads:[~2022-07-31  1:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-31  1:06 [bug#56849] [PATCH 0/8] gnu: Add several TeX packages Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 1/8] gnu: Add texlive-abstract Philip McGrath
2022-07-31  1:08 ` Philip McGrath [this message]
2022-07-31  1:08 ` [bug#56849] [PATCH 3/8] gnu: Add texlive-comment Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 4/8] gnu: Add texlive-datatool Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 5/8] gnu: Add texlive-physics Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 6/8] gnu: Add texlive-sourcesanspro Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 7/8] gnu: Add texlive-sourceserifpro Philip McGrath
2022-07-31  1:08 ` [bug#56849] [PATCH 8/8] gnu: Add texlive-sourcecodepro Philip McGrath
2022-08-05 12:47 ` bug#56849: [PATCH 0/8] gnu: Add several TeX packages Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39f7838d5aae94cbb6d6b4f5797aa84fb0f97669.1659229280.git.philip@philipmcgrath.com \
    --to=philip@philipmcgrath.com \
    --cc=56849@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.