How To Install texlive-tocdata on Fedora 36

In this tutorial we learn how to install texlive-tocdata in Fedora 36. texlive-tocdata is Adds names to chapters, sections, figures in the TOC and LOF.

Introduction

In this tutorial we learn how to install texlive-tocdata on Fedora 36.

What is texlive-tocdata

The 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 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. tocdata works with the TOC/LOF formatting of the default LaTeX classes, memoir, koma-script, and with titletoc, tocloft, tocbasic, and tocstyle.

We can use yum or dnf to install texlive-tocdata on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-tocdata.

Install texlive-tocdata on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-tocdata using dnf by running the following command:

sudo dnf -y install texlive-tocdata

Install texlive-tocdata on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-tocdata using yum by running the following command:

sudo yum -y install texlive-tocdata

How To Uninstall texlive-tocdata on Fedora 36

To uninstall only the texlive-tocdata package we can use the following command:

sudo dnf remove texlive-tocdata

texlive-tocdata Package Contents on Fedora 36

/usr/share/licenses/texlive-tocdata
/usr/share/licenses/texlive-tocdata/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/tocdata
/usr/share/texlive/texmf-dist/doc/latex/tocdata/README.txt
/usr/share/texlive/texmf-dist/doc/latex/tocdata/tocdata.pdf
/usr/share/texlive/texmf-dist/tex/latex/tocdata
/usr/share/texlive/texmf-dist/tex/latex/tocdata/tocdata.sty

References

Summary

In this tutorial we learn how to install texlive-tocdata on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).