ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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-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-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
* 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

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-13  1:02 need help for the installation of luatools Dalyoung Jeong
2007-09-13  4:47 ` Thomas A. Schmitz
  -- 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-14  5:49 Dalyoung Jeong
2007-09-14  6:44 ` Thomas A. Schmitz
2007-09-14  7:10   ` Taco Hoekwater
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).