How To Install texlive-tableof on Fedora 36

In this tutorial we learn how to install texlive-tableof in Fedora 36. texlive-tableof is Tagging tables of contents

Introduction

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

What is texlive-tableof

The package provides the commands to flag chapters or sections (or anything else destined to become a TOC line). The command \nexttocwithtags{req1,req2,…}{excl1,excl2,…} specifies which tags are to be required and which ones are to be excluded by the next \tableofcontents (or equivalent) command. In a document that uses a class where \tableofcontents may only be used once, the command \tableoftaggedcontents{req1,req2,…}{excl1,excl2,…} may be used to provide several tables.

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

Install texlive-tableof 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-tableof using dnf by running the following command:

sudo dnf -y install texlive-tableof

Install texlive-tableof 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-tableof using yum by running the following command:

sudo yum -y install texlive-tableof

How To Uninstall texlive-tableof on Fedora 36

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

sudo dnf remove texlive-tableof

texlive-tableof Package Contents on Fedora 36

/usr/share/licenses/texlive-tableof
/usr/share/licenses/texlive-tableof/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/tableof
/usr/share/texlive/texmf-dist/tex/latex/tableof/tableof.sty

References

Summary

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