[TxMt] Latex.tmbundle fix for XeTeX.

Dan Sandler dsandler at dsandler.org
Tue Oct 24 07:09:53 UTC 2006


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



More information about the textmate mailing list