Graphics, Figures & Tablesstrange eps include problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
apersaud
Posts: 2
Joined: Sun Apr 15, 2012 8:10 pm

strange eps include problem

Post by apersaud »

Hi

I ran into a very strange (at least for me) problem. When including two eps figures in a figure environment the first figure, for some strange reason, gets included twice with an offset. Including the pictures by themselves everything is fine...

Kind of hard to describe, probably best to show you the result:
test.pdf
The resulting PDF file
(1016.81 KiB) Downloaded 144 times
(see further attachments)

The problem is that in the very top left picture in test.pdf the scalebar is shown twice with an offset... if I open the pdf in inkscape I actually see that the complete figure was included twice with an offset!

If I use pdf versions and pdflatex everything works, but I have to use latex->dvi>ps route for a paper submission.

The pictures are created using inkscape.
I tried the following:
* create pictures as pdf and use pdf2ps, ps2eps to convert to eps
* use eps2eps to convert eps
* put the eps into a minipage

nothing helped :(

Any help would be greatly appreciated.

Arun
Attachments
Fig1b.eps
(1.17 MiB) Downloaded 146 times
Fig1a.eps
(540.9 KiB) Downloaded 157 times
test.tex
A minimal source file
(558 Bytes) Downloaded 151 times
Last edited by Stefan Kottwitz on Sun Apr 15, 2012 8:23 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

apersaud
Posts: 2
Joined: Sun Apr 15, 2012 8:10 pm

Re: strange eps include problem --solved

Post by apersaud »

Problem solved. Someone figured out that the problem is because the eps file has some content outside the bounding box that creates this effect.

Thanks

Arun
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Re: strange eps include problem

Post by Stefan Kottwitz »

Hi Arun,

welcome to the board!

Nice to read that the problem has been solved. Strange effect!

Stefan
LaTeX.org admin
Post Reply