[tex-k] epstopdf confused at eps files with two bounding box lines

Tao Zhao alick9188 at gmail.com
Wed Apr 18 18:41:48 CEST 2018


Hi,

It seems that epstopdf will be confused when the eps figure has two
bounding box lines. Attached is an figure for example. epstopdf will
pick up the first bounding box line, which is actually wrong. In
contrast, gv can detect and show the correct size (bbox) of the
figure.

More details: This figure is generated by Asymptote, and the first
bounding box line seems to come from calling dvips in the process. So
I don't think there is an easy way to get rid of it from Asymptote.
Besides, the Asymptote guys do not recommend epstopdf, and seems like
they don't think this is an issue they should address.

Why do I need to use epstopdf? Because I'm working on publishing to a
journal which accepts eps figures but not pdf figures. Currently I
walkaround the issue by converting .asy to .pdf then to .eps. But I do
hope the straightforward workflow .asy to .eps will work with
epstopdf.

So, can we make epstopdf smarter at detecting the right bounding box
of eps figures?

[1] https://sourceforge.net/p/asymptote/discussion/409349/thread/267c480e/

Regards,
Alick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pythagoras.eps
Type: image/x-eps
Size: 33648 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-k/attachments/20180418/1d3c4587/attachment-0001.bin>


More information about the tex-k mailing list