From 3234abead5957e15592c5335593a04d292a0b82e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:57:08 +0200 Subject: [PATCH] gnu: Add texlive-onlyamsmath. * gnu/packages/tex.scm (texlive-onlyamsmath): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index ea6ee0febf..32bc781547 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -90768,6 +90768,29 @@ (define-public texlive-oldstyle @code{cmmib} fonts for use to produce old-style numbers.") (license license:lppl))) +(define-public texlive-onlyamsmath + (package + (name "texlive-onlyamsmath") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/onlyamsmath/" + "source/latex/onlyamsmath/" + "tex/latex/onlyamsmath/") + (base32 + "1sl2zrd2vp9lpvjxaqa9mfff8n9m6wk39mb855k6xr2pkhdiyw7m"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/onlyamsmath") + (synopsis + "Inhibit use of non-@code{amsmath} mathematics markup when using amsmath") + (description + "This package inhibits the usage of plain TeX and (on demand) of standard +LaTeX mathematics environments. This is useful for class writers who want to +encourage their users to use the environments provided by the @code{amsmath} +package.") + (license license:lppl))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar