PdfLatex Compiling does not stop?

2,047

I found the source of the problem .

When I installed Complete MikTex , I did not properly delete all old Miktex files which probably triggered some compatibility issues resulting in an infinite loop when attempting to compile .

Share:
2,047
Walid Astaoui
Author by

Walid Astaoui

Updated on August 01, 2022

Comments

  • Walid Astaoui
    Walid Astaoui over 1 year

    A few weeks ago , I started using Basic Miktex with TexMaker , everything was working fine (even tho compiling used to take minutes !) . I uninstalled Basic Miktex and TexMaker and downloaded Complete Miktex then TexStudio , but now when I try to compile even the minimal latex code : Minimal Tex Code

    It says that compilation started but nothing happens no matter how much I wait , my pc starts heating in the process as if the compilation's crashing and doesn't stop until I force its abortion : Results

    My settings seem normal : Settings

    Settings

    Any idea where the problem might be ? (My pc is strong and fast , windows 10)

    • Bernard
      Bernard about 5 years
      Welcome to TeX SX! Yes, your settings look normal (almost: if you're under Windows, you should use SumatraPDF as an external pdfviewer, as Adobe Reader locks pdf files. What happens if you compile from the command line?
    • David Carlisle
      David Carlisle about 5 years
      do you get a .log filre from the tex run, if so, what does it say?
    • Walid Astaoui
      Walid Astaoui about 5 years
      The same thing happens when I compile from the command line : compilation does not stop . I don't get a .log file .
    • Walid Astaoui
      Walid Astaoui about 5 years
      @Bernard, DavidCarlisle , I'd be grateful if you gave the matter more attention.
    • Bernard
      Bernard about 5 years
      Could you post a minimal code reproducing the problem? Aldo, from the command line, you have messages. Could you post them?
    • Walid Astaoui
      Walid Astaoui about 5 years
      @Bernard , I did show a minimal code on top. The command line only shows this (before the endless compilation starts) : This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6500 64-bit)
    • Walid Astaoui
      Walid Astaoui about 5 years
      @DavidCarlisle , I'd like to hear what you have to say about the problem .
    • David Carlisle
      David Carlisle about 5 years
      I am not sure we can help at a distance, the error is not really a tex error but a problem with the pdftex executable on your machine, I guess you could try re-installing miktex, in any case the error is in teh miktex executable so any fix is likely to be miktex specific and I have never used miktex so can't really help.
    • Walid Astaoui
      Walid Astaoui about 5 years
      @DavidCarlisle , are you recommending TexLive ? If so , what are the reasons ?
    • David Carlisle
      David Carlisle about 5 years
      I don't just use windows (and even on windows I use the cygwin unix-like texlive) until very recently miktex was windows-only and I have been using texlive or its predecessor tetex or its predecessor unix-tex since 1987 or something so have never felt the need to try miktex
    • Walid Astaoui
      Walid Astaoui about 5 years
      I'm gonna try reinstalling the distribution , i'll feed back once I get to see the results .