Discussion:
Lyx: LATEX error "Cannot determine size of graphic in ..."
J. Marton
2006-06-06 06:05:04 UTC
Permalink
"Package graphics Error: Division by 0.
Arithmetic overflow.
LATEX error "Cannot determine size of graphic in ..."

Dear Ladies and Gentlemen,

1.) I get the same this message, when trying to export pdf (pdflatex) . Please, maybe You can help me?

2.) I have the pictures for my LYX doc. in a file on USBstick. How can I make, that whenever I save the Lyxfile as LYX or export the lyxfile as TEX, the pictures in the Lyxfile are also saved and exported. So that when emailing it, others can view the files without the file containing the pictures. This means, without possessing the USBstick with the pictures.

Thank You and kind regards,

DI Marton


---------------------------------
Yahoo! Messenger - kostenlos* mit Familie und Freunden von PC zu PC telefonieren .

---------------------------------
Yahoo! Mail schützt Sie vor lästigen und gefährlichen Viren.
Holger Blasum
2006-06-07 10:27:09 UTC
Permalink
Dear J Marton,
Post by J. Marton
"Package graphics Error: Division by 0.
Arithmetic overflow.
LATEX error "Cannot determine size of graphic in ..."
1.) I get the same this message, when trying to export pdf (pdflatex) . Please, maybe You can help me?
Maybe the graphic you include is broken in a way that the image
converting software invoked by latex assumes
the image is of length or width 0? Does this error also occur with, for
example, the graphic you can download at
Loading Image... ?
Post by J. Marton
2.) I have the pictures for my LYX doc. in a file on USBstick. How can I make, that whenever I save the Lyxfile as LYX or export the lyxfile as TEX, the pictures in the Lyxfile are also saved and exported. So that when emailing it, others can view the files without the file containing the pictures. This means, without possessing the USBstick with the pictures.
As far as I know (the other users on the list might want to correct me if
this is wrong), you cannot encapsulate graphics right into lyx or even
tex files. Two alternatives: (1) when you email it, send it eg as PDF
(File->Export->PDF, any of the options), (2) if you want others to
change it, create a folder (e.g.) C:\MyLyxDocument\ and another folder
C:\MyLyxDocument\Images\. Put your lyx file (say MyDocument.lyx) into
C:\MyLyxDocument\, put the image(s) (say MyImage.gif)
in the folder C:\MyLyxDocument\Images\ and when you are inserting an
image (via Insert->Graphics) specify a relative path "Images\MyImage.gif"
in the "File" line of the Graphics Insertion Menu. If you use relative
paths like that, you simply later can create zip of
the entire C:\MyLyxDocument folder and its subfolders and send it
around.

Regards,
--
Holger Blasum +49-174-7313590 (gsm) GnuPG 1024D/ACDFC3B769DC1ED66B47
Loading...