Latex not downloading update packages

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

Discussion Overview

The discussion revolves around issues related to downloading and using LaTeX packages in MikTeX, specifically focusing on errors encountered while compiling documents with WinShell as a front end. Participants share their experiences and troubleshooting steps regarding package installations and compiler settings.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant reports issues with MikTeX not automatically downloading required packages, specifically mentioning the wrapfig.sty and caption.sty files.
  • Another suggests that the problem may lie with the front end being used and recommends trying a different GUI like TeXstudio or reinstalling MikTeX if issues persist.
  • A different participant experiences errors with TeXstudio and notes that the mptopdf package could not be installed, indicating a crash of the pdflatex command.
  • One participant advises checking the default compiler settings in the front end to ensure it is set to PdfLaTeX.
  • Another participant expresses frustration as their LaTeX setup stops working entirely, despite attempts to compile a PDF file.
  • One participant mentions that they managed to get LaTeX working again but still face issues with the caption package, suggesting that it may require manual installation through the MikTeX package manager.
  • A later reply confirms success in resolving the issues, expressing gratitude for the assistance received in overcoming the problems encountered.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the root cause of the issues, as multiple suggestions and experiences are shared without a definitive solution being established. Some participants find success with different approaches, while others continue to face challenges.

Contextual Notes

Limitations include potential misconfigurations in MikTeX, varying experiences with different front ends, and unresolved errors related to specific packages. The discussion reflects a range of troubleshooting steps without a clear resolution for all participants.

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
7K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
9K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K