25 May 2013 02:33
eps inclusion by dvipdfmx and xdvipdfmx
Akira Kakuto <kakuto <at> fuk.kindai.ac.jp>
2013-05-25 00:33:55 GMT
2013-05-25 00:33:55 GMT
Hello,
Recently, dvipdfmx.cfg is changed to use -dEPSCrop to convert from
eps to pdf by Ghostscript, and "hoffset", "voffset" specials are added to
dvipdfmx.def and xpdf.def.
I think "hoffset" and "voffset" specials are not working correctly,
probably because translation and scaling etc. are not commutative.
Outputs of pdflatex and xelatex are the same for the following
test1.tex, whereas the outputs for test2.tex are different
in the cases of pdflatex and xelatex.
Here grfig0.eps is a suitable eps figure.
I think that
if xetex.def and dvipdfmx.def are rewritten to become
urx = urx - llx
ury = ury - lly
llx = 0
lly = 0
without hoffset and voffset,
dvipdfmx and xdvipdfmx work correctly to include eps with -dEPSCrop.
%
% test1.tex
%
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{grfig0.eps}
\end{document}
%
(Continue reading)
RSS Feed