Running Mark IV / luatex: unknown script: context
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:
Hello Mildred,
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:
It should rather be /usr/share/texmf/web2c (the name of the directory), I surmise. Can you try with that new setting? Arthur
Le Sun 12/10/2008 à 23:25 Arthur Reutenauer à écrit:
It should rather be /usr/share/texmf/web2c (the name of the directory), I surmise. Can you try with that new setting?
Arthur
Thank you but that doesn't really help, the errors are just the same. I
suppose both values for TEXMFCNF works.
Thanks.
Mildred
--
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk:
Thank you but that doesn't really help, the errors are just the same. I suppose both values for TEXMFCNF works.
In principle, it should really be the name of the directory containing texmf.cnf, not the path to the file itself. But in any case, you have to run "luatools --generate" after that. And then, "luatools cont-en.tex" should return the location of the file. Does it? If it does, you should probably be able to proceed. Arthur
Le Tue 14/10/2008 à 20:44 Arthur Reutenauer à écrit:
But in any case, you have to run "luatools --generate" after that. And then, "luatools cont-en.tex" should return the location of the file. Does it? If it does, you should probably be able to proceed.
Many thanks,
luatools --generate solved it.
Mildred
--
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk:
Mildred Ki'Lya wrote:
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
Recent edits seem to have broken that wiki page, it is now more about updating than about running, and the instructions in it are no longer valid *unless* you do the update as well. Mojca, wouldn't it be better to move the "Updating ConTeXt" to one of the installation pages (or a standalone page) ?
It says to first run 'context --make cont-en', and when I do that, I get:
It should have said to run luatools --generate first, as it still does in the Quickstart section. The TEXMFCNF setting should not be needed (but when present, it should indeed point to a directory, not a file). Best wishes, Taco
On Mon, Oct 13, 2008 at 10:36 AM, Taco Hoekwater wrote:
Mildred Ki'Lya wrote:
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
Recent edits seem to have broken that wiki page,
Whoops ... I have no idea why I deleted the bunch of code, but I guess that it wasn't intentional. My comment was "section added". Judging from that, I probably did not notice my destructive action, and nobody has complaned.
it is now more about updating than about running,
The problem is that MacTeX users *have to* update in order to be able to run it, but a separate page would be ok. There's a total mess with installation instructions at the moment anyway :(
and the instructions in it are no longer valid *unless* you do the update as well. Mojca, wouldn't it be better to move the "Updating ConTeXt" to one of the installation pages (or a standalone page) ?
It says to first run 'context --make cont-en', and when I do that, I get:
It should have said to run luatools --generate first, as it still does in the Quickstart section. The TEXMFCNF setting should not be needed (but when present, it should indeed point to a directory, not a file).
Please, do not ask me for permission to change things ... Just do it. I'll try to review the pages and add some order, though I'm not the best one to explain things, but I'll try. Mojca
participants (5)
-
Arthur Reutenauer
-
Mildred Ki'Lya
-
Mildred Ki'Lya
-
Mojca Miklavec
-
Taco Hoekwater