* question on the luaTeX installation
@ 2008-04-26 7:13 Dalyoung Jeong
2008-04-26 8:27 ` Thomas A. Schmitz
2008-04-26 18:58 ` Aditya Mahajan
0 siblings, 2 replies; 6+ messages in thread
From: Dalyoung Jeong @ 2008-04-26 7:13 UTC (permalink / raw)
To: ntg-context
Dear all,
With a fresh mind, I tried to install luaTeX in my Mac G5(OSX 10.5) as
follows:
(based on Thomas's instruction)
- updating the ConTeXt
- making formats
- preparing some files like texlua, texluac, luatools, mtxrun.
- made a environment variable in .luatex
export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
export TEXMF="{/Users/dalyoung/.texlive2007/texmf-config,/Users/
dalyoung/.texlive2007/texmf-var,/Users/dalyoung/Library/texmf,/usr/
local/texlive/2007/texmf-config,/usr/local/texlive/2007/texmf-var,/usr/
local/texlive/2007/texmf,/usr/local/texlive/2007/../texmf-local,/usr/
local/texlive/2007/texmf-dist }"
export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/
usr/local/texlive/texmf-local/sc ripts/context/lua,/Users/dalyoung/
texmf/scripts}"
- run "source .luatex"
- run "luatools --generate"
it showed a long list without any error message.
So far, it looks fine. After the generation, I check the file "cont-
new.tex", then it pointed the file
in the folder texmf-dist not in the folder texmf-local.
I updated the ConTeXt file in the folder texmf-local, but I don't know
why it is looking for files under texmf-dist folder not under texmf-
local.
$ luatools cont-new.tex
/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex
I tried to create a format.
But "luatools --ini --verbose --compile cont-en" stops with an error
message.
LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | loading configuration for /usr/local/texlive/2007/texmf/
web2c from /tmp/luatex-cache/context/5b25423ad16f5b11dc34abcf44e70ed1/
trees/6da32d2ec193ac6d2428d020ce069374
LuaTools | locating list of /Users/dalyoung/.texlive2007/texmf-config
LuaTools | locating list of /Users/dalyoung/.texlive2007/texmf-var
LuaTools | locating list of /Users/dalyoung/Library/texmf
LuaTools | locating list of /usr/local/texlive/2007/texmf-config
LuaTools | locating list of /usr/local/texlive/2007/texmf-var
LuaTools | locating list of /usr/local/texlive/2007/texmf
LuaTools | locating list of /usr/local/texlive/2007/../texmf-local
LuaTools | locating list of /usr/local/texlive/2007/texmf-dist
...
LuaTools | using compiled initialization file cont-en.luc
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/
local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex" \\dump
This is LuaTeX, Version snapshot-0.25.3-2008041819 (Web2C 7.5.6)
(INITEX)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex
(/usr/local/texlive/2007/../texmf-local/tex/context/base/context.tex
(/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-pln.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-prm.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/luat-env.tex
! LuaTeX error [string "luas[0]"]:1: attempt to call field
'luafilechunk' (a ni
l value).
\ctxluabyteload ...nvironment.luafilechunk("#1") }
\ ...fproductionrun \else \ctxluabyteload {#1}{#2}
\fi \global
\everyloadluac...
l.168 \registerctxluafile{luat-env}{1.001}
?
Since I updated the ConTeXt file in the folder texmf-local, but I
don'tknow why it is looking for files under texmf-dist.
Is there anything wrong in my setup?
Thank you for reading.
best regards,
Dalyoung Jeong
___________________________________________________________________________________
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] 6+ messages in thread
* Re: question on the luaTeX installation
2008-04-26 7:13 question on the luaTeX installation Dalyoung Jeong
@ 2008-04-26 8:27 ` Thomas A. Schmitz
2008-04-26 18:58 ` Aditya Mahajan
1 sibling, 0 replies; 6+ messages in thread
From: Thomas A. Schmitz @ 2008-04-26 8:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Apr 26, 2008, at 9:13 AM, Dalyoung Jeong wrote:
> Dear all,
>
> With a fresh mind, I tried to install luaTeX in my Mac G5(OSX 10.5) as
> follows:
> (based on Thomas's instruction)
> - updating the ConTeXt
> - making formats
> - preparing some files like texlua, texluac, luatools, mtxrun.
> - made a environment variable in .luatex
>
> export TEXMFCACHE="/tmp"
> export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
> export TEXMF="{/Users/dalyoung/.texlive2007/texmf-config,/Users/
> dalyoung/.texlive2007/texmf-var,/Users/dalyoung/Library/texmf,/usr/
> local/texlive/2007/texmf-config,/usr/local/texlive/2007/texmf-var,/
> usr/
> local/texlive/2007/texmf,/usr/local/texlive/2007/../texmf-local,/usr/
> local/texlive/2007/texmf-dist }"
> export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/
> usr/local/texlive/texmf-local/sc ripts/context/lua,/Users/dalyoung/
> texmf/scripts}"
>
This looks fine.
> - run "source .luatex"
> - run "luatools --generate"
> it showed a long list without any error message.
>
> So far, it looks fine. After the generation, I check the file "cont-
> new.tex", then it pointed the file
> in the folder texmf-dist not in the folder texmf-local.
That's the error; if luatex finds the files in texmf-dist first, then
it will give errors because these files are too old to work with
recent luatex binaries. Can you post the output of the luatools --
generate command? Also, does the good old kpsewhich find the "right"
cont-new.tex? Could you run
sudo mktexlsr
and then
kpsewhere cont-new.tex
The last command, on my box, gives this output:
/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex
/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex
So the one in texmf-local is found before the one in texmf-dist. Are
you sure you unzipped cont-tmf.zip in the right location?
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] 6+ messages in thread
* Re: question on the luaTeX installation
2008-04-26 7:13 question on the luaTeX installation Dalyoung Jeong
2008-04-26 8:27 ` Thomas A. Schmitz
@ 2008-04-26 18:58 ` Aditya Mahajan
2008-04-27 14:36 ` Arthur Reutenauer
1 sibling, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2008-04-26 18:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 26 Apr 2008, Dalyoung Jeong wrote:
> Dear all,
>
> With a fresh mind, I tried to install luaTeX in my Mac G5(OSX 10.5) as
> follows:
> (based on Thomas's instruction)
> - updating the ConTeXt
> - making formats
> - preparing some files like texlua, texluac, luatools, mtxrun.
> - made a environment variable in .luatex
>
> export TEXMFCACHE="/tmp"
> export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
> export TEXMF="{/Users/dalyoung/.texlive2007/texmf-config,/Users/
> dalyoung/.texlive2007/texmf-var,/Users/dalyoung/Library/texmf,/usr/
> local/texlive/2007/texmf-config,/usr/local/texlive/2007/texmf-var,/usr/
> local/texlive/2007/texmf,/usr/local/texlive/2007/../texmf-local,/usr/
> local/texlive/2007/texmf-dist }"
Shouldn't /usr/local/texlive/2007/../texmf-local come before
/usr/local/texlive/2007/texmf ?
Aditya
___________________________________________________________________________________
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] 6+ messages in thread
* Re: question on the luaTeX installation
2008-04-26 18:58 ` Aditya Mahajan
@ 2008-04-27 14:36 ` Arthur Reutenauer
2008-04-27 15:53 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Arthur Reutenauer @ 2008-04-27 14:36 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Shouldn't /usr/local/texlive/2007/../texmf-local come before
> /usr/local/texlive/2007/texmf ?
It's the default on TeX Live (hence in all distributions but MikTeX).
I think the rationale is that .../texmf contains (mostly)
configuration-related things (including texmf.cnf itself), contrary to
.../texmf-dist which contains the actual TeX files. In that respect
it's quite different from Pragma's minimals and the New Minimals, where
there is no texmf-dist.
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] 6+ messages in thread
* Re: question on the luaTeX installation
2008-04-27 14:36 ` Arthur Reutenauer
@ 2008-04-27 15:53 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2008-04-27 15:53 UTC (permalink / raw)
To: Mailing list for ConTeXt users
Arthur Reutenauer wrote:
>> Shouldn't /usr/local/texlive/2007/../texmf-local come before
>> /usr/local/texlive/2007/texmf ?
>
> It's the default on TeX Live (hence in all distributions but MikTeX).
> I think the rationale is that .../texmf contains (mostly)
> configuration-related things (including texmf.cnf itself), contrary to
> ..../texmf-dist which contains the actual TeX files. In that respect
> it's quite different from Pragma's minimals and the New Minimals, where
> there is no texmf-dist.
texmf-dist was introduced for packager programs; normally when i get a
new tex live i happely merge texmfdist and texmf into one directory
texmf-local .. well, it seems that depending on the distribution the
order differs; originally it was for local updates and we use it as such
in the minimals
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] 6+ messages in thread
* Re: question on the luaTeX installation
@ 2008-04-28 6:22 Dalyoung Jeong
0 siblings, 0 replies; 6+ messages in thread
From: Dalyoung Jeong @ 2008-04-28 6:22 UTC (permalink / raw)
To: ntg-context
Dear Thomas and Aditya,
Thank you for the reply.
TEXMFLOCAL, TEXMFDIST is the order in texmf.cnf. So the order
in .luatex is OK.
1. I changed '/usr/local/texlive/2007/../texmf-local' in the .luatex
file to '/usr/local/texlive/texmf-local'
%%%%%%%
echo $TEXMF
{/Users/dalyoung/.texlive2007/texmf-config,/Users/
dalyoung/.texlive2007/texmf-var,/Users/dalyoung/Library/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}
%%%%%%%%%%
2. 'luatools --generate'.
3. Then it locate the files in right positions.
$ luatools cont-new.tex
/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex
And I succeeded to create the format file and a very simple test file
worked very well.
I don't know what is the difference between '/texlive/2007/../texmf-
local/' and '/texlive/texmf-local/'.
Thank you for your concern again.
Best regards,
Dalyoung Jeong
___________________________________________________________________________________
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] 6+ messages in thread
end of thread, other threads:[~2008-04-28 6:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-26 7:13 question on the luaTeX installation Dalyoung Jeong
2008-04-26 8:27 ` Thomas A. Schmitz
2008-04-26 18:58 ` Aditya Mahajan
2008-04-27 14:36 ` Arthur Reutenauer
2008-04-27 15:53 ` Hans Hagen
2008-04-28 6:22 Dalyoung Jeong
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).