0

I had a book that contains the varwidth package. Until now everything was OK, but finally this error appeared:

Sorry, but "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe" did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\HP 250\AppData\Local\MiKTeX\2.9\miktex\log\pdflatex.log

This problem appeared after that problem. I don't know if they are related. What do you believe? How can I solve it?

Here is the log-file and this is my code:

\documentclass[a4paper,11pt,twoside]{book}
\usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}

\usepackage{varwidth}

\begin{document}

   text

\end{document}

Thank's in advanced!

  • No issues on TeX Live. Have you considered completely reinstalling MikTeX? – daleif Feb 7 at 9:35
  • The error message doesn't say anything at at about the source of the problem. Does the file compile if you remove varwidth? – Ulrike Fischer Feb 7 at 9:44
  • @UlrikeFischer , yes it compiles if I remove varwidth from the code I posted. I 'm saying "from the code I posted", because if I delete it from the book the error appears again. So, I suppose that an other package has problem too. – Kώστας Κούδας Feb 7 at 9:54
  • BTW: The log location you cite, seems odd, what is explicitly in the log for the document. – daleif Feb 7 at 9:55
  • Then varwidth is probably not installed and miktex has problems to install it one the fly. Try to find the miktex-console and start it. Then search in the package list for varwidth and try to install it manually - if it doesn't work, you hopefully will at least get a better error message saying what doesn't work (e.g. proxy). – Ulrike Fischer Feb 7 at 9:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.