1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
In TeX Live 2016 and later, a new suffix .mps (or .MPS) is supported
by dvipdfmx and xdvipdfmx. Usual eps files are included by converting
into pdf files with the help of Ghostscript. We are using -dEPSCrop
option for Ghostscript in the conversion. In this case, we are forced
to translate llx, lly, urx, and ury in \Ginclude@eps accordingly.
On the other hand, eps files created by MetaPost are included directly
without the help of Ghostscript. Thus the above translation should be
negated by translating the origin, if we use \Ginclude@eps also for eps
files created by MetaPost. The translation of the origin was the default
in TeX Live 2015. However in TeX Live 2016, the origin is translated only
if the option --mvorigin is given for dvipdfmx or xdvipdfmx. This feature
may a bit be inconvenient. Thus we introduce a new command \Ginclude@mps
which is used for files with a suffix .mps (or .MPS). In \Ginclude@mps,
llx, lly, urx, and ury are natural compared with those in \Ginclude@eps.
Thus --mvorigin should not be given in the case of \Ginclude@mps.
In summary, there are two ways to include eps files created by MetaPost
in TeX Live 2016 and later:
(1) Use a suffix .mps (or .MPS) like foo.mps. In this case, don't give the
option --mvorigin for dvipdfmx and xdvipdfmx.
(2) In other cases, such as foo.1, foo.2, foo.eps, foo.ps ..., the option
--mvorigin for dvipdfmx and xdvipdfmx is inevitable.
Note that the option --mvorigin is relevant only for MetaPost-created
eps files. The option does nothing for other files.
|