[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
256/458: gnu: texlive-numprint: Refresh package definition.
From: |
guix-commits |
Subject: |
256/458: gnu: texlive-numprint: Refresh package definition. |
Date: |
Wed, 14 Jun 2023 05:22:44 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 4b12e42891d9cb5ea2560f3c13d6157eb05d1ea5
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 380c018a85..a2f855daaf 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9221,43 +9221,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)
- 360/458: gnu: texlive-tetex: Refresh package definition., (continued)
- 360/458: gnu: texlive-tetex: Refresh package definition., guix-commits, 2023/06/14
- 383/458: gnu: texlive-lastpage: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/06/14
- 367/458: gnu: texlive-sectsty: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/06/14
- 400/458: gnu: texlive-tipa: Fix build., guix-commits, 2023/06/14
- 414/458: gnu: Add texlive-etex-pkg., guix-commits, 2023/06/14
- 444/458: gnu: Add texlive-latex-bin., guix-commits, 2023/06/14
- 456/458: gnu: Simplify texlive-default-updmap.cfg., guix-commits, 2023/06/14
- 277/458: gnu: texlive-auxhook: Refresh package definition., guix-commits, 2023/06/14
- 282/458: gnu: texlive-hycolor: Refresh package definition., guix-commits, 2023/06/14
- 297/458: gnu: texlive-times: Refresh package definition., guix-commits, 2023/06/14
- 256/458: gnu: texlive-numprint: Refresh package definition.,
guix-commits <=
- 294/458: gnu: texlive-zhspacing: Refresh package definition., guix-commits, 2023/06/14
- 300/458: gnu: texlive-textcase: Refresh package definition., guix-commits, 2023/06/14
- 286/458: gnu: texlive-rerunfilecheck: Refresh package definition., guix-commits, 2023/06/14
- 289/458: gnu: texlive-jadetex: Refresh package definition., guix-commits, 2023/06/14
- 306/458: gnu: texlive-seminar: Refresh package definition., guix-commits, 2023/06/14
- 308/458: gnu: texlive-fira: Refresh package definition., guix-commits, 2023/06/14
- 314/458: gnu: texlive-lualibs: Refresh package definition., guix-commits, 2023/06/14
- 320/458: gnu: texlive-glyphlist: Refresh package definition., guix-commits, 2023/06/14
- 343/458: gnu: texlive-cbfonts-fd: Refresh package definition., guix-commits, 2023/06/14
- 334/458: gnu: texlive-mflogo-font: Refresh package definition., guix-commits, 2023/06/14