ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Running Mark IV / luatex: unknown script: context
@ 2008-10-12 20:55 Mildred Ki'Lya
  2008-10-12 21:25 ` Arthur Reutenauer
  2008-10-13  8:36 ` Taco Hoekwater
  0 siblings, 2 replies; 7+ messages in thread
From: Mildred Ki'Lya @ 2008-10-12 20:55 UTC (permalink / raw)
  To: ntg-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: <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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Mark IV / luatex: unknown script: context
  2008-10-12 20:55 Running Mark IV / luatex: unknown script: context Mildred Ki'Lya
@ 2008-10-12 21:25 ` Arthur Reutenauer
  2008-10-13 18:16   ` Mildred Ki'Lya
  2008-10-13  8:36 ` Taco Hoekwater
  1 sibling, 1 reply; 7+ messages in thread
From: Arthur Reutenauer @ 2008-10-12 21:25 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

	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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Mark IV / luatex: unknown script: context
  2008-10-12 20:55 Running Mark IV / luatex: unknown script: context Mildred Ki'Lya
  2008-10-12 21:25 ` Arthur Reutenauer
@ 2008-10-13  8:36 ` Taco Hoekwater
  2008-10-14  0:14   ` Mojca Miklavec
  1 sibling, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2008-10-13  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Mark IV / luatex: unknown script: context
  2008-10-12 21:25 ` Arthur Reutenauer
@ 2008-10-13 18:16   ` Mildred Ki'Lya
  2008-10-14 18:44     ` Arthur Reutenauer
  0 siblings, 1 reply; 7+ messages in thread
From: Mildred Ki'Lya @ 2008-10-13 18:16 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 667 bytes --]


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: <mildred@jabber.fr>
│ Site: <http://ki.lya.online.fr>              GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Mark IV / luatex: unknown script: context
  2008-10-13  8:36 ` Taco Hoekwater
@ 2008-10-14  0:14   ` Mojca Miklavec
  0 siblings, 0 replies; 7+ messages in thread
From: Mojca Miklavec @ 2008-10-14  0:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Mark IV / luatex: unknown script: context
  2008-10-13 18:16   ` Mildred Ki'Lya
@ 2008-10-14 18:44     ` Arthur Reutenauer
  2008-10-15 18:42       ` Mildred Ki'Lya
  0 siblings, 1 reply; 7+ messages in thread
From: Arthur Reutenauer @ 2008-10-14 18:44 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Mark IV / luatex: unknown script: context
  2008-10-14 18:44     ` Arthur Reutenauer
@ 2008-10-15 18:42       ` Mildred Ki'Lya
  0 siblings, 0 replies; 7+ messages in thread
From: Mildred Ki'Lya @ 2008-10-15 18:42 UTC (permalink / raw)
  To: Mailing list for ConTeXt users


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@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-15 18:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-12 20:55 Running Mark IV / luatex: unknown script: context Mildred Ki'Lya
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

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).