LaTeX Error with Sphinx: file `titlesec.sty' not found
10,834
Solution 1
Actually you only need texlive-formats-extra
to get 361 MB of archives, instead of 1,500 MB for texlive-full
:
sudo apt install texlive-formats-extra
Solution 2
You can simply install the required package texlive-titlesec
via yum (if you are using the RPM packet manager):
yum install texlive-titlesec
Solution 3
I did need to install the texlive-full package. It have the titlesec.sty file. The textlive package does not contains the file.
![yucer](https://i.stack.imgur.com/81Vs3.png?s=256&g=1)
Author by
yucer
I love all kind of computer programming and algorithms. I like software architecture and code generation.
Updated on June 05, 2022Comments
-
yucer about 2 years
While trying to generate the PDF documentation of a Sphinx project, I get this:
! LaTeX Error: File `titlesec.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name:
I have installed the textlive package.
-
Thoughtful Dragon over 8 yearsWhich distro/OS are you using?
-
yucer almost 8 yearsubuntu 15.10 at that time
-
Git.Coach over 3 yearsPackage is named differently on pacman:
$ sudo pacman -S texlive-formatsextra