>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> On Fri, Feb 15, 2002 at 11:15:30AM +0200, Martin Vermeer wrote:
>> What mechanism? Is there any? I haven't found it. (That is the most

Dekel> I once published how to do this in lyx-users, but my approach
Dekel> was more ugly.


>> - LatexName caption + LatexName lyxcaption

Dekel> You don't need to do this. Use the regular caption.

>> + + Preamble + \newcommand{\shortcaption}[1]{% +
>> \renewcommand{\lyxcaption}[1]{\caption[#1]{##1}}% + }% +
>> EndPreamble End +

Dekel> Change to \newcommand{\shortcaption}[1]{%
Dekel> \let\lyxcaption=\caption%
Dekel> \renewcommand{\caption}[1]{\lyxcaption[#1]{##1}}% }

Except that the short caption will be used for all subsequent captions
without short caption. So the code has to be slightly more
complicated.

Anyway, I'd rather not include this in LyX, since we would have to
support it forever...

JMarc

Reply via email to