[XeTeX] compile xdvipdfmx on Mac OS X (was Re: cmyk colour support broken?)

William Adams will.adams at frycomm.com
Fri May 19 22:36:45 CEST 2006

On May 19, 2006, at 3:41 PM, Jonathan Kew wrote:

> Is there a libkpathsea.a library in /usr/local/teTeX/lib, and a
> kpathsea subdirectory in /usr/local/teTeX/include? If so, try running
> the configure script using:
> 	LDFLAGS=-L/usr/local/teTeX/lib CFLAGS=-I/usr/local/teTeX/include ./
> configure

Yes there is. That command didn't work though.

> Or alternatively, you can put symlinks in a standard system place
> such as /usr/local/lib and /usr/local/include that point to the
> library and header directory, so that configure finds them.

but that did.


> If gwTeX doesn't install the library and headers (I'm not 100% sure),
> then you'll need to build and install libkpathsea from source; one
> way to do this would be to "make install" within the TeX/texk/
> kpathsea subdirectory of the XeTeX source tree.

FYI I tried this too, but was told there was nothing to be done for  
it --- should I've ``make clean'' first?

Okay, I've got it compiled and installed now.

I ran:

xelatex -no-pdf crj.tex

and got a .xdv

I then renamed that to crj.dvi and tried to run xdvipdfmx on it, but  
no joy:

[Dual-G5-2-3:~/Documents/tex] williama% xdvipdfmx -v crj.dvi
crj.dvi -> crj.pdf
DVI ID = 5

** ERROR ** Something is wrong. Are you sure this is a DVI file?

Output file removed.

Is there something I'm missing?


William Adams
senior graphic designer
Fry Communications

This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.

More information about the XeTeX mailing list