mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
gnu: texlive-numprint: Refresh package definition.
* gnu/packages/tex.scm (texlive-numprint): Remove SIMPLE-TEXLIVE-PACKAGE call.
This commit is contained in:
parent
df2b6cd2b1
commit
260140f331
1 changed files with 26 additions and 36 deletions
|
@ -9221,43 +9221,33 @@ (define-public texlive-ncctools
|
||||||
(license license:lppl)))
|
(license license:lppl)))
|
||||||
|
|
||||||
(define-public texlive-numprint
|
(define-public texlive-numprint
|
||||||
(let ((template
|
(package
|
||||||
(simple-texlive-package
|
(name "texlive-numprint")
|
||||||
"texlive-numprint"
|
(version (number->string %texlive-revision))
|
||||||
(list "doc/latex/numprint/"
|
(source (texlive-origin
|
||||||
"source/latex/numprint/"
|
name version
|
||||||
"tex/latex/numprint/")
|
(list "doc/latex/numprint/" "source/latex/numprint/"
|
||||||
(base32 "1rqbqj4ffcfxxxxbs100pdslaiimwzgg19mf2qzcmm5snxwrf7zj"))))
|
"tex/latex/numprint/")
|
||||||
(package
|
(base32
|
||||||
(inherit template)
|
"1rqbqj4ffcfxxxxbs100pdslaiimwzgg19mf2qzcmm5snxwrf7zj")))
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(build-system texlive-build-system)
|
||||||
(substitute-keyword-arguments (package-arguments template)
|
(propagated-inputs
|
||||||
((#:tex-directory _ '())
|
(list texlive-tools))
|
||||||
"latex/numprint")
|
(home-page "https://ctan.org/pkg/numprint")
|
||||||
((#:build-targets _ '())
|
(synopsis "Print numbers with separators and exponent if necessary")
|
||||||
'(list "numprint.ins"))))
|
(description
|
||||||
(home-page "https://www.ctan.org/pkg/numprint")
|
"The package numprint prints numbers with a separator every three digits
|
||||||
(synopsis "Print numbers with separators and exponent if necessary")
|
and converts numbers given as @samp{12345.6e789} to @samp{12\\,345,6\\cdot
|
||||||
(description
|
10^@{789@}}. Numbers are printed in the current mode (text or math) in order
|
||||||
"The package numprint prints numbers with a separator every three
|
to use the correct font.
|
||||||
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
|
Many things, including the decimal sign, the thousand separator, as well as
|
||||||
well as the product sign can be changed by the user, e.g., to reach
|
the product sign can be changed by the user. If an optional argument is given
|
||||||
12,345.6\\times 10^{789}.
|
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
|
||||||
If an optional argument is given it is printed upright as unit.
|
number format.")
|
||||||
Numbers can be rounded to a given number of digits. The package
|
(license license:lppl)))
|
||||||
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))))
|
|
||||||
|
|
||||||
(define-deprecated-package texlive-latex-numprint texlive-numprint)
|
(define-deprecated-package texlive-latex-numprint texlive-numprint)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue