General ⇒ eps figure not showing
eps figure not showing
Hello,
I'm trying to generate a document with .eps figure according to a journal's (Biometrika) styleguide.
I'm using their template, but figure does not show - only the caption.
Not sure if this is related or not, but they ask that figure be located in a subdirectory of the one where the tex file is.
I'm attaching a mwm - hope it's enough..
Thank you so much,
Asaf
I'm trying to generate a document with .eps figure according to a journal's (Biometrika) styleguide.
I'm using their template, but figure does not show - only the caption.
Not sure if this is related or not, but they ask that figure be located in a subdirectory of the one where the tex file is.
I'm attaching a mwm - hope it's enough..
Thank you so much,
Asaf
- Attachments
-
- Asaf_MWM.tex
- (931 Bytes) Downloaded 640 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
eps figure not showing
I had to look up the file biometrika.cls using google to test yur example. I created a folder
Why they decided to do it that way, no idea, but as everything is hardcoded, you need to put the file in that folder.
art
, put a picture in there and gave the full filename in the figurebox command. Everything works fine.Why they decided to do it that way, no idea, but as everything is hardcoded, you need to put the file in that folder.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: eps figure not showing
Hi Johannes,
Thanks so much for your response - I'm sorry for not including the cls file (I'm not a sophisticated Latex user, to say the least).
I am frustrated because the eps figure still does not show up - the file compliles but the output shows only the caption and not the figure itself.
Any idea why this still doesn't work? can it have anything to do with my software? (I'm using TexShop on Mac OSx).
I attached a screenshot of the files included in my folder, if this is of any help..
Thank you again and sorry for trouble,
Asaf
Thanks so much for your response - I'm sorry for not including the cls file (I'm not a sophisticated Latex user, to say the least).
I am frustrated because the eps figure still does not show up - the file compliles but the output shows only the caption and not the figure itself.
Any idea why this still doesn't work? can it have anything to do with my software? (I'm using TexShop on Mac OSx).
I attached a screenshot of the files included in my folder, if this is of any help..
Thank you again and sorry for trouble,
Asaf
- Attachments
-
- biometrika.png (125.88 KiB) Viewed 23058 times
Last edited by Johannes_B on Fri Aug 08, 2014 4:32 pm, edited 1 time in total.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
eps figure not showing
You have to put figure
fig1.eps
into the folder called art
.The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: eps figure not showing
Hi again,
It is in the folder art - I just copied it also to the main folder, because it didn't work when only in the folder "art"..
This is how the generated pdf looks like when I remove fig1.eps from the main folder and place it in the "art" directory (see attached).
Thank you..
Asaf
It is in the folder art - I just copied it also to the main folder, because it didn't work when only in the folder "art"..
This is how the generated pdf looks like when I remove fig1.eps from the main folder and place it in the "art" directory (see attached).
Thank you..
Asaf
- Attachments
-
- asafwOutput.png (84.56 KiB) Viewed 23050 times
Last edited by Johannes_B on Fri Aug 08, 2014 8:42 pm, edited 1 time in total.
Reason: Resizing the pic to suit small screens.
Reason: Resizing the pic to suit small screens.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: eps figure not showing
Hi Asaf,
your latex run generates a log-file. Can you upload it?
Check the fig1-eps-converted-to.pdf if it looks ok. If this one should be empty the eps file is broken.
EDIT: You made me paranoid, so i checked again and couldn't get it to work. I wasn't even sure if it worked before. But then i remembered, usually when eps figures are involved, i compile using xelatex to save the extra conversion steps.
Try compiling your document using xelatex.
your latex run generates a log-file. Can you upload it?
Check the fig1-eps-converted-to.pdf if it looks ok. If this one should be empty the eps file is broken.
EDIT: You made me paranoid, so i checked again and couldn't get it to work. I wasn't even sure if it worked before. But then i remembered, usually when eps figures are involved, i compile using xelatex to save the extra conversion steps.
Try compiling your document using xelatex.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: eps figure not showing
Hi Johannes,
I will look up xelatex, here is the .log file in the meantime..
Regarding the file "fig1-eps-converted-to.pdf", when I checked it before it was fine (not broken) and the figure showed up..
Thank you for the time you spend on replying.. I am lost without expert advice
Asaf
I will look up xelatex, here is the .log file in the meantime..
Regarding the file "fig1-eps-converted-to.pdf", when I checked it before it was fine (not broken) and the figure showed up..
Thank you for the time you spend on replying.. I am lost without expert advice

Asaf
- Attachments
-
- styleguide.log
- (17.5 KiB) Downloaded 620 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: eps figure not showing
You need to run latex (that is pdflatex in dvi mode) and then convert it to ps and again to pdf. You editor might have a button for the whole thing.
Since inserting figures is hardcoded that strange way, you cannot use the TL standards.
The alternative would be XeLaTeX outputting pdf directly and working with post script.
Since inserting figures is hardcoded that strange way, you cannot use the TL standards.
The alternative would be XeLaTeX outputting pdf directly and working with post script.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: eps figure not showing
Thank you Johannes!!
It works fine with XeLaTex
Asaf
It works fine with XeLaTex

Asaf
Re: eps figure not showing
Hello LaTex community,
I posted a while ago regarding an eps file not showing after typesetting.
Johannes suggested to use xelatex instead of pdflatex, and this indeed solved the problem back then.
I am not trying to compile the same file using xelatex, but it crashes. When I use pdflatex instead, everything processes fine.
I am not sure what is wrong, and would appreciate some help very much.
I am attaching the .tex along with .cls and .log files.
Thank you so much,
Asaf
I posted a while ago regarding an eps file not showing after typesetting.
Johannes suggested to use xelatex instead of pdflatex, and this indeed solved the problem back then.
I am not trying to compile the same file using xelatex, but it crashes. When I use pdflatex instead, everything processes fine.
I am not sure what is wrong, and would appreciate some help very much.
I am attaching the .tex along with .cls and .log files.
Thank you so much,
Asaf
- Attachments
-
- styleguide.tex
- (24.1 KiB) Downloaded 630 times
-
- styleguide.log
- (8 KiB) Downloaded 629 times
-
- biometrika.cls
- (62.23 KiB) Downloaded 550 times