Dear Thomas, Hans, and all I am sorry to give another noise to you. I did install luatex once more and I'd like to report the results. I removed TeX completely and reinstalled gwTeX again. After that I followed the instructions given by Thomas. I made ".luatex" for the variables which contains the following lines: 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}" After running "source .luatex", "luatools --generate" worked well. I tried to run "luatools --ini --verbose --compile cont-en", but there are several error occurred. 1. ... loading : Context Language Macros / Initialization (/usr/local/gwTeX/texmf.pkgs/tex/context/base/lang-ini.mkiv ! LuaTeX error ...local/gwTeX/texmf.pkgs/tex/context/base/lang- ini.lua:9: attempt to index global 'lang' (a nil value). \ctxluabytecode ...ode " .. "#1" .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.16 \registerctxluafile{lang-ini}{1.001} ? [snip] 2. many of the following for all the languages. Copyright 1990-2007 / PRAGMA ADE / J. Hagen - A.F. Otten system (LUATEX) : [line 628] ) system : cont-usr loaded (/usr/local/gwTeX/texmf.pkgs/tex/context/config/cont-usr.tex loading : User Settings ) ! LuaTeX error [string "luas[0]"]:1: attempt to call field 'register' (a nil value). \mkdoloadpatterns ... #2.\f!hyphensextension }") } \next1 #1,->\preloadallpatterns {#1} \doprocesscommaitem <argument> \relax nl, fr,de,it,pt,hr,pl,cz,sk,sl,vn,ru,en,uk,us,agr,da,sv,af,... \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... \preloadallpatterns ...uages ]\preloadallpatterns \global \let \preloadallpa... \loaduserspecifications ...se \preloadallpatterns \fi l.22 \loaduserspecifications ? ... 3. ! LuaTeX error [string "luas[0]"]:1: attempt to call field 'register' (a nil value). \mkdoloadpatterns ... #2.\f!hyphensextension }") } l.26 \installlanguage [\s!en] [\c!state=\v!start] ! LuaTeX error [string "luas[0]"]:1: attempt to call field 'register' (a nil value). \mkdoloadpatterns ... #2.\f!hyphensextension }") } l.27 \installlanguage [\s!uk] [\c!state=\v!start] ... According to those lines, I assume that it is related with the languages. But I really do not know both causes and cures. Thank you so much for all the helps you gave. Best regards, Dalyoung