Martin Vermeer wrote:
> Isn't that a LaTeX limitation? Implementing it as an inset in LyX
> wouldn't remove this limitation, if you insist on having it output
> \begin{commwent} \end{comment} pairs.
Certainly not. I can have something like
\begin{comment}
\section{First Section}
bla bla
\begin{table}
\begin{tabular}{|c|c|}
\hline
cell 1&
cell 2\tabularnewline
\hline
\end{tabular}
\caption{a tabular}
\end{table}
\begin{quote}
to be or not to be, that's the question
\end{quote}
an so on\ldots{}
\end{comment}
in LaTeX but not in LyX (without ERT that is).
> In Note OTOH you can place whatever you want inside the inset. With my
IMO you can put *anything* into the comment environment (have a look at the
verbatim docs for details). That's why comment should be implemented as
collapsable.
> (i.e. originally Angus' or you?) approach you can easily add new forms
> of annotation (endnote?) provided you know how they work in LaTeX. And
> you can easily change one form into another, e.g. if you decide to
> share a "blind" note with your readers in the form of a footnote.
Yes, and I really appreciate your approach. I only think that comment should
be handled with this approach too. I guess the comment environment has been
implemented long time before the inset idea came up, so the limitations have
historical reasons.
Regards,
Juergen,