mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add texlive-mathdots.
* gnu/packages/tex.scm (texlive-mathdots): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
84100023e2
commit
437718442c
1 changed files with 41 additions and 0 deletions
|
@ -3993,6 +3993,47 @@ (define-public texlive-amsmath
|
|||
|
||||
(define-deprecated-package texlive-latex-amsmath texlive-amsmath)
|
||||
|
||||
(define-public texlive-mathdots
|
||||
(let ((template
|
||||
(simple-texlive-package
|
||||
"texlive-mathdots"
|
||||
(list "doc/generic/mathdots/"
|
||||
"source/generic/mathdots/"
|
||||
"tex/generic/mathdots/")
|
||||
(base32"1jaffj343p1chdxs2g7s6lpckvihk0jfw22nw0vmijyjxfiy9yg0"))))
|
||||
(package
|
||||
(inherit template)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments template)
|
||||
((#:tex-directory _ '())
|
||||
"generic/mathdots")
|
||||
((#:build-targets _ '())
|
||||
'(list "mathdots.ins"))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _
|
||||
(chdir "source/generic/mathdots")))
|
||||
(replace 'copy-files
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((origin (assoc-ref inputs "source"))
|
||||
(source (string-append (assoc-ref outputs "out")
|
||||
"/share/texmf-dist/source"))
|
||||
(doc (string-append (assoc-ref outputs "doc")
|
||||
"/share/texmf-dist/doc")))
|
||||
(copy-recursively (string-append origin "/source") source)
|
||||
(copy-recursively (string-append origin "/doc") doc))))))))
|
||||
(home-page "https://ctan.org/macros/generic/mathdots")
|
||||
(synopsis "Commands to produce dots in math that respect font size")
|
||||
(description
|
||||
"Mathdots redefines @code{\\ddots} and @code{\\vdots}, and defines
|
||||
@code{\\iddots}. The dots produced by @code{\\iddots} slant in the opposite
|
||||
direction to @code{\\ddots}. All the commands are designed to change size
|
||||
appropriately in scripts, as well as in response to LaTeX size changing
|
||||
commands. The commands may also be used in plain TeX.")
|
||||
(license license:lppl))))
|
||||
|
||||
(define-public texlive-amscls
|
||||
(let ((template (simple-texlive-package
|
||||
"texlive-amscls"
|
||||
|
|
Loading…
Reference in a new issue