-
-
Notifications
You must be signed in to change notification settings - Fork 616
! LaTeX Error: File filename .sty not found
Jan Küster edited this page Apr 6, 2021
·
1 revision
In case you get this kind of compile error, please make first sure that it does not occur on a fresh clone. If the fresh clone compiles it is likely to be due to your changes in the code.
If it occurs in the fresh clone, it is likely that you are missing the .sty package as part of the TeXLive
distribution. You need to find the TexLive package, that includes this sty.
An easy approach on Linux-distributions is to use the package manager's search functionality or tools like synaptic
to get the right package.
! LaTeX Error: File `xifthen.sty' not found
Let's search it via apt:
$ sudo apt update
$ sudo apt-cache search xifthen
it will return the following result:
texlive-latex-extra - TeX Live: LaTeX additional packages
which in turn is a clear match. You can simply install the package and you are good to go.
$ sudo apt install texlive-latex-extra
The compilation error should now be resolved