[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/13: gnu: Add texlive-siunitx.
From: |
guix-commits |
Subject: |
12/13: gnu: Add texlive-siunitx. |
Date: |
Thu, 5 Sep 2019 16:46:32 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 69f0c8cf5566848f0065f84d73c7d76e01475842
Author: Ricardo Wurmus <address@hidden>
Date: Thu Sep 5 22:24:45 2019 +0200
gnu: Add texlive-siunitx.
* gnu/packages/tex.scm (texlive-siunitx): New variable.
---
gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c5e36af..2b15ffb 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7299,3 +7299,41 @@ The class may be used to simplify the preamble in
sub-files. By default the
The behaviour in standalone mode may adjusted using a configuration file
@code{standalone.cfg} to redefine the standalone environment.")
(license license:lppl1.3+)))
+
+(define-public texlive-siunitx
+ (package
+ (name "texlive-siunitx")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "/source/latex/siunitx/siunitx.dtx"
+ "/doc/latex/siunitx/README.md")
+ (base32
+ "0dmljnxgv2bwl3mi74iil41q03swvrm1b0ziwxlhc4m9lx31b1q1")))
+ (build-system texlive-build-system)
+ (arguments
+ '(#:tex-directory "latex/siunitx"
+ #:build-targets '("siunitx.dtx")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/siunitx") #t)))))
+ (propagated-inputs
+ `(("texlive-latex-l3kernel" ,texlive-latex-l3kernel)
+ ("texlive-latex-l3packages" ,texlive-latex-l3packages)))
+ (home-page "http://www.ctan.org/pkg/siunitx")
+ (synopsis "Comprehensive SI units package")
+ (description
+ "Typesetting values with units requires care to ensure that the combined
+mathematical meaning of the value plus unit combination is clear. In
+particular, the SI units system lays down a consistent set of units with rules
+on how they are to be used. However, different countries and publishers have
+differing conventions on the exact appearance of numbers (and units). A
+number of LaTeX packages have been developed to provide consistent application
+of the various rules. The @code{siunitx} package takes the best from the
+existing packages, and adds new features and a consistent interface. A number
+of new ideas have been incorporated, to fill gaps in the existing provision.
+The package also provides backward-compatibility with @code{SIunits},
+@code{sistyle}, @code{unitsdef} and @code{units}. The aim is to have one
+package to handle all of the possible unit-related needs of LaTeX users.")
+ (license license:lppl1.3c)))
- 04/13: gnu: Add texlive-xcolor., (continued)
- 04/13: gnu: Add texlive-xcolor., guix-commits, 2019/09/05
- 06/13: gnu: Add texlive-pstricks., guix-commits, 2019/09/05
- 09/13: gnu: Add texlive-tools., guix-commits, 2019/09/05
- 11/13: gnu: Add texlive-standalone., guix-commits, 2019/09/05
- 07/13: gnu: Add texlive-pst-text., guix-commits, 2019/09/05
- 02/13: gnu: vigra-c: Update to 0.0.0-1.66ff4fa., guix-commits, 2019/09/05
- 05/13: gnu: Add texlive-ydoc., guix-commits, 2019/09/05
- 13/13: gnu: Add texlive-booktabs., guix-commits, 2019/09/05
- 08/13: gnu: Add texlive-iftex., guix-commits, 2019/09/05
- 10/13: gnu: texlive-latex-xkeyval: Fix build., guix-commits, 2019/09/05
- 12/13: gnu: Add texlive-siunitx.,
guix-commits <=