[XeTeX] xdvipdfmx doesn't seem to respect PDF crop areas
Akira Kakuto
kakuto at fsci.fuk.kindai.ac.jp
Sat Sep 23 01:35:28 CEST 2006
> It looks like the layout is performed taking the bounding box into
> account (e.g. the spacing of surrounding text is correct for the
> bounding box), and the PDF figure has the proper bounding box (e.g.
> the area of the pdf outside the bounding box is not drawn). What is
> incorrect is that the PDF is placed in the layout so that the lower-
> left corner of the full PDF area is at the lower-left corner of the
> layout box for the graphics. (Not sure of the correct term here.)
> What should be happening of course is that the lower-left corner of
> the *bounding box* for the PDF is placed at the lower-left of the
> layout box.
Temporarily, until Jonathan fixes xdvipdfmx, try as follows:
(1) [dvipdfm] option in the source:
\documentclass[dvipdfm]{article}
\usepackage{graphicx}
\begin{document}
Some text.
\includegraphics{figure}
More text.
\end{document}
(2) create figure.bb before compiling by xelatex:
ebb figure.pdf
( -c option may not be necessary )
(3) compile by xelatex + xdvipdfmx:
xelatex -output-driver='xdvipdfmx -q -E' sourcename
Best regards,
Akira
More information about the XeTeX
mailing list