<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Uwe Lueck wrote:<br>
<blockquote type="cite">
<pre>><i> which I am running. I added \usepackage{citeref}
</i>><i> to my main file, but when I ran LaTeX I got this error:
</i>><i>
</i>><i> latex.exe: GUI framework cannot be initialized.
</i>><i>
</i>><i> LaTex failed to create a dvi file.
</i>><i> For possible explanations start the command from the command prompt.
</i>><i>
</i>><i> I tried running latex on the file from the command prompt,
</i>><i> but it didn't give me any useful information.
</i>
Typically, users asking for help cannot conclude anything
from the program's debugging informations, while helpers
cannot help you unless you provide these informations.
If this happens with citeref only and not when you use
your TeX installation for other projects, my idea from
my last experiences is: MiKTeX for a while supported
installation "on the fly" of missing packages, and I
was happy with this. Months or years later, when I tried
this "on the fly" installation, the run just crashed.
But on the next run, the missing package was installed
and worked. There weren't any debugging informations
from the crash, I just had no idea what was going on,
just tried another time. -- Well ...
</pre>
</blockquote>
<br>
I did see something like this as well. IIRC, this was on one of the
latest Windows (Vista or 7), and MiKTeX had been installed with
administrator's privileges. As a result, a normal user was not
allowed to run the package manager. When LaTeX run by a normal user
thus ran into an uninstalled package, it tried to start the package
manager GUI framework, but failed due to insufficient permissions
with the same (or a very similar) message as reported here. The
easiest solution was to run the package manager with appropriate
privileges manually to install the package (and perhaps turn off
on-the-fly installation as well).<br>
<br>
HTH<br>
Stefan<br>
</body>
</html>