LyXDifficulties with inserting figures and figures' list

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Difficulties with inserting figures and figures' list

Post by clemens »

Hello,

I am a beginner with Lyx and Latex. It's a bit of a silly thing, but I am having problems with inserting images, adding captions to them and then have the automatic list of figures.
I tried with the insert->graphic option but then I am not able to put the caption (I get Senseless !!!) nor the figure number appears on the list of figures.
EDIT: NOW THIS WORKS :oops:
I tried with the insert->float->figure and then I am able to put the caption but still nothing shows up on the list of figures.

BUT STILL, WHY THIS DOESN'T?
I tried also with

Code: Select all

\usepackage{graphicx}
in the preamble
and then direct code

Code: Select all

\begin{figure}
\centering
\includegraphics[scale=0.7]{filename.jpg}
\caption{}
\label{fig}
\end{figure}
but Lyx cannot find the image
What should I do?
Cheers

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Re: Difficulties with inserting figures and figures' list

Post by Stefan Kottwitz »

Hi Clemens,

use pdfLaTeX, that means compile with LyX directly to pdf, if you want to include jpg images.

Stefan
LaTeX.org admin
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Difficulties with inserting figures and figures' list

Post by clemens »

Thank you for your suggestion.
All the best
Post Reply