gnu: Add texlive-ms.

* gnu/packages/tex.scm (texlive-ms): New variable.
(texlive-latex-ms): Deprecate variable.
* gnu/packages/bioinformatics.scm (discrover):
* gnu/packages/python-xyz.scm (python-nbconvert): Use new variable.
This commit is contained in:
Nicolas Goaziou 2022-02-13 23:52:18 +01:00
parent 83c3332758
commit 94268d5021
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
3 changed files with 40 additions and 30 deletions

View file

@ -3338,7 +3338,7 @@ data and settings.")
texlive-fonts-ec texlive-fonts-ec
texlive-latex-examplep texlive-latex-examplep
texlive-hyperref texlive-hyperref
texlive-latex-ms texlive-ms
texlive-latex-natbib texlive-latex-natbib
texlive-bibtex ; style files used by natbib texlive-bibtex ; style files used by natbib
texlive-latex-pgf ; tikz texlive-latex-pgf ; tikz

View file

@ -12625,7 +12625,7 @@ time.")
texlive-grffile texlive-grffile
texlive-hyperref texlive-hyperref
texlive-latex-jknapltx texlive-latex-jknapltx
texlive-latex-ms texlive-ms
texlive-oberdiek texlive-oberdiek
texlive-latex-parskip texlive-latex-parskip
texlive-latex-trimspaces texlive-latex-trimspaces

View file

@ -7676,35 +7676,45 @@ including:
It also ensures compatibility with the @code{media9} and @code{animate} packages.") It also ensures compatibility with the @code{media9} and @code{animate} packages.")
(license license:lppl))) (license license:lppl)))
(define-public texlive-latex-ms (define-public texlive-ms
(let ((template
(simple-texlive-package
"texlive-ms"
(list "doc/latex/ms/" "source/latex/ms/" "tex/latex/ms/")
(base32 "1cgrpx5mybiirjjdmni8kvqdg37dwfkixq3h9ami0mgxqqqfl2x3"))))
(package (package
(name "texlive-latex-ms") (inherit template)
(version (number->string %texlive-revision)) (outputs '("out" "doc"))
(source (origin
(method svn-fetch)
(uri (texlive-ref "latex" "ms"))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"04ww5abfm7dx81d21yr2gwy9jswaalnfm2384xp4cyx7srd9spfv"))))
(build-system texlive-build-system)
(arguments (arguments
'(#:tex-directory "latex/ms" (substitute-keyword-arguments (package-arguments template)
#:tex-format "latex")) ((#:tex-directory _ '())
(home-page "https://ctan.org/pkg/ms") "latex/ms")
(synopsis "Various LATEX packages by Martin Schröder") ((#:tex-format _ "latex") "latex")
((#:build-targets _ '())
#~(list "count1to.ins" "multitoc.ins"))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'chdir
(lambda _
(chdir "source/latex/ms")))
(replace 'copy-files
(lambda* (#:key inputs #:allow-other-keys)
(let ((origin (assoc-ref inputs "source"))
(source (string-append #$output
"/share/texmf-dist/source"))
(doc (string-append #$output: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/latex/contrib/ms")
(synopsis "Various LaTeX packages by Martin Schroder")
(description (description
"A bundle of LATEX packages by Martin Schröder; the collection comprises: "The remains of a bundle of LaTeX packages by Martin Schroder; the
collection comprises: count1to, make use of TeX counters; and multitoc,
typeset the table of contents in multiple columns.")
(license license:lppl))))
@itemize (define-deprecated-package texlive-latex-ms texlive-ms)
@item @command{count1to}, make use of fixed TEX counters;
@item @command{everysel}, set commands to execute every time a font is selected;
@item @command{everyshi}, set commands to execute whenever a page is shipped out;
@item @command{multitoc}, typeset the table of contents in multiple columns;
@item @command{prelim2e}, mark typeset pages as preliminary; and
@item @command{ragged2e}, typeset ragged text and allow hyphenation.
@end itemize\n")
(license license:lppl1.3c+)))
(define-public texlive-latex-numprint (define-public texlive-latex-numprint
(package (package