ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* luac-texluac-luatex-texlua-...
       [not found] <mailman.589.1186577547.2346.ntg-context@ntg.nl>
@ 2007-08-08 13:26 ` Vyatcheslav Yatskovsky
  2007-08-08 14:15   ` luac-texluac-luatex-texlua- luigi scarso
                     ` (2 more replies)
  2007-08-08 15:03 ` temp files Vyatcheslav Yatskovsky
  1 sibling, 3 replies; 8+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-08 13:26 UTC (permalink / raw)
  To: ntg-context-request@ntg.nl

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
___________________________________________________________________________________


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

* Re: luac-texluac-luatex-texlua-...
  2007-08-08 13:26 ` luac-texluac-luatex-texlua- Vyatcheslav Yatskovsky
@ 2007-08-08 14:15   ` luigi scarso
  2007-08-08 14:24   ` luac-texluac-luatex-texlua- Hans Hagen
  2007-08-08 16:04   ` luac-texluac-luatex-texlua- WN
  2 siblings, 0 replies; 8+ messages in thread
From: luigi scarso @ 2007-08-08 14:15 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users

On 8/8/07, Vyatcheslav Yatskovsky <yatskovsky@gmail.com> 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
___________________________________________________________________________________


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

* Re: luac-texluac-luatex-texlua-...
  2007-08-08 13:26 ` luac-texluac-luatex-texlua- Vyatcheslav Yatskovsky
  2007-08-08 14:15   ` luac-texluac-luatex-texlua- luigi scarso
@ 2007-08-08 14:24   ` Hans Hagen
  2007-08-08 16:04   ` luac-texluac-luatex-texlua- WN
  2 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2007-08-08 14:24 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* temp files
       [not found] <mailman.589.1186577547.2346.ntg-context@ntg.nl>
  2007-08-08 13:26 ` luac-texluac-luatex-texlua- Vyatcheslav Yatskovsky
@ 2007-08-08 15:03 ` Vyatcheslav Yatskovsky
  2007-08-08 19:51   ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-08 15:03 UTC (permalink / raw)
  To: ntg-context-request@ntg.nl

Hello ,

Someone has written (Hans probably) that temporary files in luatex will sit in memory. But I see a horde of tmp, tuc, tui, etc... Did't that have to diappear? I just can't stand them :-) 

I use the recent stand-alone envinronment for Windows.

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


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

* Re: luac-texluac-luatex-texlua-...
  2007-08-08 13:26 ` luac-texluac-luatex-texlua- Vyatcheslav Yatskovsky
  2007-08-08 14:15   ` luac-texluac-luatex-texlua- luigi scarso
  2007-08-08 14:24   ` luac-texluac-luatex-texlua- Hans Hagen
@ 2007-08-08 16:04   ` WN
  2007-08-08 22:57     ` luac-texluac-luatex-texlua- luigi scarso
  2 siblings, 1 reply; 8+ messages in thread
From: WN @ 2007-08-08 16:04 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: temp files
  2007-08-08 15:03 ` temp files Vyatcheslav Yatskovsky
@ 2007-08-08 19:51   ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2007-08-08 19:51 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users

Vyatcheslav Yatskovsky wrote:
> Hello ,
> 
> Someone has written (Hans probably) that temporary files in luatex will sit in memory. But I see a horde of tmp, tuc, tui, etc... Did't that have to diappear? I just can't stand them :-) 
> 
> I use the recent stand-alone envinronment for Windows.

you get what you ask for -)

- tui/tui will phase out stepwise
- buffers etc are indeed internal
- tmp file is probably backup of options file (can be handy)

anyhow, add --purge to your texexec all ..



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


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

* Re: luac-texluac-luatex-texlua-...
  2007-08-08 16:04   ` luac-texluac-luatex-texlua- WN
@ 2007-08-08 22:57     ` luigi scarso
  2007-08-09  3:10       ` luac-texluac-luatex-texlua- WN
  0 siblings, 1 reply; 8+ messages in thread
From: luigi scarso @ 2007-08-08 22:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/8/07, WN <wneimeijer@tiscali.nl> 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
___________________________________________________________________________________


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

* Re: luac-texluac-luatex-texlua-...
  2007-08-08 22:57     ` luac-texluac-luatex-texlua- luigi scarso
@ 2007-08-09  3:10       ` WN
  0 siblings, 0 replies; 8+ messages in thread
From: WN @ 2007-08-09  3:10 UTC (permalink / raw)
  To: luigi.scarso; +Cc: mailing list for ConTeXt users


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

luigi scarso wrote:
> On 8/8/07, WN <wneimeijer@tiscali.nl> 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 ?
>
>   
I did not experience any errors, or problems installing or running 
luatex and I did not have to compile
luatex. It seems I was just lucky in getting things to work :)

Kind regards
Wim


[-- Attachment #1.2: Type: text/html, Size: 1202 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] 8+ messages in thread

end of thread, other threads:[~2007-08-09  3:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.589.1186577547.2346.ntg-context@ntg.nl>
2007-08-08 13:26 ` luac-texluac-luatex-texlua- Vyatcheslav Yatskovsky
2007-08-08 14:15   ` luac-texluac-luatex-texlua- luigi scarso
2007-08-08 14:24   ` luac-texluac-luatex-texlua- Hans Hagen
2007-08-08 16:04   ` luac-texluac-luatex-texlua- WN
2007-08-08 22:57     ` luac-texluac-luatex-texlua- luigi scarso
2007-08-09  3:10       ` luac-texluac-luatex-texlua- WN
2007-08-08 15:03 ` temp files Vyatcheslav Yatskovsky
2007-08-08 19:51   ` Hans Hagen

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