[XeTeX] koma-script in landscape and xelatex

Peter Dyballa Peter_Dyballa at Web.DE
Wed Mar 26 21:20:09 CET 2008


Am 26.03.2008 um 18:35 schrieb Alex Hamann:
> has anybody ever tested to create a pdf in landscape format with the
> koma-script classes and xelatex?


The problem is the same as with DVI output: the output driver needs  
to be told that the document has a non-standard shape:

	xelatex -output-driver="xdvipdfmx -l" file
	xelatex -output-driver="xdv2pdf -p :landscape" file

The latter does not work, which is a pity. You have to explicitly  
tell xdv2pdf also the paper size, for example:

	xelatex -output-driver="xdv2pdf -p a4:landscape" file

This makes it very complicated to work with AUCTeX or TeXShop because  
you have to provide dozens of commands or engine files to be prepared  
for each paper size and mode ...

Using

	\usepackage[landscape]{geometry}

is a workaround that even works with the default settings of the  
output-drivers. TeXShop and AUCTeX should provide "macros" to insert  
this line!

--
Mit friedvollen Grüßen

   Pete

Seelsorge statt Krankenkasse: das ist neu und liberal, die wähl' ich!




More information about the XeTeX mailing list