[tex-live] dvipdfmx and dvips(k): different special psfile output

Ramón Casares papa at ramoncasares.com
Tue Mar 1 19:21:09 CET 2016


Dear Akira,

> --mvorigin. Note that the option is concerned with only
> images created by MetaPost.  Usual eps images are included
> correctly with dvipdfmx.def/xetex.def irrespective of the
> option --mvorigin.

Thanks again. But I am not sure that
files created by MetaPost are so peculiar.

In order to ascertain that
all EPS images are correctly included,
I would suggest to take
the first example of the EPS specification [1], in page 8,
which is presented as a "minimally conforming EPS file",
and run a similar test.

1) File: example1.eps (6 lines)

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 5 5 105 105
10 setlinewidth
10 10 moveto
0 90 rlineto 90 0 rlineto 0 -90 rlineto closepath
stroke

2) File: test2.tex (1 line)

A\special{psfile=example1.eps}B\bye

3) Run: tex test2.tex
4) Run: dvips test2.dvi
5) Run: dvipdfmx test2.dvi
6) Compare test2ps with test2.pdf

Best regards,
   Ramon


Reference

[1] Adobe
"Encapsulated PostScript File Format Specification" Version 3.0
https://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf


More information about the tex-live mailing list