gnu: Add texlive-minitoc.

* gnu/packages/tex.scm (texlive-minitoc): New variable.
This commit is contained in:
Nicolas Goaziou 2023-05-05 18:43:49 +02:00
parent 92c0962c5a
commit f380aa3560
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10264,6 +10264,30 @@ (define-public texlive-microtype
the bundle.")
(license license:lppl1.3c))))
(define-public texlive-minitoc
(package
(name "texlive-minitoc")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/minitoc/"
"tex/latex/minitoc/")
(base32
"0yd1na5b9m7z1j87a5fjwjqddfpiblfbpzcv0vlvql6lwh38mii7")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/minitoc")
(synopsis "Produce a table of contents for each chapter, part or section")
(description
"The @code{minitoc} package allows you to add
mini-tables-of-contents (minitocs) at the beginning of every chapter, part or
section. There is also provision for mini-lists of figures and of tables. At
the part level, they are parttocs, partlofs and partlots. If the type of
document does not use chapters, the basic provision is section level secttocs,
sectlofs and sectlots. The package has provision for language-specific
configuration of its own fixed names, using @file{.mld} files.")
(license license:lppl1.3+)))
(define-public texlive-minted
(let ((template (simple-texlive-package
"texlive-minted"