#827 Latex : compilation failed

Windows (49)

I've been using geany a lot on lubuntu recently, and I wanted to give it a try in Windows XP.
The program works well, except when I want to compile a Latex file : I press F9, geany *hangs* for 20 seconds (more than the time it takes to compile the file) then prints "Compilation failed." whith no error message (Help -> Debug messages, shows a "CreateChildProcess" failed). The file compiles fine when pdflatex is invoqued from the command line.
I've tried to specify the exact location of the pdflatex program to Geany but the problem remains. Setting the working directory to the bin/ folder of Miktex makes it unable to find the .tex file that should be compiled.
I'm using Geany 0.21.


  • Lex Trotman

    Lex Trotman - 2012-03-26

    Try running geany from the command line with the -v option and see exactly what command it is trying to run.

  • frlan

    frlan - 2012-03-27

    Please try to run pdflatex from command line. I know this behavior from having missing mitex packages and the attempt to download them....

  • Kalith

    Kalith - 2012-03-29

    I have already stated in my report that running pdflatex from command line works fine, and there are no package to download. I'd also add that the hang also happens when compiling a C++ file, but here at least the compilation is successful.

    Running Geany with the -v option shows nothing more that is relevant. It still prints the "CreateProcess failed" message (which actually doesn't show when compiling a C++ file). It doesn't print the latex command.

    Thank you for your help !


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks