Problem started when I was typing some equation in TeXstudio and faced problem regarding missing packages, specifically the .sty
file.
I looked upto some videos on the internet and followed the instruction as:
- Downloaded
.zip
packages from ctan site - Extracted them in
MiKTeX 2.9\tex\latex
- Opened up the MikTeX Console, and ran the
Refresh file name database
Still no luck with the missing packages.
However, I found that some of the packages didn't even contained the .sty
file!
For Eg. I downloaded Stix package and extracted and all.
Just ran a curious search and it didn't have .sty
file.
Similar with the rest 4 packages that I downloaded.
However, txfonts
package had the necessary .sty
file.
Still showing missing txfonts.sty
however it's clearly there.
I've updated the name database twice-thrice after each step that I could take.
No use.
PS: The MiKteX console is showing the Stix and txfonts
package listed, but the TeXstudio is reporting the error again and again.
Please Help.
Best Answer
Well, you do not need to download
*.zip
files from CTAn manually.As you can see in the MiKTeX console picture you added to your question the packages with name
*stix*
are not installed on your system, because you see no date in columnInstalled on
...To get them installed click on the first listed package, hold shift and click on the last of the four listed packeges in your image. Then all 4 packages get blue, that means marked. Now you can click on the + sign to install them (see the red arrow in the following image showing the result on my system) ...
Please note that you can now see dates in the column
Installed on
...