I write in Hebrew, so I use \usepackage[hebrew]{babel}
When I try to add hraphic with \includegraphics{lec2-1.jpg}, the graphic goes right and out of page:

the full code:
\documentclass[10pt,a4paper]{article}
\usepackage[hebrew]{babel}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics{lec2-1.jpg}
\end{center}
\end{figure}
\end{document}
Thank you!
lualatex? The oldpdflatexHebrew toolchain has many problems butbabelandlualatexis now working really well for RTL text and it is well maintained. – David Purton Sep 10 '19 at 23:56lualatexI got:! Right-to-Left Support Error: use TeX--XeT or e-TeX engine., what I need to do? I'm using TexMaker. Thank you! – puhs Sep 11 '19 at 09:40lualatex. Your example above won't work. – David Purton Sep 11 '19 at 09:42\L{\incfludinggraphic{..}}Thank you! – puhs Sep 11 '19 at 09:56