LyX 1.0.3 totally fails to import this simple file. I don't even get the
title and author! The file compiles fine with LaTeX.

If the \usepackage{graphicx} is enabled things are even worse (lost of
errors during "view dvi"). It also fails to recognize the [A short
caption] option.

Any ideas why?

-- 
Pedro I. Sanchez


\documentclass{article}
%\usepackage{graphicx}
\title{Test File}
\author{The Author}
\begin{document}
\maketitle
\begin{figure}
  \centering
  This should be \verb+\includegraphics{mygraphic}+
  \caption[A short caption.]{A loooong caption.}
\end{figure}
\end{document}

Reply via email to