Graphics, Figures & TablesEPS figure withe strange output format in latex!!!

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

EPS figure withe strange output format in latex!!!

Post by Sam »

Dear all,

I am not quite sure why when i save my drawing as .esp figure from INKSCAPE...i get a weired text...

please see below...

thanks for help :)
Attachments
figure_eps.JPG
figure_eps.JPG (65.42 KiB) Viewed 3346 times

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

EPS figure withe strange output format in latex!!!

Post by localghost »

Obviously a malfunction during the export process. Seems that the preamble is missing. It should look similar to the following.

Code: Select all

%!PS-Adobe-2.0 EPSF-2.0
%%Title: 20010613.eps
%%Creator: gnuplot 3.7 patchlevel 1
%%CreationDate: Tue Aug 07 20:42:00 2001
%%DocumentFonts: (atend)
%%BoundingBox: 50 50 410 302
%%Orientation: Portrait
%%EndComments

Thorsten
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: EPS figure withe strange output format in latex!!!

Post by php1ic »

That text is raw postscript (or eps) code, so it looks like latex may not be interpreting the graphics properly. Can you post an MWE to show how you include the file.

Can you view the eps 'normally' outside of latex?
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

EPS figure withe strange output format in latex!!!

Post by Sam »

php1ic wrote:That text is raw postscript (or eps) code, so it looks like latex may not be interpreting the graphics properly. Can you post an MWE to show how you include the file.

Can you view the eps 'normally' outside of latex?

Yes I could see the .eps normally outside latex.

what is MWE please?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

EPS figure withe strange output format in latex!!!

Post by localghost »

Sam wrote:[…] what is MWE please?
You are a board member for more than three years now and still don't know what a MWE is?! You have already been given according links in some of your former requests (and obviously didn't follow them). So here are some reminders [1-4]. It is expected that you follow the links and the instructions you will find ([1], [2] or [3] and [4]).

[1] TeX FAQ — How to make a “minimum example”
[2] What is a minimal working example?
[3] How to create a LaTeX minimal example
[4] View topic: Avoidable mistakes
Post Reply