On Thu, Dec 02, 2004 at 06:50:32AM +0100, Herbert Voss wrote:
> see attchewd example (LyX 1.3.5)
>
> Herbert
>
Thanks Herbert, that is perfect!
I tried useing this approach, but it showed that I do not really
understand how it works. Why does [EMAIL PROTECTED] detect an argument on
'[', given that \section is called as \section{text}?
I am trying to detect the empty case for item to set a flag to use
later.
case 1
\begin{enumerate}
\item some text
\begin{MyEnv}
case 2
\begin{enumerate}
\item
\begin{MyEnv}
or equivalently
case 2
\begin{enumerate}
\item {}
\begin{MyEnv}
I tried
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@item}
}
but I cannot detect the two empty cases. If you are in the mood for
a little more programming I'd be much obliged (again)
Regards,
Michael