Am Mittwoch, 26. April 2006 16:32 schrieb Dmitry Khvorostyanov:
> However, using File->Import->Latex command produces erroneous output,
> the figure subtitles are displayed in a very strange manner. This is the
> result of excessive "{ }" generated by tex2lyx in each \subfigure
> command. Here is what it generates after using File->Export->Latex:
>
> \begin{figure}
>
> \centering \mbox{\subfigure[Figure subtitle]
> { }
> {\epsfig{figure=myfigure.eps,width=0.50\textwidth}}
> \quad \subfigure[another figure]
> { }
> {\epsfig{figure=myfigure.eps,width=0.50\textwidth}}}
>
> \caption{General caption}
> \label{fig::label}
>
> \end{figure}
>
> Do you know how to tell it not to generate those additional "{ }"?
This is a tex2lyx bug. See http://bugzilla.lyx.org/show_bug.cgi?id=2546.
You can circumvent it by removing the space after the optional arguments
to the \subfigure command.
Georg