Burak Emir wrote:
p.s.: I figured out that I had an alias defined in my bash_profile alias context="ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb texexec --luatex"
I this may explain the dvi instead of pdf problem, but you also have a configuration problem with mtxrun (that is not unheard of at all ...)
# have coffee
all good so far, no need to repeat any of it
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/context/bin:/usr/local/context/tex/texmf-osx-intel/bin
You don't actually need /usr/local/context/bin in the PATH I think, but it should be harmless. Mojca?
export TEXMF=/usr/local/context/tex/texmf export TEXMFMAIN=$TEXMF
This is BAD. You definately do not want to set TEXMF to that one directory, and do not need either of the variables at all. After removing these two from your environment and a manual $ luatools --generate all should be well. If it is not, you should post the output of $ env MTX_INPUT_TRACE=3 context test.tex for debugging purposes. Background information: It fails so miserably because if you set TEXMF, it should have a small list of different locations, not just /usr/local/context/tex/texmf In fact, most files live in /usr/local/context/tex/texmf-local But simply not setting the variable at all should work just fine. Best wishes, Taco