[XeTeX] ifpdftex, ifxetex and dvipdfm

Pablo Rodríguez oinos at web.de
Tue Dec 18 13:15:05 CET 2007

Jonathan Kew wrote:
> My suggestion would be to use ifxetex, and assume that the output  
> driver for xetex is (x)dvipdfmx; that is the default on all platforms  
> in 0.997 (yes, it's still not officially released, but use that as  
> your target). It's true that xdv2pdf doesn't support all the same  
> specials, but I think you should just ignore that driver.

Thanks for your answer, Jonathan.

> To support the use of dvipdfm(x) with regular LaTeX, you'll have to  
> use a package option, I think, unless there is a way to use \specials  
> that will work for either driver. There is no way for the TeX job to  
> know which dvi-to-whatever driver will be used.

I guess I would have to write those \specials that would work for either 
driver. A package option will be the solution, but I don't know how I 
would have to write one. Where could I find an explanation?


More information about the XeTeX mailing list