On Wed, Nov 14, 2001 at 03:28:25PM -0500, Wolfgang Engelmann wrote:
> If I use
> \caption[short caption]{long caption} with \,[]{} in red TEX mode
> instead of Figure: long caption (i.e. caption-environment)
> in book-style, I get the following problem:
> the 9 figures in Chapter 1 are in the LOF 1.1 to 1.9, ok
> the figures themself are correctly shown with 1.1 to 1.9, ok
> however the figures in the text are referring to 1.1, 1.1, 1.1 in the first
> section of this chapter (3 figures), to 1.2 and 1.2 in the second section of
> this chapter (2 figures),
> and in the subsection 1.3.1 to fig.1.3.1, in subsection 1.3.2 to fig. 1.3.2
Your porblem is that you should put the label _after_ the \caption command
(or inside it, namely \caption[text]{long text<label>}).
> The problem is, that almost all of my captions are too long and therefore I
> NEED the short captions for the List of figures (about 400 of them).
BTW, a simple way to use short captions is given in
http://www.lyx.org/help/floats/caption.html#short