Ok, this one wasn't obvious... The problem is the combination of the language setting to Turkish and the scaling of the image.
Your document uses babel for the language settings which is a good thing. However, babel turns some characters into active ones. An active character is for TeX the same as a macro. In case of Turkish the active characters are
:
,
!
and
=
.
The scaling of the image to 70% results in the LaTeX command:
Code: Select all
\includegraphics[scale=0.7]{image}
which you can see if you look at the source. And here's the problem: the
=
is active here but it shouldn't be. So what you need to do is turn it inactive temporarily. For turning an active babel character into its normal meaning babel has the
\shorthandoff{<char>}
command. If you place it directly before the image compilation goes fine
and the redefinition stays local since the image is included inside a LaTeX environment.
You do this by inserting the ERT
\shorthandoff{=}
:

- lyx1.png (10.13 KiB) Viewed 20169 times
Regards