I'm afraid this is LaTeX problem, not directly LyX.. anyway, here it goes.
When I try to LaTeX my document, I get the following two problems:

! LaTeX Error: Command \c@lofdepth already defined.
               Or name \end... illegal, see p.192 of the manual.

! LaTeX Error: Command \c@lotdepth already defined.
               Or name \end... illegal, see p.192 of the manual.

If I just press enter to keep going on, the result seems to be fine.
However, it disallows me from using "view ps" from LyX menu.

The problem happens only when I use subfigures from Figure menu.
Also I need to use \usepackage{tocloft} in the preamble,
without that the error doesn't appear.
It did *not* happen when I used teTeX with RedHat 6.2, but only
after I upgraded to Debian Woody and its tetex version.
The same file should work with RH 6.2.

I attached an example file (you need also tmp.eps, but any eps
image should go)

I'm using lyx 1.1.6fix3 (no fix4 yet in woody, it appears)

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrartcl
\begin_preamble

\usepackage{tocloft}
\end_preamble
\options bibtotocnumbered,pointednumbers,notitlepage,normalheadings
\language english
\inputencoding auto
\fontscheme pslatex
\graphics default
\float_placement hbtp
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\paperorientation portrait
\leftmargin 4.5cm
\topmargin 1cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

A typica
\layout Standard

\begin_float fig 
\layout Standard
\align center 

\begin_inset Figure size 425 183
file tmp.eps
subcaption Decoder.
flags 9
subfigure

\end_inset 


\layout Caption

Typical video codec.
\end_float 
fdfddf
\the_end

Reply via email to