[XeTeX] wrong paper size (geometry and truedimen)

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Sun Jun 25 06:39:09 CEST 2006


Hi Pablo,

>There must be something wrong in XeLaTeX, since the xdv file includes
>papersize 474.2123pt,670.67203pt and the dvi file includes
>papersize=497.90726pt,704.20303pt.

I think that is not a bug of XeTeX but a nature of geometry package.
You will get a desired result by

\documentclass[a4paper,12pt,twoside,openright]{book}
\usepackage[compat2,mag=1050,truedimen,paperheight=24.75cm,
paperwidth=17.5cm,margin=2cm,twosideshift=10pt,headsep=7pt,
headheight=14.5pt]{geometry}

\begin{document}

This is a sample text.

\end{document}


geometry.cfg in xelatex seems to choose pdftex driver.

Best,
Akira


More information about the XeTeX mailing list