>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:

Martin> Hmmm. Shortcircuit between the ears. Could somebody explain,
Martin> or better, implement this?

Hmm, I am sure you are eager to learn how to do it, but you dare not
ask :)

The idea is to add a member optionalargument_ in lyxlayout.h and
handle it in layout files like, for example, "intitle" (which is a
bool too). This means mostly a few lines in LyxLayout::Read. Then, you
should use this bool, and not latexparam to determine whether you
allow shorttitles or not.

It is much less difficult than what you have already done :)

JMarc

Reply via email to