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

4

17

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.

Threadgill answered 6/7, 2015 at 12:57 Comment(0)
F
17

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
Floreated answered 18/5, 2016 at 10:10 Comment(1)
Package is named differently on pacman: $ sudo pacman -S texlive-formatsextraKaisership
E
4

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

yum install texlive-titlesec
Emblem answered 14/6, 2018 at 21:57 Comment(0)
T
2

I did need to install the texlive-full package. It have the titlesec.sty file. The textlive package does not contains the file.

Threadgill answered 6/7, 2015 at 12:57 Comment(2)
Which distro/OS are you using?Sacristy
ubuntu 15.10 at that timeThreadgill
C
0

You need to reinstall MikTeX and install the full MikTeX package (not just the basic package). Took like 10 years to update everything. After that just open a document with LyX and after reconfiguration everything should work.

Counterfactual answered 6/6, 2018 at 8:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.