[XeTeX] xdvipdfmx broken on Windows Vista?
Bruno Voisin
bvoisin at mac.com
Mon Apr 23 17:09:40 CEST 2007
Le 23 avr. 07 à 15:45, Jonathan Kew a écrit :
>> Thus it seems compilation of xdvipdfmx on the Mac is presently
>> broken. Or did I miss something obvious?
>
> Well, you could go get libpng. Simply get the standard source
> tarball, and do the "configure; make; sudo make install" routine. Or
> if you don't want libpng.dylib in /usr/local/lib, you could configure
> it with "--enable-static --disable-shared", and link against
> libpng12.a (without necessarily installing it).
Eventually I chose the easy way by using the pre-compiled libpng
binary at
<http://ethan.tira-thompson.com/Mac%20OS%20X%20Ports.html>
However, that's not the end of the story!
First, xdvipdfmx is installed in /usr/local/bin, whereas TeXlive has
it in /usr/texbin. Given /usr/texbin was before /usr/local/bin in
PATH on my setup, I had first to make sure /usr/local/bin/xdvipdfmx
was used. I tried putting /usr/local/bin first in the path, and also
creating a symlink of /usr/local/bin/xdvipdfmx inside /usr/texbin.
But that's not enough: I get a complaint about a missing texmf.cnf
theo8mc233:~/Desktop/Test bvoisin$ xelatex -output-driver="/usr/
texbin/xdvipdfmx-patched -q -E" test-xdvipdfmx.tex
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./test-xdvipdfmx.tex
[...]
(./test-xdvipdfmx.aux) <power3d.pdf> [1] (./test-xdvipdfmx.aux) )
warning: Configuration file texmf.cnf not found! Searched these
directories:
/usr/local/bin:/usr/local:/usr:/usr/local/bin/share/texmf-local/
web2c:/usr/local/share/texmf-local/web2c:/usr/share/texmf-local/
web2c:/usr/local/bin/texmf-local/web2c:/usr/local/texmf-local/web2c:/
usr/texmf-local/web2c:/usr/local/bin/share/texmf/web2c:/usr/local/
share/texmf/web2c:/usr/share/texmf/web2c:/usr/local/bin/texmf/web2c:/
usr/local/texmf/web2c:/usr/texmf/web2c:/.:/usr/local/Build/i386/
TeXLive.2006/texmf/web2c:/usr/local/Build/i386/TeXLive.2006/texmf/web2c
Trying to proceed...
Output file removed.
Output written on test-xdvipdfmx.pdf (1 page).
Transcript written on test-xdvipdfmx.log.
and no PDF file is created anywhere that I could see.
For some reason TeXLive's texmf.cnf, which indeed exists:
theo0mc234:/etc brunovoisin$ kpsewhich texmf.cnf
/usr/local/texlive/2007/texmf/web2c/texmf.cnf
isn't seen when running this locally compiled xdvipdfmx.
There must be something I didn't do right, but given my inexperience
at compiling software I think trying to get things right is not worth
the effort, and would just be a waste of other people's time: I'll
just wait until a patched pre-compiled binary comes out.
Bruno Voisin
More information about the XeTeX
mailing list