* Re: need help for the installation of luatools
@ 2007-09-14 5:49 Dalyoung Jeong
2007-09-14 6:44 ` Thomas A. Schmitz
0 siblings, 1 reply; 13+ messages in thread
From: Dalyoung Jeong @ 2007-09-14 5:49 UTC (permalink / raw)
To: mailing ConTeXt users list for
Dear Thomas and Arthur,
Thank you for your detailed help.
Copying texlua and creating .luatex file make luatools run smoothly.
Now, luatools --generate run well.
I'd like to ask a few questions.
1. But, there is a warning message as following for "luatools --
ini ...".
%%%%%%%%%%%%
......
.......
language : patterns us for us loaded (n=[13],e=default,m=default)
language : patterns agr for agr loaded (n=15,e=default,m=default)
(/usr/local/gwTeX/texmf.pkgs/tex/context/patterns/lang-agr.pat
! TeX capacity exceeded, sorry [pattern memory=80000].
l.820 ἀ2ν1έλαι
in use: 1448 node words from 100604
still untouched: 99048 node words
size 1 avail list: 3
size 2 avail list: 22
size 3 avail list: 6
size 4 avail list: 36
size 6 avail list: 24
size 8 avail list: 16
No pages of output.
Transcript written on cont-en.log.
LuaTools |
LuaTools | runtime: 0.18 seconds
%%%%%%%%%%%%%%%%%%%%%
Is it OK? or should I change something?
2. Also I got 'bad path' errors when I try to make other formats.
%%%%%%%%%%%%%%%%%
texexec --make --all --pdftex
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
mktexlsr: Updating /usr/local/gwTeX/texmf/ls-R...
mktexlsr: Updating /usr/local/gwTeX/texmf.gwtex/ls-R...
mktexlsr: Updating /usr/local/gwTeX/texmf.local/ls-R...
mktexlsr: Updating /usr/local/gwTeX/texmf.pkgs/ls-R...
mktexlsr: Updating /usr/local/gwTeX/texmf.texlive/ls-R...
mktexlsr: Updating /var/tmp/texfonts/ls-R...
mktexlsr: Done.
TeXExec | using tex engine pdftex
TeXExec | using tex format path /usr/local/Build/powerpc/TeXLive.2006/
texmf/web2c/pdftex
TeXExec | generating tex format cont-en
warning: Could not open char translation file `natural.tcx'.
! I can't read pdftex.pool; bad path?
TeXExec | generating tex format cont-nl
warning: Could not open char translation file `natural.tcx'.
! I can't read pdftex.pool; bad path?
TeXExec | generating tex format mptopdf
warning: Could not open char translation file `natural.tcx'.
! I can't read pdftex.pool; bad path?
TeXExec | using mp engine mpost
TeXExec | using mps format path /usr/local/Build/powerpc/TeXLive.2006/
texmf/web2c
TeXExec | generating mps format metafun
warning: Could not open char translation file `natural.tcx'.
This is MetaPost, Version 0.993 (Web2C 7.5.6) (INIMP)
! I can't find file `metafun'.
<*> metafun
%%%%%%%%%%%%%%%%%%
Yesterday, I have no problem to use "texexec --pdf --make --all".
3. Is it possible to use OTF fonts installed in the system not in
TeXmf tree?
Thank you again.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-14 5:49 need help for the installation of luatools Dalyoung Jeong
@ 2007-09-14 6:44 ` Thomas A. Schmitz
2007-09-14 7:10 ` Taco Hoekwater
0 siblings, 1 reply; 13+ messages in thread
From: Thomas A. Schmitz @ 2007-09-14 6:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sep 14, 2007, at 7:49 AM, Dalyoung Jeong wrote:
> Dear Thomas and Arthur,
>
> Thank you for your detailed help.
> Copying texlua and creating .luatex file make luatools run smoothly.
>
> Now, luatools --generate run well.
>
> I'd like to ask a few questions.
>
> 1. But, there is a warning message as following for "luatools --
> ini ...".
>
> %%%%%%%%%%%%
> ......
> .......
> language : patterns us for us loaded (n=[13],e=default,m=default)
> language : patterns agr for agr loaded (n=15,e=default,m=default)
> (/usr/local/gwTeX/texmf.pkgs/tex/context/patterns/lang-agr.pat
> ! TeX capacity exceeded, sorry [pattern memory=80000].
> l.820 ἀ2ν1έλαι
>
>
> in use: 1448 node words from 100604
> still untouched: 99048 node words
> size 1 avail list: 3
> size 2 avail list: 22
> size 3 avail list: 6
> size 4 avail list: 36
> size 6 avail list: 24
> size 8 avail list: 16
> No pages of output.
> Transcript written on cont-en.log.
>
> LuaTools |
> LuaTools | runtime: 0.18 seconds
> %%%%%%%%%%%%%%%%%%%%%
>
> Is it OK? or should I change something?
This is influenced by the variable trie_size in your texmf.cnf. In my
unmodified TeXLive 2007, this is 300000; I have no idea why Gerben
changed it. You could try setting this to a larger value and then
regenerate the formats.
>
> 2. Also I got 'bad path' errors when I try to make other formats.
> %%%%%%%%%%%%%%%%%
> texexec --make --all --pdftex
>
> TeXExec | using search method 'kpsewhich'
> TeXExec | updating file database
> mktexlsr: Updating /usr/local/gwTeX/texmf/ls-R...
> mktexlsr: Updating /usr/local/gwTeX/texmf.gwtex/ls-R...
> mktexlsr: Updating /usr/local/gwTeX/texmf.local/ls-R...
> mktexlsr: Updating /usr/local/gwTeX/texmf.pkgs/ls-R...
> mktexlsr: Updating /usr/local/gwTeX/texmf.texlive/ls-R...
> mktexlsr: Updating /var/tmp/texfonts/ls-R...
> mktexlsr: Done.
> TeXExec | using tex engine pdftex
> TeXExec | using tex format path /usr/local/Build/powerpc/TeXLive.2006/
> texmf/web2c/pdftex
> TeXExec | generating tex format cont-en
> warning: Could not open char translation file `natural.tcx'.
> ! I can't read pdftex.pool; bad path?
> TeXExec | generating tex format cont-nl
> warning: Could not open char translation file `natural.tcx'.
> ! I can't read pdftex.pool; bad path?
> TeXExec | generating tex format mptopdf
> warning: Could not open char translation file `natural.tcx'.
> ! I can't read pdftex.pool; bad path?
> TeXExec | using mp engine mpost
> TeXExec | using mps format path /usr/local/Build/powerpc/TeXLive.2006/
> texmf/web2c
> TeXExec | generating mps format metafun
> warning: Could not open char translation file `natural.tcx'.
> This is MetaPost, Version 0.993 (Web2C 7.5.6) (INIMP)
> ! I can't find file `metafun'.
> <*> metafun
> %%%%%%%%%%%%%%%%%%
> Yesterday, I have no problem to use "texexec --pdf --make --all".
Hmm, you have conflicting path names: this is what kps uses:
/usr/local/gwTeX/texmf.local
and this is where texexec looks for the files:
/usr/local/Build/powerpc/TeXLive.2006/
Where does this path come from? Do you have leftovers from older
installations? Did you install TeXLIve from source at some point?
What does
whence -av texexec
give?
>
> 3. Is it possible to use OTF fonts installed in the system not in
> TeXmf tree?
>
Not sure if this is implemented yet.
Thomas
___________________________________________________________________________________
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-14 6:44 ` Thomas A. Schmitz
@ 2007-09-14 7:10 ` Taco Hoekwater
0 siblings, 0 replies; 13+ messages in thread
From: Taco Hoekwater @ 2007-09-14 7:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thomas A. Schmitz wrote:
> On Sep 14, 2007, at 7:49 AM, Dalyoung Jeong wrote:
>
>>
>> Is it OK? or should I change something?
> This is influenced by the variable trie_size in your texmf.cnf. In my
> unmodified TeXLive 2007, this is 300000; I have no idea why Gerben
> changed it. You could try setting this to a larger value and then
> regenerate the formats.
The most likely cause is that it is not changed at all, but that
texmf.cnf is not found, so you get the compile-time default.
>> 3. Is it possible to use OTF fonts installed in the system not in
>> TeXmf tree?
>>
> Not sure if this is implemented yet.
Yes, just add the system font directory to the proper variable
(porbably OPENTYPEFONTS, but perhaps OTFFONTS, I don't remember
which one). I have here:
OSFONTDIR=/usr/share/fonts/OTF
OPENTYPEFONTS=.;$TEXMF/fonts/data//;$TEXMF/fonts/opentype//;$OSFONTDIR;./fonts//
and that works fine.
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] 13+ messages in thread
* Re: need help for the installation of luatools
@ 2007-09-17 2:32 Dalyoung Jeong
0 siblings, 0 replies; 13+ messages in thread
From: Dalyoung Jeong @ 2007-09-17 2:32 UTC (permalink / raw)
To: mailing ConTeXt users list for
[-- Attachment #1: Type: text/plain, Size: 1995 bytes --]
Dear Thomas,
I found the folder /usr/local/Build/powerpc/TeXLive.2006. I
remembered that I have tried to install TeX using the source before.
When I open terminal, .luatex in not implemented yet and "texexec --
make --all --pdftex" run without any errors.
%%%%%%%%%%%%%%%%%
texexec --make --all --pdftex
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
mktexlsr: Updating /usr/local/gwTeX/texmf/ls-R...
mktexlsr: Updating /usr/local/gwTeX/texmf.gwtex/ls-R...
...
mktexlsr: Done.
TeXExec | using tex engine pdftex
TeXExec | using tex format path /Users/dalyoung/Library/texmf/web2c/
pdftex
TeXExec | generating tex format cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) (INITEX)
(/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx)
...
%%%%%%%%%%%
As you see in the above output, it uses the searching method 'kpsewhich'
and '/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx'
But after running 'source ~/.luatex', it used the same searaching
path but different path for format and engine paths as following even
though I removed /usr/local/Build folder.
However, to run 'luatools --generate', I need to run .luatex.
Still, I have a problem in 'luatools --ini --compile...'.
%%%%%%%%%%%%%%%
texexec --make --all --pdftex
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
...
TeXExec | using tex engine pdftex
TeXExec | using tex format path /usr/local/Build/powerpc/TeXLive.2006/
texmf/web2c/pdftex
TeXExec | generating tex format cont-en
...
TeXExec | tex engine path: /usr/local/Build/powerpc/TeXLive.2006/
texmf/web2c/pdftex
TeXExec | mps engine path: /usr/local/Build/powerpc/TeXLive.2006/
texmf/web2c
...
%%%%%%%%%%%%
So I think that .luatex change the setting for the ConTeXt.
I attached .luatex file which shows the TDS in my mac.
By the way, what is 'whence'? It is a unknown cmd in my machine.
and how to remove '/usr/local/Build/...' from the engine path?
Thank you for your help.
Best regards,
Dalyoung
[-- Attachment #2: luatex.txt --]
[-- Type: text/plain, Size: 362 bytes --]
export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/gwTeX/"
export TEXMF="{/Users/dalyoung/Library/texmf,/usr/local/gwTeX/texmf.local,/usr/local/gwTeX/texmf.pkgs,/usr/local/gwTeX/texmf.gwtex,/usr/local/gwTeX/texmf.texlive,/usr/local/gwTeX/texmf}"
export LUAINPUTS="{/usr/local/gwTeX/texmf.pkgs/tex/context/base,/usr/local/gwTeX/texmf.pkgs/scripts/context/lua}"
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
[-- Attachment #4: 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] 13+ messages in thread
* Re: need help for the installation of luatools
@ 2007-09-15 8:52 Dalyoung Jeong
2007-09-15 9:03 ` Taco Hoekwater
0 siblings, 1 reply; 13+ messages in thread
From: Dalyoung Jeong @ 2007-09-15 8:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thank you, Thomas, Arthur, and Taco,
I checked texmf.cnf. There are two texmf.cnf
gwTeX/texmf.cnf ---> there is no code for the memory setup, it
just describe the TDS structure.
gwTeX/texmf/web2c/texmf.cnf ---> trie_size = 400000
gwTeX/texmf.local/web2c/ no texmf.cnf
Gerben made other cnf file(he said that it is for the context).
gwTeX/texmf.pkgs/web2c/{context.cnf, natural.ctx} --->
trie_size.context = 500000
The result of "kpsewhich texmf.cnf" is /usr/local/gwTeX/texmf.cnf.
And "kpsewhich --expand-var = '$TEXMF' shows the directory system of
gwTeX.
At this moment, I don't know what I can do. I'll test it more after
changing the memory setup.
Thank you again.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-15 8:52 Dalyoung Jeong
@ 2007-09-15 9:03 ` Taco Hoekwater
2007-09-15 11:23 ` Hans Hagen
0 siblings, 1 reply; 13+ messages in thread
From: Taco Hoekwater @ 2007-09-15 9:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dalyoung Jeong wrote:
> Thank you, Thomas, Arthur, and Taco,
>
> I checked texmf.cnf. There are two texmf.cnf
>
> gwTeX/texmf.cnf ---> there is no code for the memory setup, it
> just describe the TDS structure.
The problem could be that luatools only "sees" this one
(Hans has to answer that).
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-15 9:03 ` Taco Hoekwater
@ 2007-09-15 11:23 ` Hans Hagen
0 siblings, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2007-09-15 11:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
> Dalyoung Jeong wrote:
>> Thank you, Thomas, Arthur, and Taco,
>>
>> I checked texmf.cnf. There are two texmf.cnf
>>
>> gwTeX/texmf.cnf ---> there is no code for the memory setup, it
>> just describe the TDS structure.
>
> The problem could be that luatools only "sees" this one
> (Hans has to answer that).
multiple cnf files are read (if the specification says so); the first
values encountered are taken (so the order matters)
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] 13+ messages in thread
* Re: need help for the installation of luatools
@ 2007-09-13 1:02 Dalyoung Jeong
2007-09-13 4:47 ` Thomas A. Schmitz
0 siblings, 1 reply; 13+ messages in thread
From: Dalyoung Jeong @ 2007-09-13 1:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear Thomas,
How careless I am! and sorry not to give you a sufficient information.
As you said, lua!=luatex.
I downloaded and installed luatex in the folder /usr/texbin.
I also copied it as texlua.
Now, It seems to me that luatools is working without the previous
error.
However, there is a problem of doing "luatools --generate" yet
because I used TeXlive based on the gwTeX distribution.
LuaTools | skipping /texmf-local/web2c/texmf.cnf
LuaTools | skipping /texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.05 seconds
apple:~ dalyoung$ luatools --ini --compile --verbose cont-en
LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | skipping configuration for /texmf-local/web2c from /Users/
dalyoung/luatex-cache/context/trees/d80510d450a3fa2a64df4d3741825f1d
LuaTools | skipping configuration for /texmf/web2c from /Users/
dalyoung/luatex-cache/context/trees/3113242409ded67a0ad7bd508bd26609
LuaTools | no tex file with name cont-en.tex
LuaTools |
LuaTools | runtime: 0.05 seconds
In my gwTeX, texmf.cnf is located in geTeX folder which also included
the folders {texmf, texmf.gwtex. texmf.local, texmf.pkgs,
texmf.texlive}, but neither in texmf.local/web2c nor in texmf/web2c.
Also, context is installed in the folder texmf.pkgs/tex/context
I think that it cause the problem.
Is it a real cause of the above problem?
Thank you.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-13 1:02 Dalyoung Jeong
@ 2007-09-13 4:47 ` Thomas A. Schmitz
0 siblings, 0 replies; 13+ messages in thread
From: Thomas A. Schmitz @ 2007-09-13 4:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sep 13, 2007, at 3:02 AM, Dalyoung Jeong wrote:
> Dear Thomas,
>
> How careless I am! and sorry not to give you a sufficient information.
> As you said, lua!=luatex.
>
> I downloaded and installed luatex in the folder /usr/texbin.
> I also copied it as texlua.
>
> Now, It seems to me that luatools is working without the previous
> error.
> However, there is a problem of doing "luatools --generate" yet
> because I used TeXlive based on the gwTeX distribution.
>
> LuaTools | skipping /texmf-local/web2c/texmf.cnf
> LuaTools | skipping /texmf/web2c/texmf.cnf
> LuaTools |
> LuaTools | runtime: 0.05 seconds
> apple:~ dalyoung$ luatools --ini --compile --verbose cont-en
>
> LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT
>
> LuaTools | skipping configuration for /texmf-local/web2c from /Users/
> dalyoung/luatex-cache/context/trees/d80510d450a3fa2a64df4d3741825f1d
> LuaTools | skipping configuration for /texmf/web2c from /Users/
> dalyoung/luatex-cache/context/trees/3113242409ded67a0ad7bd508bd26609
> LuaTools | no tex file with name cont-en.tex
> LuaTools |
> LuaTools | runtime: 0.05 seconds
>
> In my gwTeX, texmf.cnf is located in geTeX folder which also included
> the folders {texmf, texmf.gwtex. texmf.local, texmf.pkgs,
> texmf.texlive}, but neither in texmf.local/web2c nor in texmf/web2c.
> Also, context is installed in the folder texmf.pkgs/tex/context
>
> I think that it cause the problem.
> Is it a real cause of the above problem?
>
> Thank you.
>
> Best regards,
>
> Dalyoung
>
>
OK, you're making progress. The installation is successful by itself,
but in order for luatex to work, you need to set some environment
variables. On my machine (OS X with TeXLive 2007), I have these lines
in a file .luatex which I put in my home directory:
%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%
export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
export TEXMF="{/Users/tas/.texlive2007/texmf-config,/Users/
tas/.texlive2007/texmf-var,/Users/tas/texmf,/usr/local/texlive/2007/
texmf-config,/usr/local/texlive/2007/texmf-var,/usr/local/texlive/
2007/texmf,/usr/local/texlive/texmf-local,/usr/local/texlive/2007/
texmf-dist,/usr/local/texlive/2007/texmf.gwtex}"
export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/
usr/local/texlive/texmf-local/scripts/context/lua}"
%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%
Adapt these settings to your needs: TEXMFCACHE /tmp is OK. TEXMFCNF
should point to the web2c where your texmf.cnf is located. To find
out what that is, run
kpsewhich texmf.cnf
TEXMF should list all your TEXMF trees. Run
kpsewhich --expand-var='$TEXMF'
You will need to clean up the output (remove stuff like !! etc.) so
it is just a flat list of directories like mine. LUAINPUTS points to
your current ConTeXt installation.
So put these variables in a file .luatex and run
source ~/.luatex
After that, luatools --generate and luatools --ini --compile should
work for you.
HTH
Thomas
___________________________________________________________________________________
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] 13+ messages in thread
* need help for the installation of luatools
@ 2007-09-12 4:20 Dalyoung Jeong
2007-09-12 8:08 ` Thomas A. Schmitz
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Dalyoung Jeong @ 2007-09-12 4:20 UTC (permalink / raw)
To: mailing ConTeXt users list for
Hi, all,
I have downloaded binary files(lua5_1_2_Darwin89_bin_tar). After
unzip, there are 3 files "bin2c5.1, lua5.1, luac5.1".
I copied lua5.1 as luatex and texlua in the folder /usr/texbin.
I also copied luatools.lua as luatools in the folder /usr/texbin.
I updated the ConTeXt and try to install LuaTeX.
But, I got an error as following when I issue "luatools".
apple: dalyoung$ luatools
texlua: /usr/texbin/luatools:4183: attempt to index global 'lua' (a
nil value)
stack traceback:
/usr/texbin/luatools:4183: in main chunk
[C]: ?
I am using TeXlive installed with i-installer.
Please give me some hints to avoid the errors.
Thank you.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-12 4:20 Dalyoung Jeong
@ 2007-09-12 8:08 ` Thomas A. Schmitz
2007-09-12 13:37 ` Arthur Reutenauer
2007-09-12 14:23 ` Taco Hoekwater
2 siblings, 0 replies; 13+ messages in thread
From: Thomas A. Schmitz @ 2007-09-12 8:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sep 12, 2007, at 6:20 AM, Dalyoung Jeong wrote:
> Hi, all,
>
> I have downloaded binary files(lua5_1_2_Darwin89_bin_tar).
What are these files? Where did you download them?
> After
> unzip, there are 3 files "bin2c5.1, lua5.1, luac5.1".
> I copied lua5.1 as luatex and texlua in the folder /usr/texbin.
lua != luatex. You need to download the luatex binaries.
Sorry if this isn't helpful, but you need to provide more and more
precise information.
Thomas
___________________________________________________________________________________
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-12 4:20 Dalyoung Jeong
2007-09-12 8:08 ` Thomas A. Schmitz
@ 2007-09-12 13:37 ` Arthur Reutenauer
2007-09-12 14:23 ` Taco Hoekwater
2 siblings, 0 replies; 13+ messages in thread
From: Arthur Reutenauer @ 2007-09-12 13:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
> I copied lua5.1 as luatex and texlua in the folder /usr/texbin.
That's not what you should do: lua5.1 is only the lua interpreter,
nothing more, and cannot act as LuaTeX (the TeX engine with embedded Lua
scripting). Nor can it act as TeXLua, the LuaTeX-aware Lua interpreter.
Of course both lua5.1 and texlua are Lua interpreters and this is why
luatools superficially works; but the latter has more libraries than lua
alone, one of them called 'lua': luatools cannot work without those.
What you should do is take the Mac binary for *LuaTeX* and copy it
under the different names (texlua and texluac); symlinks are fine, too.
Recent binaries are available at http://foundry.supelec.fr/frs/?group_id=10
as both Intel Mac and universal binaries (no PPC-alone binary, sorry).
That way, you actually don't need Lua itself (everything you need is
built-in into LuaTeX).
One you've done that, you can start over again. Feel free to ask
questions if you have other problems.
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] 13+ messages in thread
* Re: need help for the installation of luatools
2007-09-12 4:20 Dalyoung Jeong
2007-09-12 8:08 ` Thomas A. Schmitz
2007-09-12 13:37 ` Arthur Reutenauer
@ 2007-09-12 14:23 ` Taco Hoekwater
2 siblings, 0 replies; 13+ messages in thread
From: Taco Hoekwater @ 2007-09-12 14:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dalyoung Jeong wrote:
> Hi, all,
>
> I have downloaded binary files(lua5_1_2_Darwin89_bin_tar). After
> unzip, there are 3 files "bin2c5.1, lua5.1, luac5.1".
> I copied lua5.1 as luatex and texlua in the folder /usr/texbin.
> I also copied luatools.lua as luatools in the folder /usr/texbin.
You don't have to install lua itself at all. Luatex is an
executable that is both tex and lua rolled into one, and that
is the one you need.
I have (attempted to) convert the installation section from the
Mark IV magazine into a wiki page, I hope that helps:
http://wiki.contextgarden.net/install_Mark_IV
(the wiki page desparately needs improvement, but it is better than
nothing)
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] 13+ messages in thread
end of thread, other threads:[~2007-09-17 2:32 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-14 5:49 need help for the installation of luatools Dalyoung Jeong
2007-09-14 6:44 ` Thomas A. Schmitz
2007-09-14 7:10 ` Taco Hoekwater
-- strict thread matches above, loose matches on Subject: below --
2007-09-17 2:32 Dalyoung Jeong
2007-09-15 8:52 Dalyoung Jeong
2007-09-15 9:03 ` Taco Hoekwater
2007-09-15 11:23 ` Hans Hagen
2007-09-13 1:02 Dalyoung Jeong
2007-09-13 4:47 ` Thomas A. Schmitz
2007-09-12 4:20 Dalyoung Jeong
2007-09-12 8:08 ` Thomas A. Schmitz
2007-09-12 13:37 ` Arthur Reutenauer
2007-09-12 14:23 ` Taco Hoekwater
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).