ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Newbie needs help getting started
Date: Mon, 4 May 2015 17:14:30 +0200	[thread overview]
Message-ID: <CALBOmsbO1iib-FKZD0-yjs6j0ey8EnfJ9BDVXK5eiQCQ-zcLug@mail.gmail.com> (raw)
In-Reply-To: <mi7pt7$6tf$1@ger.gmane.org>

On Mon, May 4, 2015 at 2:49 PM, Johan Råde <johan.rade@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
___________________________________________________________________________________

  parent reply	other threads:[~2015-05-04 15:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 12:49 Johan Råde
2015-05-04 14:25 ` Pablo Rodriguez
2015-05-05  8:26   ` Johan Råde
2015-05-04 15:14 ` Mojca Miklavec [this message]
2015-05-04 16:37   ` Hans Hagen
2015-05-08 17:00 ` Johan Råde
2015-05-08 17:23   ` Hans Hagen
2015-05-09  6:25     ` Johan Råde
2015-05-06  1:23 Andres Conrado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALBOmsbO1iib-FKZD0-yjs6j0ey8EnfJ9BDVXK5eiQCQ-zcLug@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).