>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> On Mon, Mar 17, 2003 at 04:34:54PM +0100, Jean-Marc Lasgouttes John> wrote: OK. Note though, that it does "work" for label parts in John> e.g. List >> Huh? What do you mean? John> Create a list environment with "blah" in the label, then insert John> a displayed math inset in the middle of the word ... it will be John> forced to be non-display. Indeed. It does seem that something like \begin{itemize} \item[AAAA $$E=mc^2$$ BBB] This is the main par. \end{itemize} or other variations around the same idea fail. Why is that? I think this is a symptom of the argument of \item[] being in LR mode (ie when latex goes left-to-right without possible line breaks). It seems that displayed insets are not allowed in these modes. The same holds for \mbox (try \mbox{a\[E=mc^2\] BBB}) and probably for tabular cells that do not have a fixed width (did not try it). However, this does not make the said code a good solution. I think we should try to have some screen notation (like striking in red the inset) to display insets that are not properly used (the same holds when someone manages to add a footnote in a place where it should not be). The problem here is that we do not have a way to say that some piece of paragraph is actually in LR mode. Note that this is a different problem than the fact that one cannot insert a graphics inset in the label of a paragraph. The later is related to not escaping the ']' character of \includegraphics parameter. JMarc