[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
256/418: gnu: texlive-numprint: Refresh package definition.
From: |
guix-commits |
Subject: |
256/418: gnu: texlive-numprint: Refresh package definition. |
Date: |
Fri, 2 Jun 2023 17:25:31 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 2e44722290e4ea209e55a24ab41c086dd86f9fe7
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 f2e856a64a..4b61bb6a6e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9251,43 +9251,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)
- 397/418: gnu: texlive-amsfonts: Fix build., (continued)
- 397/418: gnu: texlive-amsfonts: Fix build., guix-commits, 2023/06/02
- 401/418: gnu: texlive-stmaryrd: Fix build., guix-commits, 2023/06/02
- 410/418: gnu: texlive-xindy: Use TEXLIVE-BUILD-SYSTEM and related tools., guix-commits, 2023/06/02
- 415/418: gnu: Add texlive-mfware., guix-commits, 2023/06/02
- 417/418: gnu: texlive-texmf: Improve package style., guix-commits, 2023/06/02
- 156/418: gnu: texlive-datetime2: Refresh package definition., guix-commits, 2023/06/02
- 231/418: gnu: texlive-babel-french: Refresh package definition., guix-commits, 2023/06/02
- 240/418: gnu: texlive-makecmds: Refresh package definition., guix-commits, 2023/06/02
- 225/418: gnu: Add texlive-xmltexconfig., guix-commits, 2023/06/02
- 245/418: gnu: texlive-polyglossia: Refresh package definition., guix-commits, 2023/06/02
- 256/418: gnu: texlive-numprint: Refresh package definition.,
guix-commits <=
- 258/418: gnu: texlive-bigintcalc: Refresh package definition., guix-commits, 2023/06/02
- 260/418: gnu: texlive-etexcmds: Refresh package definition., guix-commits, 2023/06/02
- 268/418: gnu: texlive-uniquecounter: Refresh package definition., guix-commits, 2023/06/02
- 269/418: gnu: Add texlive-colorprofiles., guix-commits, 2023/06/02
- 296/418: gnu: texlive-palatino: Refresh package definition., guix-commits, 2023/06/02
- 330/418: gnu: texlive-helvetic: Refresh package definition., guix-commits, 2023/06/02
- 324/418: gnu: texlive-kpfonts: Refresh package definition., guix-commits, 2023/06/02
- 329/418: gnu: texlive-dehyph-exptl: Refresh package definition., guix-commits, 2023/06/02
- 328/418: gnu: texlive-ukrhyph: Refresh package definition., guix-commits, 2023/06/02
- 318/418: gnu: texlive-graphics-cfg: Refresh package definition., guix-commits, 2023/06/02