>>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes:
>>> Jean-Marc Lasgouttes writes:
Lars> [...]
JL> Personally, I find that your second proposal is better suited to a
JL> tree structure. However, this means that we should have a notion
JL> of 'section depth' of text. We may have to support it in any case,
JL> since several LaTeX constructs (slides...) need that. The
JL> question is: how could we define the UI for creating and
JL> displaying such hierarchies?
Lars> Ok, I was only speaking of the first level. Nesting could be
Lars> done like this:
Lars> \begin_sectioning <params> \end_sectioning \begin_paragraph
Lars> <params> <some contents> \begin_inset <contents> \end_inset
Lars> \begin_sectioning <contents> \end_sectioning \begin_paragraph
Lars> <contents> \end_paragraph \end_paragraph
Lars> This is also a very close mapping to how I see the internal
Lars> structure.
You mean that a paragraph could contain another paragraph at another
depth *inside* it? I do not see what is the sense of something like
\begin_paragraph
some text
\begin_paragraph
inner paragraph
\end_paragraph
more text
\end_paragraph
which seems to be allowed by your structure. To me, a paragraph can
contain insets, but not plain paragraphs.
JMarc