New Reply

Insert figure LaTeX problem!

 
Share Thread Thread Tools
May15-12, 12:06 AM   #1
 

Insert figure LaTeX problem!


Hello guys,

I know this topic has been issued many times before. However I have an issue I cant find a solution for.
  1. I have a master file that calls another sub tex file using \include{}.
  2. This sub tex file has insert figures, I use insert figure options in the editor and the figures are in a sub folder where the this tex file resides.
  3. However when I compile the master file. I see no figure and also states that it cannot find the figure. I double checked the path name and white spaces too. Its not because of that.

Can someone help me how to go abt it. I use INLAGE 4.7.13 as my Latex editor. Please find the attached file to run the files if you have time.

docs.google.com/open?id=0B6yei5eTKtEsajd6T201bEpUOTA

[ sorry this is just my second post and PF wont let me insert links/URL'S ]
Thank you.

PS: When I use insert figure it doesnt include the full path of the figure. why is that. If I include the full path then it works perfect. I dont understand why my editor doesnt include the full path and only the sub folder path.
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> King Richard III found in 'untidy lozenge-shaped grave'
>> Google Drive sports new view and scan enhancements
>> Researcher admits mistakes in stem cell study
May15-12, 02:21 AM   #2
D H
 
Mentor
I see figures in your generated pdf (thesis_master.pdf). Are you talking about the "fig ??" in your pdf file? That is a different problem. The solution is easy: Run latex again. And then run latex one more time because the pagination might be wrong (the figures and tables now have a title and this can change the pagination).
May15-12, 01:46 PM   #3
 
No thatz not what I meant. were you actually able to see the pictures ???

when I generated thesis_master.pdf I wasnt able to see any pictures that were added from my subfolder. Here have a look at the Pdf. This is what I meant. Unless I put in the whole path it wont display the picture. But the INLAGE editor I am using , when I use the insert figure option it just starts off the graphic path from the subfolder name : eg: subfolder/picture.jpg

docs.google.com/open?id=0B6yei5eTKtEsajd6T201bEpUOTA

Thanks for taking effort to see what is my problem.
May15-12, 04:42 PM   #4

Math 2012
 
Recognitions:
Science Advisor Science Advisor

Insert figure LaTeX problem!


Tex doesn't have any built in concept of "change the current directory" or "automatically search subdirectories" when looking for files, but there are some workrounds here: http://www.tex.ac.uk/cgi-bin/texfaq2...el=docotherdir

On the other hand, I'm not really sure whether your problem is about TeX or INLAGE, and I don't know anything about INLAGE. (And I don't trust google docs enough to go exploring your data on there - sorry!)
May16-12, 09:24 AM   #5
 
I usually have a subdirectory for figures. Then I use something like

\includegraphics[width=0.8\columnwidth]{./figures/fig_1}

Never had any problems with that, but I don't use INLAGE.

I am not sure if you have to specify the path relative to the master file or the included one. Just try both :-P
New Reply

Tags
latex
Thread Tools


Similar Threads for: Insert figure LaTeX problem!
Thread Forum Replies
How to insert Images in LaTeX Math & Science Software 4
How do you insert a break using latex??? Calculus & Beyond Homework 18
how to insert spaces between words in latex Math & Science Software 3
How do I insert an image on a LaTex doc? Math & Science Software 8
free programs that use Latex that I could insert in a ms word doc and attach Math & Science Software 3