[XeTeX] Re: [MacTeX] XeTeX

Jonathan Kew jonathan_kew at sil.org
Thu Apr 15 10:35:14 CEST 2004


On 15 Apr 2004, at 7:20 am, Bruno Voisin wrote:

> By the way, is there a way to get A4 output from XeTeX? "xetex 
> -papersize=a4" produces no error message ("xetex -papersize=A4" or 
> "xetex -papersize=a4paper" do) but the output (= the margins) still 
> don't correspond to those expected for A4 paper.

xetex -papersize=a4 is supposed to work; what do you get? Do -papersize 
switches have any effect at all? You should be able to specify a 
variety of sizes:
	a3
	a4
	a5
	b5
	letter
	legal
	tabloid
and you can append ":landscape" to any of these.

If you're running xetex with the -no-pdf option, to get an .xdv file, 
you'd need to set the paper size with the -p option to xdv2pdf rather 
than xetex's -papersize option.

>
>>   7.  support for  scaling/rotations/clipping etc. of imported 
>> graphics.
>>        How much of the \includegraphics  from  graphicx.sty
>>        can be supported, for a  xetex.def  driver file ?
>>
>> Given an interface via  \special syntax, I can write appropriate
>> driver files:  xetex.def   (for color/graphics)
>>           and  hxetex.def  (for hyperref)
>
> I think XeTeX's \picfile is not build upon \special, it uses its own 
> mechanism for including graphics.

Correct; \picfile and \pdffile are new primitives.

>
> Regarding rotation, TeXgX, upon which XeTeX seems to be based, had a 
> command \rotbox, for rotating text, which is no longer present in 
> XeTeX, so maybe there is a problem for doing the same in XeTeX? (I 
> didn't use TeXgX myself, as I didn't install GX font technology on any 
> of the Mac I ever used, I just had a look at the TeXgX distribution 
> following the release of XeTeX.)
>

\rotbox, which in TeXGX could rotate any arbitrary \box, is a little 
harder to do in xetex, but I've been considering it. But graphics can 
be rotated directly by keywords on the \picfile command, so \rotbox is 
only really of interest if you want to rotate more general TeX material 
(think diagonal headings above narrow table columns, for example).

Jonathan

_______________________________________________
MacTeX mailing list
http://tug.org/mailman/listinfo/mactex



More information about the XeTeX mailing list