Jean-Marc Lasgouttes writes:
[...]
 > I thought about defining a notion of groups like
 > 
 > Group TitleGroup
 >   CodeBegin  ""
 >   CodeEnd    "\maketitle"
 >   OnlyOnce   1
 > End
 > 
 > and then
 > 
 > Style Title
 > ...
 >   InGroup    TitleGroup
 > ...
 > End
 > 
 > This would be a (relatively) trivial extension of the current support
 > for title page. It would even be possible to give a visual clue that
 > the paragraphs are in some group.

  This approach could solve some of the problems, and even your
problem with groups inside groups isn't a problem (this sounds like
insets inside insets :-). The problem with this approach is that there 
are several layouts that could be part of several groups.

  Even with the present latex implementation you could run into problems,
related with maketitle stuff.
  If you insert between your title layouts a latex layout with a
single % (latex comment) the maketitle scheme breaks completly as it
isn't supposed to have other layouts in the title.

  For latex this example is a little bit artificial, for docbook there 
are several items that could go in the article header, and as we do
not support them all. The reason is the same, they are empty layouts
that have nested other layouts.
  If someone introduced a sgml layout to introduce them that would
break the hack.

 > And then, I saw that you have groups inside of groups :(

  I still think that this is a matter of visual display, the plain
view of the documents has some limitations, and this is one of them.

  During the discussion of the document structure, some time ago, was
clear that all the different proposal could deal with this case.

  That's the visual clue about structures like the one above that
needs some thought. I must admit that I don't have any hint how to do
it.

 > JMarc

  José

Reply via email to