guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

31/37: gnu: Add texlive-latex-etoc.


From: guix-commits
Subject: 31/37: gnu: Add texlive-latex-etoc.
Date: Sat, 5 Jun 2021 18:17:02 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 93b4299a784c12d53bf5f0900af9a17ff1540af7
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon May 24 21:46:51 2021 +0200

    gnu: Add texlive-latex-etoc.
    
    * gnu/packages/tex.scm (texlive-latex-etoc): New public variable.
---
 gnu/packages/tex.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 935f30e..9760e81 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4233,6 +4233,37 @@ for a variety of alignment purposes, as is evidenced by 
the examples in
 also provided.")
     (license license:lppl1.3+)))
 
+(define-public texlive-latex-etoc
+  (package
+    (inherit (simple-texlive-package
+              "texlive-latex-etoc"
+              '("/doc/latex/etoc/README.md"
+                "/doc/latex/etoc/etoc.pdf"
+                "/tex/latex/etoc/")
+              (base32
+               "0i4fgqzqajirjyih6gbx890l17y648mdfqm09v3iz4af0dz4mbdy")
+              #:trivial? #t))
+    (home-page "https://www.ctan.org/pkg/etoc";)
+    (synopsis "Completely customisable TOCs")
+    (description
+     "This package gives the user complete control of how the entries of
+the table of contents should be constituted from the name, number, and page
+number of each sectioning unit.  The layout is controlled by the definition
+of ‘line styles’ for each sectioning level used in the document.
+
+The package provides its own custom line styles (which may be used as
+examples), and continues to support the standard formatting inherited from
+the LaTeX document classes, but the package can also allow the user to
+delegate the details to packages dealing with list making environments (such
+as enumitem).  The package’s default global style typesets tables of contents
+in a multi-column format, with either a standard heading, or a ruled title
+(optionally with a frame around the table).
+
+The @code{\\tableofcontents} command may be used arbitrarily many times in
+the same document, while @code{\\localtableofcontents} provides a ‘local’
+table of contents.")
+    (license license:lppl1.3c+)))
+
 (define-public texlive-latex-expdlist
   (package
     (name "texlive-latex-expdlist")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]