John Levon wrote:
>
> On Wed, Feb 13, 2002 at 01:34:42AM -0400, Garst R. Reese wrote:
>
> > This mechanism seems quite sensitive to user bungling. If I enter the
> > Short Caption after the Caption it gets ignored. If I enter the Caption
> > wrong it includes the graphic as part of the caption and gives me buffer
> > overflows. It looks like a parsing problem. Could cause new users big
> > problems.
>
> example ?
Here is a case (preamble snipped). The figure shows in LyX because I am
on the same partititon as my /tmp directory. The LOF shows "Test
caption" instead of just "Test". PSView fails because it cannot find the
.gif, which is in the very same directory.
--------------------------------------------
\layout Standard
Caption tests
\layout Standard
\begin_inset FloatList figure
\end_inset
\layout Standard
\begin_inset Float figure
placement htbp
wide false
collapsed false
\layout Caption
\begin_inset Graphics FormatVersion 1
filename opamp-follower.gif
display monochrome
size_type 0
rotateOrigin center
lyxsize_type 0
\end_inset
Test caption
\layout ShortCaption
Test
\end_inset
\the_end
---------------------------------------------------------------------------
Here is the same thing after I did everything in the right order. Don't
ask what that means, but it displays in PSView and the LOF in PSView
shows the Short Caption.
---------------------------------------------------------------------------
\layout Standard
Caption tests
\layout Standard
\begin_inset FloatList figure
\end_inset
\layout Standard
\begin_inset Float figure
placement htbp
wide false
collapsed false
\layout ShortCaption
Short Caption
\layout Caption
Long Caption Test
\layout Standard
\begin_inset Graphics FormatVersion 1
filename opamp-follower.gif
display monochrome
size_type 0
rotateOrigin center
lyxsize_type 0
\end_inset
\end_inset
\the_end
Thanks,
Garst