How To Install texlive-sty2dtx on Fedora 36
Introduction
In this tutorial we learn how to install texlive-sty2dtx
on Fedora 36.
What is texlive-sty2dtx
The package provides a Perl script that converts a .sty file (LaTeX package) to .dtx format (documented LaTeX source), by surrounding macro definitions with macro and macrocode environments. The macro name is automatically inserted as an argument to the macro environemnt. Code lines outside macro definitions are wrapped only in macrocode environments. Empty lines are removed. The script should not be thought to be fool proof and 100% accurate but rather as a good start to the business of making a .dtx file from an undocumented style file. Full .dtx files are generated. A template based on the skeleton file from ‘dtxtut’ is used. User level macros are added automatically to the ‘Usage’ section of the .dtx file. A corresponding .ins file can be generated as well.
We can use yum
or dnf
to install texlive-sty2dtx
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-sty2dtx.
Install texlive-sty2dtx 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-sty2dtx
using dnf
by running the following command:
sudo dnf -y install texlive-sty2dtx
Install texlive-sty2dtx 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-sty2dtx
using yum
by running the following command:
sudo yum -y install texlive-sty2dtx
How To Uninstall texlive-sty2dtx on Fedora 36
To uninstall only the texlive-sty2dtx
package we can use the following command:
sudo dnf remove texlive-sty2dtx
texlive-sty2dtx Package Contents on Fedora 36
/usr/bin/sty2dtx
/usr/share/licenses/texlive-sty2dtx
/usr/share/licenses/texlive-sty2dtx/gpl3.txt
/usr/share/man/man1/sty2dtx.1.gz
/usr/share/texlive/texmf-dist/doc/support/sty2dtx
/usr/share/texlive/texmf-dist/doc/support/sty2dtx/README
/usr/share/texlive/texmf-dist/doc/support/sty2dtx/sty2dtx.pdf
/usr/share/texlive/texmf-dist/scripts/sty2dtx
/usr/share/texlive/texmf-dist/scripts/sty2dtx/sty2dtx.pl
References
Summary
In this tutorial we learn how to install texlive-sty2dtx
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).