MiKTeX and proTeXt ⇒ MikTeX creates no files
MikTeX creates no files
I am running MikTeX 2.8 with TexnicCenter 1 RC on a Win7 64 bit machine.
My problem is the following:
when i compile my document, no pdf file is created. i just get this message:
"pdflatex.exe: GUI framework cannot be initialized."
i tried to reinstall both, miktex and texniccenter as admin, and running the editor as admin, result is the same.
has anyone any ideas?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
MikTeX creates no files
MikTeX creates no files
i followed the remedy as given on the miktex website:
MiKTeX 2.8 Issues wrote:LaTeX terminates with "GUI framework cannot be initialized" if invoked from TeXnicCenter (1.0 Stable Release Candidate 1). This happens when a missing package needs to be installed and the pop-up window cannot be displayed.
Remedy: start MiKTeX Options and choose either Yes or No (but not "Ask me first") for the option "Install missing packages on-the-fly".
Re: MikTeX creates no files
Any suggestions?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
MikTeX creates no files
The remedy works only for TeXnicCenter (TXC) and its efficiency is proved. It is very likely that you are doing something wrong.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: MikTeX creates no files
I followed many suggestions on the internet to remedy this problem such as
* copy the Sweave.sty in a searchable path for Miktex (in this case tex/latex/misc, or in the folder with the tex files, or in other places)
* using the published remedy of choosing "yes" for MikTex settings "install packages on the fly"
* using MikTex package manager to install all needed packages
Nevertheless the following error message is consistently produced (e.g. with Leisch's Sweave example 1):
"GUI framework cannot be initialized" right after calling on fancyvrb.sty.
LaTeX Result: 0 errors, 0 warnings, 0 bad boxes.
I am at a loss what to do. Does anybody have a suggestion?
Thanks!
Re: MikTeX creates no files
Geoffrey
Re: MikTeX creates no files
Another solution is to avoid compiling the tex file through TeXnic Center altogether and run "pdflatex filename.tex" on the command line instead.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
MikTeX creates no files
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10