FYI for LaTeX bundle maintainers and users:
I recently updated XeTeX (to v0.995, 16-Aug) and discovered that previewing in TextMate had become kind of cranky (though running xelatex from the command line still worked fine).
The crankiness: using "Typeset & View (PDF)", the first page of output would be the following, in Computer Modern:
[zf ]preparseRendererAAT,ICU
The correct LaTeX output would appear starting on the next page.
After a heap of digging around (resulting in [1], which pointed to a path problem with xkeyval.tex), I figured out that the call to kpsewhich is causing the wrong paths to get expanded (in particular, the texmf.tetex versions were taking precedence over texmf.local).
This seems to fix it for me:
Old: export TEXINPUTS="$TM_BUNDLE_SUPPORT/tex//:$(kpsewhich --expand- var '$TEXINPUTS')"
New: export TEXINPUTS="$TM_BUNDLE_SUPPORT/tex//:$(kpsewhich -progname $TEX --expand-var '$TEXINPUTS')"
HTH, as they used to say.
--ds
[1] http://www.tug.org/pipermail/xetex/2006-August/004700.html