diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-29 16:03:29 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-31 22:07:00 +0200 |
commit | 108315d4005d7e6a69fb537ccd94426faebb863f (patch) | |
tree | d4fd34ed953a4ab8e22ac6d3f798e4814fb6df10 | |
parent | 7b5ff0d6c05155a609eade3f35207ee052702eaf (diff) | |
download | guix-108315d4005d7e6a69fb537ccd94426faebb863f.tar.gz |
gnu: Add texlive-tocdata.
* gnu/packages/tex.scm (texlive-tocdata): New variable.
-rw-r--r-- | gnu/packages/tex.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index cf7bd4ad7c..ff62ba8dd8 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -98324,6 +98324,35 @@ a single package option hide, or just make them disappear entirely with the option off.") (license license:expat))) +(define-public texlive-tocdata + (package + (name "texlive-tocdata") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/tocdata/" "source/latex/tocdata/" + "tex/latex/tocdata/") + (base32 + "12yzfjg8ag7nh9ddk2mja1mn4w31rw931kzgdwk4aq022w5ksv8m"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/tocdata") + (synopsis "Adds names to chapters, sections, figures in the TOC and LOF") + (description + "The @code{tocdata} package may be used to add a small amount of data to an +entry in the table of contents or list of figures, between the section or +caption name and the page number. The typical use would be to add the name of +an author or artist of a chapter or section, such as in an anthology or +a collection of papers. Additionally, user-level macros are provided which +add the author's name to a chapter or section, along with an optional prefix +and/or suffix, and add to a figure the artist's name, prefix, and suffix, plus +optional additional text. Author and artist names are also added to the +index. Additional user-level macros control formatting. @code{tocdata} works +with the TOC/LOF formatting of the default LaTeX classes, @code{memoir}, +@code{koma-script}, and with @code{titletoc}, @code{tocloft}, @code{tocbasic}, +and @code{tocstyle}.") + (license license:lppl1.3+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar |