[tex-live] mvorigin option in (x)dvipdfmx

Akira Kakuto kakuto at fuk.kindai.ac.jp
Mon Feb 27 23:07:24 CET 2017


Dear Zdenek,

> These files are generated by a text editor. If the EPS files are converted to PDF
> by epstopdf, everything is OK. LaTeX + dvips + ps2pdf does the right thing.
> XeLaTeX without any options for xdvipdfmx cuts the part with the negative
> coordinates, the origin is at the lower left corner.. LaTeX + dvipdfmx moces the
> origin to the upper right corner so that the part with the negative coordinates
> is shown but the part with the positive coordinates is clipped.

That is the feature of the GhostScript.
A correct first line is necessary to obtain correct
eps-pdf transformation:

Please change the header in b.eps
from
%!PS
to
%!PS-Adobe-2.0 EPSF-2.0

Then you have the same result in xelatex compared with that in
latex+dvips+ps2pdf.

In the case of latex+dvipdfmx, you need
\usepackage[dvipdfmx]{graphicx}

Best,
Akira



More information about the tex-live mailing list