[EMAIL PROTECTED] wrote:
>>The trick is to get 2 minutes of Juergen's time,
#:O) if I would know how to integrate this easiest I would have
spoken earlier. But ok you are waiting for some sapient words, so
here I am #:OP
> Ah... tabular!
I just deleted a "Nope" and a hole mail as at the end it was just
stupid. And now I change the "Nope" into a "maybe"
IMO that we cannot just make a ShortTitleInset and think we can
solve all problems with this. The ShortTitle (or whatever you will
call it) is _really_ connected to the layout of the paragraph and
can not be seen as something disconnected. So now we have 2 options:
1. Realize an inset which when inserted into a paragraph will _always_
insert itself *not* at the cursor position but a a very particular
spot of this paragraph (pos 0 for the ShortTitleInset) AND we have
to tell in the Layout Information of the layout-type of this
paragraph if it is really allowed to insert the inset into this
paragarph, which can be requested in the Paragraph::insertInset()
function.
or
2. Realize an inset somehow as the InsetTabular with 2 cells in one
we can insert the shorttitle and in the other we can insert the
normal text. One cell can be collapsable. This has to be coded
new.
IMO 1. is better than 2 and I only told you about 2 to have also
Lars idea of a Sectioning inset ;)
Also I think that #1 should be not too hard to realize and would just
use your InsetShortTitle with some small modifications. The paragraph
has obviously to be aware that it contains a shorttitle and so output
the stuff in the right order: <command><shorttitle><text>, but this
also should be quite easy to implement.
Let's start the discussion.
Jug
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. J�rgen Vigna E-Mail: [EMAIL PROTECTED]
Mitterstrich 151/A Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39050 Steinegg Web: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._