Hi all, Following nice reports I read on the list as well as the mag-12 instructions I installed a context minimal linux distribution and lua-5.1.2. After everything seemed ok I lauch a compilation of this test-file (found on the wiki): % engine=luatex \starttext Hello from luatex \blank LUA \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext But no pdf file appears, and here are some (hopefully) relevant parts of the compilation message: TeXExec | unable to fix backend map path TeXExec | running: luatools --fmt=cont-en test.tex LuaTools | using format name /cont-en.fmt LuaTools | no luc/lua with name /cont-en LuaTools | LuaTools | runtime: 0.09 seconds TeXUtil | unable to locate test.tui I do have cont-en.luc and cont-en.lua! tia -- Jean
Jean Magnan de Bornier wrote:
Hi all, Following nice reports I read on the list as well as the mag-12 instructions I installed a context minimal linux distribution and lua-5.1.2. After everything seemed ok I lauch a compilation of this test-file (found on the wiki):
% engine=luatex \starttext Hello from luatex \blank LUA \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext
But no pdf file appears, and here are some (hopefully) relevant parts of the compilation message:
TeXExec | unable to fix backend map path TeXExec | running: luatools --fmt=cont-en test.tex
LuaTools | using format name /cont-en.fmt LuaTools | no luc/lua with name /cont-en
can you try with set TEXMFCACHE=c:\temp (remake formats) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi all, Following nice reports I read on the list as well as the mag-12 instructions I installed a context minimal linux distribution and lua-5.1.2. hmm, try http://www.lua.org/ftp/lua-5.1.tar.gz
% engine=luatex \starttext Hello from luatex \blank LUA \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext on a linux box $>texmfstart texexec --pdf test.tex compile well. Are you under linux ?
-- luigi ---------------------------------------------------------------- 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
luigi wrote: | > Hi all, Following nice reports I read on the list as well as the mag-12 | > instructions I installed a context minimal linux distribution and | > lua-5.1.2. | hmm, try | http://www.lua.org/ftp/lua-5.1.tar.gz
| > % engine=luatex | > \starttext | > Hello from luatex | > \blank | > LUA | > \startlua | > a = 1.5 | > b = 1.8 | > c = a*b | > tex.print(c) | > \stoplua | > \stoptext | on a linux box | $>texmfstart texexec --pdf test.tex | compile well. | Are you under linux ? Yes, I ought to have said that first!! Now here is what I tried just now: 1/ reinstall lua by hand 2/ remove everything in /usr/local context, and unzip again justtex and linuxtex 3/ rename /usr/local/texlive to some name unknown from my path (surely wasn't necessary, but let's try anything...) 4/ edit setuptex and defined $TMP and $TEXMFCACHE there 5/ . setuptex 6/ texexec --make --all --pdftex 7 /texexec --make --all --xetex 8/ texexec --make --all --luatex 9/ luatools --generate 10/ luatools --ini --compile --verbose cont-en And again, context complains the same way: TeXExec | unable to fix backend map path TeXExec | running: luatools --fmt=cont-en test.tex LuaTools | using format name /tmp/luatex-cache/context/formats/cont-en.fmt LuaTools | no luc/lua with name /tmp/luatex-cache/context/formats/cont-en LuaTools | LuaTools | runtime: 0.12 seconds TeXUtil | unable to locate test.tui actually then, even pdftex is broken! I'm certainly missing something obvious? -- Jean
Jean Magnan de Bornier wrote:
actually then, even pdftex is broken!
weird anyhow, tomorrow there will be a new release of luatex (some font fixes) and i'll generate new minimals then Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Le 12 août à 21:45:09 Hans Hagen
On 8/12/07, Jean Magnan de Bornier
luigi wrote: | > Hi all, Following nice reports I read on the list as well as the mag-12 | > instructions I installed a context minimal linux distribution and | > lua-5.1.2. | hmm, try | http://www.lua.org/ftp/lua-5.1.tar.gz
| > % engine=luatex | > \starttext | > Hello from luatex | > \blank | > LUA | > \startlua | > a = 1.5 | > b = 1.8 | > c = a*b | > tex.print(c) | > \stoplua | > \stoptext | on a linux box | $>texmfstart texexec --pdf test.tex | compile well. | Are you under linux ?
Yes, I ought to have said that first!!
Now here is what I tried just now:
1/ reinstall lua by hand 2/ remove everything in /usr/local context, and unzip again justtex and linuxtex 3/ rename /usr/local/texlive to some name unknown from my path (surely wasn't necessary, but let's try anything...) 4/ edit setuptex and defined $TMP and $TEXMFCACHE there 5/ . setuptex 6/ texexec --make --all --pdftex 7 /texexec --make --all --xetex 8/ texexec --make --all --luatex 9/ luatools --generate 10/ luatools --ini --compile --verbose cont-en
And again, context complains the same way:
TeXExec | unable to fix backend map path TeXExec | running: luatools --fmt=cont-en test.tex
LuaTools | using format name /tmp/luatex-cache/context/formats/cont-en.fmt LuaTools | no luc/lua with name /tmp/luatex-cache/context/formats/cont-en LuaTools | LuaTools | runtime: 0.12 seconds TeXUtil | unable to locate test.tui
actually then, even pdftex is broken!
I'm certainly missing something obvious? hmm maybe mktexlsr 5a/ mktexlsr ; luatools --generate 6/ texmfstart texexec --make --all --pdftex 7/ texmfstart texexec --make --all --luatoolss -- luigi
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
Le 12 août à 22:45:00 "luigi scarso"
On 8/13/07, Jean Magnan de Bornier
Le 12 août à 22:45:00 "luigi scarso"
écrit notamment: | > | > I'm certainly missing something obvious? | hmm maybe mktexlsr | 5a/ mktexlsr ; luatools --generate | 6/ texmfstart texexec --make --all --pdftex | 7/ texmfstart texexec --make --all --luatoolss did you mean luatex here ^^^^^^^^^ ? yes
Hm, no more joy here :-( thx anyway -- jean ok, with next release (coming soon, I believe) I will carefully write down all steps. If you want to make a last try give a look at http://luatex.bluwiki.com/go/User:Luigi.scarso
-- luigi ---------------------------------------------------------------- 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
Le 13 août à 08:28:13 "luigi scarso"
On Mon, 13 Aug 2007, Jean Magnan de Bornier wrote:
Le 13 août à 08:28:13 "luigi scarso"
écrit notamment: | ok, with next release (coming soon, I believe) I will carefully write | down all steps. | If you want to make a last try give a look at | http://luatex.bluwiki.com/go/User:Luigi.scarso
last try following the wiki; I get a lot of messages like this:
Missing script file sh: luac: command not found LuaTools | compiling files to /5662e38911d8bbd6bbfe8f2fa42911c4.tmc LuaTools | compiling failed for files, deleting file /5662e38911d8bbd6bbfe8f2fa42911c4.tmc
(right now I still have the standard luatex)
AFAIU, this is ok. luac is a file for compiling lua code into byte code so that it runs faster. You need to install lua to get luac. If you do not have luac, the program will run slightly slower, but other than that, everything will be fine. Aditya
Hi Jean,
On Sun, 12 Aug 2007 13:21:17 -0600, Jean Magnan de Bornier
LuaTools | using format name /tmp/luatex-cache/context/formats/cont-en.fmt LuaTools | no luc/lua with name /tmp/luatex-cache/context/formats/cont-en LuaTools | LuaTools | runtime: 0.12 seconds TeXUtil | unable to locate test.tui
I've gotten this same mesasge on windows when I first installed mkiv. There is something screwy going on... The only way I got it to stop was by initializing the setuptex script BEFORE opening my editor. If I initialize setuptex afterwards it does not work. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Le 13 août à 01:54:50 "Idris Samawi Hamid"
On Mon, 13 Aug 2007 00:06:02 -0600, Jean Magnan de Bornier
Le 13 août à 01:54:50 "Idris Samawi Hamid"
écrit notamment: | The only way I got it to stop was by initializing the setuptex script | BEFORE opening my editor. If I initialize setuptex afterwards it does not | work.
Actually I'm not within an editor, just in the shell, typing "texmfstart texexec test.tex"
That was exectly my point. If I said, from the prompt,
setuptex c:\context\tex texmfstart texexec test.tex
I get the same message you got.***** When I initialize my editor first (see the cscite script that somes with the larger versions of the distribution), then I can launch a console or shell from the editor and it works. Try launching your shell by appropriately modifying the cscite shell script. Here it is to save you trouble. ============= # author: Hans Hagen - PRAGMA ADE - Hasselt NL - www.pragma-ade.com OWNPATH="$PWD" $OWNPATH/tex/setuptex $OWNPATH/tex texmfstart exaserver.rb --start --port=8061 --ipurl & $OWNPATH/scite/lscite/scite ============= Now on Windows the script is quite different, and longer, but once I setup my launch application (notepad++ in this case) mkiv worked fine. I don't pretend to understand why. Best wishes Idris ***** The thing about that error is that, when I run texmfstart texexec test.tex mkiv creates another cache tree and ignores the one where it built the formats. I -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Le 13 août à 14:43:11 "Idris Samawi Hamid"
| > Le 13 août à 01:54:50 "Idris Samawi Hamid"
| That was exectly my point. If I said, from the prompt,
| > setuptex c:\context\tex | > texmfstart texexec test.tex
| I get the same message you got.***** When I initialize my editor first | (see the cscite script that somes with the larger versions of the | distribution), then I can launch a console or shell from the editor and it | works.
| Try launching your shell by appropriately modifying the cscite shell | script. Here it is to save you trouble.
| ============= | # author: Hans Hagen - PRAGMA ADE - Hasselt NL - www.pragma-ade.com
| OWNPATH="$PWD"
| $OWNPATH/tex/setuptex $OWNPATH/tex
| texmfstart exaserver.rb --start --port=8061 --ipurl &
| $OWNPATH/scite/lscite/scite | ============= Sorry, I had not understood you; I don't use scite, is it problem with luatex? -- Jean
On Mon, 13 Aug 2007 09:14:28 -0600, Jean Magnan de Bornier
Sorry, I had not understood you; I don't use scite, is it problem with luatex?
It is a problem with the caching method used by luatex, as far as I can tell. Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Idris Samawi Hamid
-
Jean Magnan de Bornier
-
luigi scarso