On Mon, May 4, 2015 at 2:49 PM, Johan Råde <johan.r...@gmail.com> wrote:
> Hi,
>
> I'm trying to get ConTeXt to run on my Windows machine (Windows 7 SP1).
> I already had MiKTeX installed on the machine.
> Here is what I did:
>
>   1. I downloaded context-setup-mswin.zip.
>   2. I unzipped and copied the folder to C:/context
>   3. I ran the command
>       first-setup.bat --context=current --modules=all
>   4. I added C:\context\tex\texmf-win64\bin to my PATH variable
>   5. I opened up the example file at
> http://wiki.contextgarden.net/Hello_world in TeXWorks
>   6. I selected ConTeXt(LuaTeX)
>   7. I compiled the file
>
> The compilation failed. The log says:
>
> mtx-context     | warning: synctex is enabled
> mtx-context     | run 1: luatex
> --fmt="C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
> --jobname="HelloWorld"
> --lua="C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
> --no-parse-first-line --synctex=1 --c:currentrun=1
> --c:fulljobname="./HelloWorld.tex" --c:input="./HelloWorld.tex"
> --c:kindofrun=1 --c:maxnofruns=8 --c:synctex "cont-yes.mkiv"
> This is LuaTeX, Version beta-0.76.0-2013062820 (rev 4627)
>  \write18 enabled.
>
> (Fatal format file error; I'm stymied)
> mtx-context     | fatal error: return code: 1
>
> What am I doing wrong?

That's weird.

Try running first-setup.bat without --context=current. And then try to
stay in the command line, run setuptex.bat (I forgot the details) or
change the PATH variable manually and try running "context --make
--all".

(Due to the criticism of releasing the "current" all too often, Hans
started releasing betas. But then he stopped releasing stable versions
and as a consequence very often "current" doesn't even work with the
luatex version shipped with the distribution. I would bet that
"--context=current" is broken, but I didn't try it. You should get
beta by default.)

But the weird thing is that "Fatal format file error; I'm stymied"
error was common with pdfTeX. With ConTeXt MkIV the formats are
usually regenerated automatically.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to