[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
256/435: gnu: texlive-numprint: Refresh package definition.
From: |
guix-commits |
Subject: |
256/435: gnu: texlive-numprint: Refresh package definition. |
Date: |
Tue, 6 Jun 2023 11:40:00 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 78d1ce265e0588525df7fcb44889181ce3794a9b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:41:22 2023 +0200
gnu: texlive-numprint: Refresh package definition.
* gnu/packages/tex.scm (texlive-numprint): Remove SIMPLE-TEXLIVE-PACKAGE
call.
---
gnu/packages/tex.scm | 64 ++++++++++++++++++++++------------------------------
1 file changed, 27 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c4e6191e67..eb0c722cd5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9229,43 +9229,33 @@ toc-entries;
(license license:lppl)))
(define-public texlive-numprint
- (let ((template
- (simple-texlive-package
- "texlive-numprint"
- (list "doc/latex/numprint/"
- "source/latex/numprint/"
- "tex/latex/numprint/")
- (base32 "1rqbqj4ffcfxxxxbs100pdslaiimwzgg19mf2qzcmm5snxwrf7zj"))))
- (package
- (inherit template)
- (outputs '("out" "doc"))
- (arguments
- (substitute-keyword-arguments (package-arguments template)
- ((#:tex-directory _ '())
- "latex/numprint")
- ((#:build-targets _ '())
- '(list "numprint.ins"))))
- (home-page "https://www.ctan.org/pkg/numprint")
- (synopsis "Print numbers with separators and exponent if necessary")
- (description
- "The package numprint prints numbers with a separator every three
-digits and converts numbers given as 12345.6e789 to 12\\,345,6\\cdot
-10^{789}. Numbers are printed in the current mode (text or math) in
-order to use the correct font.
-
-Many things, including the decimal sign, the thousand separator, as
-well as the product sign can be changed by the user, e.g., to reach
-12,345.6\\times 10^{789}.
-
-If an optional argument is given it is printed upright as unit.
-Numbers can be rounded to a given number of digits. The package
-supports an automatic, language-dependent change of the number format.
-
-Tabular alignment using the tabular, array, tabularx, and longtable
-environments (similar to the dcolumn and rccol packages) is supported
-using all features of numprint. Additional text can be added before
-and after the formatted number.")
- (license license:lppl))))
+ (package
+ (name "texlive-numprint")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/numprint/" "source/latex/numprint/"
+ "tex/latex/numprint/")
+ (base32
+ "1rqbqj4ffcfxxxxbs100pdslaiimwzgg19mf2qzcmm5snxwrf7zj")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-tools))
+ (home-page "https://ctan.org/pkg/numprint")
+ (synopsis "Print numbers with separators and exponent if necessary")
+ (description
+ "The package numprint prints numbers with a separator every three digits
+and converts numbers given as @samp{12345.6e789} to @samp{12\\,345,6\\cdot
+10^@{789@}}. Numbers are printed in the current mode (text or math) in order
+to use the correct font.
+
+Many things, including the decimal sign, the thousand separator, as well as
+the product sign can be changed by the user. If an optional argument is given
+it is printed upright as unit. Numbers can be rounded to a given number of
+digits. The package supports an automatic, language-dependent change of the
+number format.")
+ (license license:lppl)))
(define-deprecated-package texlive-latex-numprint texlive-numprint)
- 126/435: gnu: texlive-bibtex: Refresh package definition., (continued)
- 126/435: gnu: texlive-bibtex: Refresh package definition., guix-commits, 2023/06/06
- 206/435: gnu: texlive-iftex: Refresh package definition., guix-commits, 2023/06/06
- 221/435: gnu: texlive-libertine: Refresh package definition., guix-commits, 2023/06/06
- 217/435: gnu: texlive-wasy: Refresh package definition., guix-commits, 2023/06/06
- 234/435: gnu: texlive-bigfoot: Refresh package definition., guix-commits, 2023/06/06
- 235/435: gnu: texlive-filemod: Refresh package definition., guix-commits, 2023/06/06
- 247/435: gnu: texlive-listings: Refresh package definition., guix-commits, 2023/06/06
- 238/435: gnu: texlive-refcount: Refresh package definition., guix-commits, 2023/06/06
- 250/435: gnu: texlive-pdfpages: Refresh package definition., guix-commits, 2023/06/06
- 253/435: gnu: texlive-acronym: Refresh package definition., guix-commits, 2023/06/06
- 256/435: gnu: texlive-numprint: Refresh package definition.,
guix-commits <=
- 257/435: gnu: texlive-atbegshi: Refresh package definition., guix-commits, 2023/06/06
- 258/435: gnu: texlive-bigintcalc: Refresh package definition., guix-commits, 2023/06/06
- 273/435: gnu: texlive-unicode-data: Refresh package definition., guix-commits, 2023/06/06
- 284/435: gnu: texlive-hyperref: Refresh package definition., guix-commits, 2023/06/06
- 295/435: gnu: texlive-zapfding: Refresh package definition., guix-commits, 2023/06/06
- 306/435: gnu: texlive-seminar: Refresh package definition., guix-commits, 2023/06/06
- 307/435: gnu: texlive-pstool: Refresh package definition., guix-commits, 2023/06/06
- 308/435: gnu: texlive-fira: Refresh package definition., guix-commits, 2023/06/06
- 313/435: gnu: texlive-lua-alt-getopt: Refresh package definition., guix-commits, 2023/06/06
- 311/435: gnu: texlive-cs: Refresh package definition., guix-commits, 2023/06/06