guix-commits
[Top][All Lists]
Advanced

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

15/418: gnu: texlive-latex-etoc -> texlive-etoc.


From: guix-commits
Subject: 15/418: gnu: texlive-latex-etoc -> texlive-etoc.
Date: Fri, 2 Jun 2023 17:23:48 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 455c15ae19daf87adb3eecbd6614f3db214bab30
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 4 22:47:22 2023 +0200

    gnu: texlive-latex-etoc -> texlive-etoc.
    
    * gnu/packages/tex.scm (texlive-etoc): New variable.
    (texlive-latex-etoc): Deprecate variable.
    * gnu/packages/maths.scm (hypre): Apply renaming.
---
 gnu/packages/maths.scm |  2 +-
 gnu/packages/tex.scm   | 54 ++++++++++++++++++++++++++++----------------------
 2 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4e34124469..47edfacdd3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5757,6 +5757,7 @@ set.")
                                      texlive-cm
                                      texlive-courier
                                      texlive-enumitem
+                                     texlive-etoc
                                      texlive-etoolbox
                                      texlive-fancyhdr
                                      texlive-fancyvrb
@@ -5770,7 +5771,6 @@ set.")
                                      texlive-generic-listofitems
                                      texlive-latex-cmap
                                      texlive-latex-colortbl
-                                     texlive-latex-etoc
                                      texlive-latex-float
                                      texlive-latex-fncychap
                                      texlive-latex-framed
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2a94d6d226..2163c2883a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4935,36 +4935,42 @@ also provided.")
 
 (define-deprecated-package texlive-latex-eqparbox texlive-eqparbox)
 
-(define-public texlive-latex-etoc
+(define-public texlive-etoc
   (package
-    (inherit (simple-texlive-package
-              "texlive-latex-etoc"
-              '("/doc/latex/etoc/README.md"
-                "/doc/latex/etoc/etoc.pdf"
-                "/tex/latex/etoc/")
-              (base32
-               "0198cn75m1y8ggbfv1qlnif0d9275f6mxqsansyqw4np0rv6q9sv")
-              #:trivial? #t))
-    (home-page "https://www.ctan.org/pkg/etoc";)
-    (synopsis "Completely customisable TOCs")
+    (name "texlive-etoc")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/etoc/"
+                   "source/latex/etoc/"
+                   "tex/latex/etoc/")
+             (base32
+              "04vjfn4jadxbc38r08r9pwvpj7szvk88hiav35iqhl3p78xri7z4")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/etoc";)
+    (synopsis "Customisable table of contents")
     (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.
+     "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
+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
+@code{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+)))
+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-deprecated-package texlive-latex-etoc texlive-etoc)
 
 (define-public texlive-latex-expdlist
   (package



reply via email to

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