[NTG-context] luac-texluac-luatex-texlua-...
Hello, It is silly, but luatools urges me to have luac or texluac files, while the magazine tells only about luatex/texlua. It seems like luac not is the same as luatex, so I'm in despair because don't know where to get those additional files. // from luatools.lua // function utils.lua.compile(luafile, lucfile) -- utils.report(compiling,luafile,into,lucfile) os.remove(lucfile) local command = -s -o .. string.quote(lucfile) .. .. string.quote(luafile) if os.execute(texluac .. command) == 0 then return true elseif os.execute(luac .. command) == 0 then return true else return false end end -- Best regards, Vyatcheslav Yatskovsky ___ 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 ___
Re: [NTG-context] luac-texluac-luatex-texlua-...
Vyatcheslav Yatskovsky wrote: Hello, It is silly, but luatools urges me to have luac or texluac files, while the magazine tells only about luatex/texlua. It seems like luac not is the same as luatex, so I'm in despair because don't know where to get those additional files. just install lua next release has texluac an texlua 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 - ___ 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 ___
Re: [NTG-context] luac-texluac-luatex-texlua-...
On 8/8/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, It is silly, but luatools urges me to have luac or texluac files, while the magazine tells only about luatex/texlua. It seems like luac not is the same as luatex, so I'm in despair because don't know where to get those additional files. try to copy luatex as luac and as texluac Do you have lua installed under windows ? It should be 5.1 release. // from luatools.lua // function utils.lua.compile(luafile, lucfile) -- utils.report(compiling,luafile,into,lucfile) os.remove(lucfile) local command = -s -o .. string.quote(lucfile) .. .. string.quote(luafile) if os.execute(texluac .. command) == 0 then return true elseif os.execute(luac .. command) == 0 then return true else return false end end -- Best regards, Vyatcheslav Yatskovsky ___ 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 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 ___ 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 ___
Re: [NTG-context] luac-texluac-luatex-texlua-...
Hi, What I did on Ubuntu 7.04 (bash shell) was this downloaded justtex.zip and linuxtex.zip from pragma and unzipped them in my home directory. uncommented all the unset commands in setuptex downloaded luatex and the lua compiler i.e luac (found it via google) I think from www.luatex.org and from www.lua.org. I read on the mailing list that you don't need to download them as everything is self contained in the distro. set the unix variable TMP to /TMP (export TMP=/tmp) set the unix variable TEXMFCACHE to TMP (export TEXMFCACHE=/tmp) I think the last step was not needed because the luatools script will set it to $TMP and rename the lua scripts luatools.lua and mtxrun.lua (from the scripts/lua directory) to their extension less counterparts and moved them to the texmf-linux/bin directory. Also did a chmod 755 on them to make them executable. I also made a copy of luatex and named it texlua and put it in the texmf-linux/bin directory. Then after reading the MyWay on MKIV I did a texexec --make --all --luatex to generate the formats and ran succesfully the following tex script and produced a pdf file. % engine=luatex \starttext Hello from luatex \blank LUA \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext Could be that I forgot some steps but this is what I remember. Hope it helps Kind regards Wim Hello, It is silly, but luatools urges me to have luac or texluac files, while the magazine tells only about luatex/texlua. It seems like luac not is the same as luatex, so I'm in despair because don't know where to get those additional files. // from luatools.lua // function utils.lua.compile(luafile, lucfile) -- utils.report(compiling,luafile,into,lucfile) os.remove(lucfile) local command = -s -o .. string.quote(lucfile) .. .. string.quote(luafile) if os.execute(texluac .. command) == 0 then return true elseif os.execute(luac .. command) == 0 then return true else return false end end ___ 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 ___
Re: [NTG-context] luac-texluac-luatex-texlua-...
On 8/8/07, WN [EMAIL PROTECTED] wrote: Hi, What I did on Ubuntu 7.04 (bash shell) was this downloaded justtex.zip and linuxtex.zip from pragma and unzipped them in my home directory. uncommented all the unset commands in setuptex downloaded luatex justtex.zip + linuxtex.zip have a luatex binary that gives me a 'floating point exception' , so i must compile luatex from luatex.org Did you got the same error ? -- 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 ___ 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 ___