Latex not downloading update packages

  • Context: LaTeX 
  • Thread starter Thread starter qspeechc
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The discussion centers on issues with downloading LaTeX packages using MikTeX and WinShell. Users encountered errors such as missing files like `caption.sty` and issues with the default compiler settings. Recommendations include checking the default compiler in WinShell, using the MikTeX Package Manager to install missing packages, and considering alternative front ends like TeXstudio. Ultimately, the user resolved their issues by installing the `caption` package through MikTeX.

PREREQUISITES
  • Familiarity with MikTeX 2.9 package management
  • Understanding of LaTeX document compilation processes
  • Basic knowledge of front-end tools like WinShell and TeXstudio
  • Experience with troubleshooting LaTeX errors
NEXT STEPS
  • Learn how to use MikTeX Package Manager effectively
  • Explore configuration settings in WinShell for LaTeX compilation
  • Investigate common LaTeX errors and their resolutions
  • Research alternative LaTeX front ends, particularly TeXstudio
USEFUL FOR

LaTeX users, particularly those using MikTeX and WinShell, as well as anyone troubleshooting package installation and compilation issues in LaTeX documents.

qspeechc
Messages
839
Reaction score
15
Hello everyone.

I'm using Miktex, which is supposed to automatically download packages, and WinShell as a front end, both are latest versions.

For some reason packages are not downloading. First the wrapfig.sty file didn't download, so I did it manually by downloading it into the .tex file I'm working on.

Then it said it can't download caption.sty in the caption package. I checked, this package doesn't have a .sty file.

Specifically, I get the error:
Book.tex(1): Error: LaTeX Error: File `caption.sty' not found.

Can anyone help please?
 
Physics news on Phys.org
It could be something with your front end package. Maybe try using a different gui like texstudio. If the problem persist, then something is misconfigured in Miktex and you should try reinstalling it.
 
  • Like
Likes   Reactions: qspeechc
I'm getting a different bunch of errors with Texstudio. Plus I re-installed Miktex just before posting this thread.

Unfortunately, the package mptopdf could not be installed.Please check the log file: C:/.../AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log
Error: Command crashed: pdflatex.exe -synctex=1 -interaction=nonstopmode "Book".tex
Process exited with error(s)

Urgh, Latex is killing me!
 
Check your default compiler setting in your front end, likely under options/configurations. Make sure the default compiler is set to PdfLaTeX.
 
  • Like
Likes   Reactions: qspeechc
Now everything has stopped working altogether. In Winshell you choose the compiler. Nothing's working. I try to compile a pdf file and nothing happens. I give up! Thanks anyway NFuller.
 
Got Latex working again, but the caption package not working like it should! Nevermind, it's not serious.
 
qspeechc said:
Got Latex working again, but the caption package not working like it should! Nevermind, it's not serious.
if you use MikTex then go to Package manager and search for caption and then install it.
 
  • Like
Likes   Reactions: qspeechc
Hallelujah Brother! It actually seems to work!

I can't thank you enough Payam! I'm so glad to get over these Latex gremlins :biggrin:
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
9K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
8K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K