[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
111/245: gnu: Add texlive-ionumbers.
From: |
guix-commits |
Subject: |
111/245: gnu: Add texlive-ionumbers. |
Date: |
Sun, 30 Jul 2023 13:46:46 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 94c927ae9d80955eb7471773c11fea16a069d63e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jul 30 16:25:51 2023 +0200
gnu: Add texlive-ionumbers.
* gnu/packages/tex.scm (texlive-ionumbers): New variable.
---
gnu/packages/tex.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a50a237041..d14d9bc7c9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4132,6 +4132,40 @@ The package also supports fence scaling and ensures that
the enclosing fences
will end up having the proper closing and opening types.")
(license license:lppl1.3+)))
+(define-public texlive-ionumbers
+ (package
+ (name "texlive-ionumbers")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/ionumbers/"
+ "source/latex/ionumbers/"
+ "tex/latex/ionumbers/")
+ (base32
+ "0rbm4z2qg1ifwslxdsgzdcni701s3q32i2iaqldm7g7jinn8bivn")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (home-page "https://ctan.org/pkg/ionumbers")
+ (synopsis "Restyle numbers in maths mode")
+ (description
+ "@code{ionumbers} stands for input/output numbers. The package restyles
+numbers in maths mode. If a number in the input file is written, e.g., as
+@samp{$3,231.44$} as commonly used in English texts, the package is able to
+restyle it to be output as @samp{$3\\,231{,}44$} as commonly used in German
+texts (and vice versa). This may be useful, for example, if you have a large
+table and want to include it in texts with different output conventions
+without the need to change the table.
+
+The package can also automatically group digits left of the decimal separator
+(thousands) and right of the decimal separator (thousandths) in triplets
+without the need of specifing commas (English) or points (German) as
+separators. E.g., the input @samp{$1234.567890$} can be output as
+@samp{$1\\,234.\\,567\\,890$}.
+
+Finally, an @emph{e} starts the exponent of the number. For example,
+@samp{$21e6$} may be output as @samp{$26\\times10\\,^@{6@}$}.")
+ (license license:gpl3+)))
+
(define-public texlive-bibtex8
(package
(name "texlive-bibtex8")
- 88/245: gnu: Add texlive-fixdif., (continued)
- 88/245: gnu: Add texlive-fixdif., guix-commits, 2023/07/30
- 91/245: gnu: Add texlive-formal-grammar., guix-commits, 2023/07/30
- 94/245: gnu: Add texlive-gastex., guix-commits, 2023/07/30
- 101/245: gnu: Add texlive-helmholtz-ellis-ji-notation., guix-commits, 2023/07/30
- 92/245: gnu: Add texlive-fouridx., guix-commits, 2023/07/30
- 93/245: gnu: Add texlive-functan., guix-commits, 2023/07/30
- 98/245: gnu: Add texlive-gotoh., guix-commits, 2023/07/30
- 96/245: gnu: Add texlive-ghsystem., guix-commits, 2023/07/30
- 97/245: gnu: Add texlive-glosmathtools., guix-commits, 2023/07/30
- 102/245: gnu: Add texlive-hep., guix-commits, 2023/07/30
- 111/245: gnu: Add texlive-ionumbers.,
guix-commits <=
- 109/245: gnu: Add texlive-includernw., guix-commits, 2023/07/30
- 105/245: gnu: Add texlive-hepparticles., guix-commits, 2023/07/30
- 114/245: gnu: Add texlive-jupynotex., guix-commits, 2023/07/30
- 38/245: gnu: Add texlive-chemexec., guix-commits, 2023/07/30
- 29/245: gnu: Add texlive-bytefield., guix-commits, 2023/07/30
- 41/245: gnu: Add texlive-chemnum., guix-commits, 2023/07/30
- 120/245: gnu: Add texlive-lie-hasse., guix-commits, 2023/07/30
- 108/245: gnu: Add texlive-ibrackets., guix-commits, 2023/07/30
- 116/245: gnu: Add texlive-karnaugh-map., guix-commits, 2023/07/30
- 69/245: gnu: Add texlive-drawmatrix., guix-commits, 2023/07/30