Now that the debris on my computer from determining the right way to reset LM, let me restate what my luatex problems are: 

Note: I have moved the contents of my personal texmf folder into Applications/ConTeXtMinimals/tex/texmf-project

1. When I run first-setup.sh, the installation stops with the line

(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/patterns/lang-agr.
pat
! Duplicate pattern.
l.38 ῃ1

2. If remove texmf-project from my ConTeXtMinimals, then installation works.

3. Since this installation will cannot find ~texmf, I have to restore texmf-project in my ConTeXtMinimals/tex.

4. When I process a file (see below), I get the error message:

fontnames | identifying system font files with suffix ttf
fontnames | globbing path /Users/alancbowen/Library/Fonts/**.ttf
fontnames | globbing path /Library/Fonts/**.ttf
! LuaTeX error font loading failed for /Library/Fonts/SPIonic.ttf

stack traceback:
[C]: in function '?'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:203: in function 'identify'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:250: in function 'method'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:225: in function 'traverse'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:240: in function 'identify'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:274: in function 'load'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:282: in function 'load'
...mals/tex/texmf-context/tex/context/base/font-syn.lua:381: in function 'resolve'
...mals/tex/texmf-context/tex/context/base/font-def.lua:222: in function 'resolve'
...mals/tex/texmf-context/tex/context/base/font-def.lua:651: in function 'read'
...mals/tex/texmf-context/tex/context/base/font-def.lua:767: in function 'command_2'
<main ctx instance>:1: in main chunk.
\lowleveldefinefont ...s ", "\@@fontfallbacks " )}
                                                  \edef \somefontspec {at \s...
\xxdododefinefont ...efont {#4}\newfontidentifier 
                                                  \let \localrelativefontsiz...
\fontstrategy ...ame #1\csname #2#3#4#5\endcsname 
                                                  \tryingfontfalse \fi 
<inserted text> ...yle \fontalternative \fontsize 
                                                  \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies 
                                                  \relax \fi \ifskipfontchar...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle }\if...
...
l.17 \localgreek{>'alfa ka`i b~hta}

                                   

Luatex (This is luaTeX, Version snapshot-0.31.3, ConTeXt  ver: 2009.01.18 14:39 MKIV) does not seem to like SPIonic. In fact neither do I, but I need it on my box to deal with cross-platform collaborations.

Alan

My test file is
\enableregime[utf-8]
\mainlanguage[en]

\setupencoding[default=utf]

\setupbodyfontenvironment[default][em=italic]

\usetypescript[fiee][sil-gentium]
\setupbodyfont[sil-gentium,10.5pt]

\usemodule[ancientgreek][font=GreekGentiumAlt,altfont=GreekDioxipe,altscale=1.03]

\starttext
\localgreek{>'alfa ka`i b~hta}
\stoptext


On Feb 23, 2009, at 12;14,21 , Alan Bowen wrote:

Aditya—

I have tried symlinks (as you indicate) and even just putting my texmf folder into /Applications/ConTeXtMinimals/tex/texmf-project and neither worked.

BUT putting the contents of my personal texmf folder into /Applications/ConTeXtMinimals/tex/texmf-project did make the Greek module accessible. But now  I get a new error message:

fontnames | identifying system font files with suffix ttf
fontnames | globbing path /Users/alancbowen/Library/Fonts/**.ttf
fontnames | globbing path /Library/Fonts/**.ttf
! LuaTeX error font loading failed for /Library/Fonts/SPIonic.ttf

Alan


On Feb 23, 2009, at 09;34,18 , Aditya Mahajan wrote:

On Mon, 23 Feb 2009, Alan Bowen wrote:

Thanks, Aditya,

You said that there was no problem in compiling your test file with MKII. So, MKII is finding t-ancientgreek. But kpsewhich does not find it.
When you compile the file in MKII, which t-ancientgreek is being used (the whole path should be in the log file.

/Users/alancbowen/texmf/tex/context/third/greek/t-ancientgreek.tex
(/Users/alancbowen/texmf/tex/context/third/greek/t-ancientgreek.mkii

Notice that this is not the same as ~/Library/texmf. texexec is finding ~/texmf. Do you, by any chance, have another tex distribution, which is being used when you run texexec? From what I understand, \usemodule[...] cannnot find a file which cannot be found by kpsewhich, but in your case, it seems to do so.

The easiest way to get everything working right now will be add you local texmf tree at /Applications/ConTeXtMinimals/tex/texmf-project.

Is that all or are there some housekeeping commands that I should run too?

You need to run

mktexlsr (or texhash) to regenerate the file name database for mkii, and run luatools --generate for mkiv.

So far, have included a sym link to my local texmf directory in /Applications/ConTeXtMinimals/tex/texmf-project. But I still get
system         : module ancientgreek not found

Just to be sure, /Applications/ConteXtMinimals/tex/texmf-project should be a symlink to ~/Library/texmf (rather than a sym link to ~/Library/texmf *in* /Applications/ConTeXtMinimals/tex/texmf-project).

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
___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________