[XeTeX] Re: fontspec, xelatex and the geometry package
Jonathan Kew
jonathan_kew at sil.org
Wed Oct 12 15:53:43 CEST 2005
On 11 Oct 2005, at 1:39 am, Will Robertson wrote:
>
> The easiest thing to do would be to create a TeXShop (assuming you
> use TeXShop) engine to handle XeLaTeX landscape documents. This is
> quite simple, actually, once you know where to look.
>
> • Step one
> In the Finder, go to ~/Library/TeXShop/Engines/ (~/ means your home
> folder) and duplicate XeLaTeX.engine (it is important to duplicate
> this file, rather than create a new, empty file from scratch). Call
> the copy "XeLaTeX landscape.engine" or something similar.
>
> • Step two
> Now open this file in TextEdit and replace the line
> xelatex --shell-escape "$1"
> with
> xelatex --shell-escape --papersize=297mm,210mm "$1"
Just FYI - it should also work to say "--papersize=a4:landscape", if
you don't want to check the exact dimensions. (And likewise, of
course, for other named sizes.)
BTW, running:
xdv2pdf -help
will give you a brief usage message that mentions the paper sizes
known to the driver.
JK
More information about the XeTeX
mailing list