On Mon, Jun 16, 2003 at 05:45:35PM +0100, Jose' Matos spake thusly:
 
> On Monday 16 June 2003 16:37, Angus Leeming wrote:
> >
> > I wonder...
> >
> > Many, many users have requested that we provide better support for
> > commentary. That is, that we provide the ability to "tune" the output
> > from InsetNote.

This is the equivalent functionality as the LaTeX 'comment' package:
not only commenting out text, but selectively including it based on
labels. Sounds completely sensible -- only "Note" is then not the
right name anymore. "Comment" isn't either. "ifdef"?

> > Could we not provide the inset dialog with a check box
> >         [] export to LaTeX
> > and provide the ability to "wrap" this output with a header and a
> > tail.
> 
>   I was thinking more about a different way to associate any inset with some  
> "class". Then we would have another dialog where we could say for the 
> different classes if they are outputed or not.
> 
> >
> > A Problems document, with and without solution sets, to the students
> > and to the examiners...
> 
>   Like in this case, there are insets that belong to the class "Solution" and 
> that can, or not, be outputed. It does not make sense to do that on an inset 
> per inset basis.
> 
>   As I understand it this is what Martin is proposing, to have those classes 
> that I stated.

Precisely. On an inset-class per inset-class basis is what I want.

Idea: provide a facility for setting the label of a Note inset. Then
set it to such a string as "French", "English", "Solutions", "Model T"
or whatever.

Then, in the Documents dialog, allow the entry of a single string,
e.g., "Danish, Norwegian". Whenever this string is modified, a callback is
executed that opens every Note inset whose label is a substring of
this string  [generalizable to some regex], and closes all the others.
And on LaTeX output, performs the same test to output the Note
content.
 
>   The other important question that Lars asked is if this paragraph level is 
> enough for branches. For all those cases that were proposed as examples I 
> would expect that paragraph level insets to be enough.

No, paragraph level is *not* enough. It should be
character/pseudo-character level. (If it were only paragraph level, it
would be a lot simpler...). In my understanding a Note inset can be
part of a paragraph (?)
 
> > The collapsable inset concept provides an immediate and intuitive
> > solution.
> 
>   True.

Meetoo!

> -- 
> José Abílio
 
Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to