Discussion:
Importing Images To LaTeX, with a no Bounding Box error!?
(too old to reply)
Hloke
2007-02-05 19:05:54 UTC
Permalink
I have been trying to solve this for quite awhile, and am baffled, as
I cannot work out why I get this error.

I use LEd, and I need to import a .eps file into the my document. I
created the eps file by making the thing I want on Microsoft Word,
then convert it to postscript via the Generic PostScript Print. I then
manipulate the ending of .ps to .eps; or I convert it using GSview.
Anyway, I have this .eps file, I check it in notepad it seems to have
a bounding box, according to the settings (I even changed these to
make it closer to the image but still did not work). So I put this eps
file into the C:\LaTeX\ProTeXt\MiKTeX\texmf\tex and then run LEd.
I have the the command of \usepackage{graphicx} and then the command
in the document:

\begin{figure}[h]
\centering
\includegraphics{idealgas.eps}
\caption{The logic of the \textbf{P},\textbf{V},\textbf{T}
relationships}
\label{fig:Ideal Gas Chart}
\end{figure}

When I run the thing to get the DVI, it gives me:
LaTeX WARNING: file 'idealgas.eps' not found on input line of 73
! LaTeX ERROR: file 'idealgas.eps' not found.

and when I type 'h' for help and press enter twice it gives me:
! LaTeX ERROR: Cannot determine the size of graphic in idealgas.eps
(no BoundingBox)

I looked all around for solutions, nothing seems to help!!
Anyone got ideas???

Also while I am asking stuff, anyone know how I could get a 'd' but
with a line on top, but the line is not on top of the letter, but on
top of the loop only and through its vertical line?
Maarten Bergvelt
2007-02-05 19:32:29 UTC
Permalink
Post by Hloke
Also while I am asking stuff, anyone know how I could get a 'd' but
with a line on top, but the line is not on top of the letter, but on
top of the loop only and through its vertical line?
It is better to start a new thread for a new question. Look at

http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf

to find your funny d, I think you mean \B{d} in the fc package, table 6.
--
Maarten Bergvelt
tsy
2007-02-06 05:33:13 UTC
Permalink
Post by Hloke
I use LEd, and I need to import a .eps file into the my document. I
created the eps file by making the thing I want on Microsoft Word,
then convert it to postscript via the Generic PostScript Print.
Try using TpX
http://tpx.sourceforge.net
It can import emf from MS Word and add it to LaTeX document. It can
also be used to easily create drawings without Word.
Ulrike Fischer
2007-02-06 09:18:04 UTC
Permalink
Post by Hloke
I have been trying to solve this for quite awhile, and am baffled, as
I cannot work out why I get this error.
I use LEd, and I need to import a .eps file into the my document. I
created the eps file by making the thing I want on Microsoft Word,
then convert it to postscript via the Generic PostScript Print. I then
manipulate the ending of .ps to .eps;
eps are _not_ simply ps-files with another ending. Make sure that you
export encapsulated postscript.
Post by Hloke
I have the the command of \usepackage{graphicx} and then the command
\begin{figure}[h]
\centering
\includegraphics{idealgas.eps}
The ending is not needed. \includegraphics{idealgas} works too.
Post by Hloke
LaTeX WARNING: file 'idealgas.eps' not found on input line of 73
! LaTeX ERROR: file 'idealgas.eps' not found.
! LaTeX ERROR: Cannot determine the size of graphic in idealgas.eps
(no BoundingBox)
Not very surprising that LaTeX can't find the bounding box if it can't
find the file.

Did you updated the filename database? Is C:\LaTeX\ProTeXt\MiKTeX a
declared texmf-tree (a "root")?

You can also put the graphic simply in the same folder as your
tex-file.
--
Ulrike Fischer
e-mail: zusätzlich meinen Vornamen vor dem @ einfügen.
e-mail: add my first name between the news and the @.
Hloke
2007-02-06 12:57:09 UTC
Permalink
Thanks!
Putting it in the same folder as the tex-file worked!
However, I wish it to be placed at that point on the page, but when I
launch the dvi-file it does not display it there, I think it is at the
the very end of the document on a seperate page; but when I try to
load it up, the dvi-viewer jams. How do I put it at that point? I
thought [h] puts it in set location between the text?
Ulrike Fischer
2007-02-06 13:46:19 UTC
Permalink
Post by Hloke
Thanks!
Putting it in the same folder as the tex-file worked!
However, I wish it to be placed at that point on the page, but when I
launch the dvi-file it does not display it there, I think it is at the
the very end of the document on a seperate page; but when I try to
load it up, the dvi-viewer jams. How do I put it at that point? I
thought [h] puts it in set location between the text?
Don't use the figure environment or use one of the solutions described
in the faq:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats

And learn to better describe your problems: Make complete minimal
examples that demonstrates your problems, copy error messages, mention
your TeX- system and the versions etc. "dvi-viewer jams" is not enough.
--
Ulrike Fischer
e-mail: zusätzlich meinen Vornamen vor dem @ einfügen.
e-mail: add my first name between the news and the @.
Loading...