On Fri, 22 Sep 2000, Angus Leeming wrote:
> Thanks for all this input.
Here's some from me since I missed most of the discussion.
> I'm going to try and summarise it all and so define what the new InsetNote
> should do.
>
> 1. It should be a collapsable inset.
1a. It should be possible to "Melt" any given comment environment. It
should also be possible to turn a selection into a comment such that the
selection is effectively just cut and pasted for the user into a Comment.
This is so we can comment out a chunk of a document but keep all the
formatting info. "Melt" can be JACO (Just Another CSM Option).
It makes sense to melt a commented out section of a document but doesn't
make sense to melt your proofreading notes. In addition we should be able
to navigate from one Note to the next similar to jumping to the next
ErrorBox. Notes are different to Comments and should remain so IMO.
> 2. It should output nothing to Ascii, Linuxdoc or DocBook. Don't argue here.
> We can always change later!!!!!!!!!
>
> 3. People have suggested a single inset with three different possible outputs
> to LaTeX
> a. No output
> b. %LyXNote% This is a comment
> c. Use the LaTeX comment environment:
> \usepackage{verbatim.sty}
> \begin{comment}
> This is a comment
> \end{comment}
>
> If appears to me that (b) and (c) are functionally identical. Jean-Marc
> suggests that the LaTeX machinery of (c) is relatively large. I know nothing!
I'm still inclinded to have two separate insets. InsetNote and
InsetComment. Remember that we have a Comment environment already (a very
limited one admittedly) and if you do merge all three behaviours (bad idea
IMO) you will also need to handle old documents with Comments in them.
We should instead translate old Comment environments into an InsetComment.
> 4. Output to LyX
> \begin_inset Note some text
> \end_inset
>
> Presumably this could be almost identical to the current output.
> Something additional about LaTeX output.
>
> 5. We need some method of toggling between the three LaTeX output states. As
> the left mouse button opens the inset, this leaves the right mouse button.
> Jürgen seems very against using this to toggle between states, so RMB will
> launch a (very small) dialog containing only a "choice of output" menu. No
> "Ok" or "Cancel" buttons are needed, I think. (Now I think of it, haven't I
> just defined a context-sensitive menu form?)
>
> Angus
Allan. (ARRae)