# How to convert source code from LaTeX to LyX?

I have difficulties to make a document in LyX. I have create my document in TexMaker (LaTeX) and I want to put this codes in LyX editor and see the result as a PDF or DVI. but it seem some errors while the compilation in LyX. The package is already complete. No missing package. Any suggestions?

-
Which errors are you getting? –  Martin Scharrer Apr 26 '11 at 9:39
There are a lot of snafus in converting Latex to Lyx: seeing the whole document would be helpful. –  Charles Stewart Apr 26 '11 at 10:11
but when I try to compile at TeXMaker there is an error "! LaTeX Error: Cannot determine size of graphic in pics/logo.png (no BoundingBo x). but the result .PDF appear and I see my result is beautiful PDF document (hehe :p) when I try to compile it in Lyx the .PDF documen doesn't appear and I got the erros thanks for your help sir with please ^-^, this is for my graduation –  Verly Apr 29 '11 at 16:57