Jeong Dalyoung wrote:
Dear all,
Finally, luatools is working(gwTeX, Mac OSX 10.4).
Following the instruction given by Thomas, I succeeded to run 'luatools --generate' but I got an error when I run 'luatools --ini --compile --verbose cont-en'. There is a memory problem for the languages. Following the suggestion, I add a line 'trie_size = 400000' at the end of texmf.cnf in the folder /usr/local/gwTeX/texmf.cnf. After that 'luatools --ini --compile --verbose cont-en' is running without error and the format file is created in the folder /tmp/ luatex-cache/context/...
I test it using a simple file like \starttext some texts \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext
and it was working nicely.
problems like this will go away with the next release, since mkiv will load patterns at runtime (smaller format, faster loading of format, faster generation of format, neglectable load time of patterns at runtime)
.......... (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-siz.tex) (/usr/ local/gwTeX/texmf.pkgs/tex/context/base/type-otf.tex) (/usr/local/ gwTeX/texmf.pkgs/tex/context/base/type-tmf.tex) (/usr/local/gwTeX/ texmf.pkgs/tex/context/base/type-siz.tex ! TeX capacity exceeded, sorry [parameter stack size=60].
strange ... looks like the config file is not read (generated by luatools) 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 -----------------------------------------------------------------