Hello,
I have a problem when I want to view my document with Lyx (ctrl+r). I get the Error
"LaTeX Error: File "titlesec.sty" not found"
with the description:
"(cannot \read from terminal in nonstop modes)"
I have the Lyx 2.1.2. Do you have a solution for this problem? I read that this error means that some package is missing. But I don't know what package and how to install this missing package if this is the case.
LyX ⇒ LaTeX Error: File "titlesec.sty" not found
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: LaTeX Error: File "titlesec.sty" not found
The package missing is titlesec. You can install it using the MikTeX package manager. You can find it somewhere in your start menu.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: LaTeX Error: File "titlesec.sty" not found
Well problem solved. I reinstalled MikTeX and installed the full MikTeX package (i just had the basic package). Took like 10 years to update everything. After that just opened a document with LyX and after reconfiguration everything worked.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: LaTeX Error: File "titlesec.sty" not found
Hi Rafael,
welcome to the forum!
A complete installation is a good choice. Less headaches later.
I would have chosen TeX Live 2014 though.
Stefan
welcome to the forum!
A complete installation is a good choice. Less headaches later.

Stefan
LaTeX.org admin
Re: LaTeX Error: File "titlesec.sty" not found
Well LyX was recommended by a friend of mine because it resembles Microsoft Word and isn't that cryptic like LaTeX. But I've never heard of TeX Live 2014.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
LaTeX Error: File "titlesec.sty" not found
LyX can be quite tricky. One of the developers stated a few weeks ago, that LyX is a tool for people with basic knowledge of LaTeX. So you might want to have a look at a LaTeX-introduction.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
LaTeX Error: File "titlesec.sty" not found
Yes, I agree that it is useful to have as much knowledge about using LaTeX as possible when using LyX. Sooner or later you will run into a LaTeX error and you will need to know LaTeX at least to interpret it and understand how to fix it. Many think that LyX is a tool for *only* people with little knowledge of LaTeX. I think it is an unfortunate point of view. It is all a matter of preferences. I like delegating a lot of the LaTeX work to LyX and only stepping in when I need to. But I needed to learn a lot of LaTeX to know exactly what I'm delegating to LyX.Johannes_B wrote:LyX can be quite tricky. One of the developers stated a few weeks ago, that LyX is a tool for people with basic knowledge of LaTeX. So you might want to have a look at a LaTeX-introduction.