Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LaTeX Error with Sphinx: file `titlesec.sty' not found

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.

like image 676
yucer Avatar asked Jul 06 '15 12:07

yucer


2 Answers

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
like image 116
Justin Solms Avatar answered Sep 24 '22 07:09

Justin Solms


You can simply install the required package texlive-titlesec via yum (if you are using the RPM packet manager):

yum install texlive-titlesec
like image 39
klaus Avatar answered Sep 22 '22 07:09

klaus