ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mildred Ki'Lya <ml.mildred593@online.fr>
To: ntg-context@ntg.nl
Subject: Running Mark IV / luatex: unknown script: context
Date: Sun, 12 Oct 2008 22:55:34 +0200	[thread overview]
Message-ID: <20081012225534.0994c490@kylae> (raw)

Hi,

Hello everybody, I'm new here. I just subscribed because I'm trying to
use LuaTeX / ConTeX Mark IV and i have some problems with it. I'm
running TeXlive 2008 installed from ArchLinux and I can't run 'context'
from the command line.

I'm following the instructions on the page
http://wiki.contextgarden.net/Running_Mark_IV

It says to first run 'context --make cont-en', and when I do that, I
get:

MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: context

After I figured out on the Internet how to set the environment variable
TEXMFCNF (I set it to '/usr/share/texmf/web2c/texmf.cnf'), I only get:

MtxRun | unknown script: context

It seems mtxrun can't find the script mtx-context.lua. I lookad on the
Internet, but haven't found any useful information, but I noticed that
there was an environment variable I could set to make mtxrun more
verbose:

MTX_INPUT_TRACE=3 context --make cont-en                     ~

MtxRun | ! using suffix based filetype: lua
MtxRun | ? blobpath asked: context.lua
MtxRun | ? filename: context.lua
MtxRun | - readable: ./context.lua
MtxRun | ! using suffix based filetype: lua
MtxRun | ? blobpath asked: mtx-context.lua
MtxRun | ? filename: mtx-context.lua
MtxRun | - readable: ./mtx-context.lua
MtxRun | ! using suffix based filetype: lua
MtxRun | ? blobpath asked: mtx-contexts.lua
MtxRun | ? filename: mtx-contexts.lua
MtxRun | - readable: ./mtx-contexts.lua
MtxRun | ! remembered: mtx-context.lua
MtxRun | unknown script: context

Obviously, the mtx-context.lua file is searched in the current
directory, which is my homedir. The file is in fact located at:
'/usr/share/texmf-dist/scripts/context/lua/mtx-context.lua'

So I cd to that path, and un context again, I get:

MTX_INPUT_TRACE=3 context --make cont-en

MtxRun | ! using suffix based filetype: lua
MtxRun | ? blobpath asked: context.lua
MtxRun | ? filename: context.lua
MtxRun | - readable: ./context.lua
MtxRun | ! using suffix based filetype: lua
MtxRun | ? blobpath asked: mtx-context.lua
MtxRun | ? filename: mtx-context.lua
MtxRun | + readable: ./mtx-context.lua
MtxRun | = found by scanning: ./mtx-context.lua

LuaTools | ! using suffix based filetype: tex
LuaTools | ? filename: cont-en.tex
LuaTools | ? filetype: tex
LuaTools | ? wanted files: cont-en.tex
LuaTools | - readable: cont-en.tex
LuaTools | ? blobpath asked: cont-en.tex
LuaTools | no tex file with name cont-en.tex
LuaTools | 
LuaTools | runtime: 0.019 seconds
MtxRun | running command: luatools --make --compile cont-en
MtxRun | total runtime: 0.047



Well, it seems cont-en.tex cannot be found either. It is located
at '/usr/share/texmf-dist/tex/context/base/cont-en.tex'.

How could I fix my paths?

Except for TEXMFCNF, there is No TEX* environment variable defined:

env | grep TEX
TEXMFCNF=/usr/share/texmf/web2c/texmf.cnf


Thanks for any help.

Mildred

-- 
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk: <mildred@jabber.fr>
│ Site: <http://ki.lya.online.fr>              GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2008-10-12 20:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-12 20:55 Mildred Ki'Lya [this message]
2008-10-12 21:25 ` Arthur Reutenauer
2008-10-13 18:16   ` Mildred Ki'Lya
2008-10-14 18:44     ` Arthur Reutenauer
2008-10-15 18:42       ` Mildred Ki'Lya
2008-10-13  8:36 ` Taco Hoekwater
2008-10-14  0:14   ` Mojca Miklavec

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=20081012225534.0994c490@kylae \
    --to=ml.mildred593@online.fr \
    --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).