[EMAIL PROTECTED] wrote:
Hi! I am working with Lyx 1.4 (for windows). After inserting a graphic
or a floating image, I can see it on the screen but when I try to see
the dvi I get the following error:
Undefined control sequence
\includegraphics
{0C__Archivos_de_programa_ImageMagick-6_3_2-Q16_images...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Please explain me what to do, taking into consideration I have no idea
about Latex and it´s the first time I use Lyx ;)...
Do you have the LaTeX package graphicx installed? Within LyX, open Help
-> LaTeX Configuration and check section 5.4. It will tell you if LyX
found graphicx or not. If you do not have it, you need to install it
(via the MikTeX package manager, if as I suspect you are using MikTeX),
then reconfigure LyX. (I'm not sure if you'll need to restart LyX after
that, but it might not be a bad idea.)
If you do have graphicx installed (and LyX sees it), try adding
\usepackage{graphicx} to the preamble of your document and see if that
helps.
By the way, where should I save my figures..should it be on the same
diretory where the .lyx document is or could be anywhere in my computer?
They do not have to be in the same directory as the source document. It
might not be a good idea to put them in
C:\A\directory\with\a\very\long\path\to\it, though. (In fact, it's
probably not a good idea to bury *anything* that deeply.) :-)
Keep in mind that, in the event that you want to send the LyX file (or
an exported LaTeX file) to someone, or move it to another system, you
will also need to move the images. I usually keep images with the
source document just because it reduces (but not to zero) the
probability I will forget one when I send the document somewhere.
If this does not help, perhaps you could post a sample document (and
image) that fails.
Good luck,
Paul