Am 28.02.2012 22:11, schrieb Georg Baum:
Your test code in test-structure.tex fails already. LyX complains like this:
Paragraph ended in line 1032
Missing \end_layout.
Strange that I don't get this. All my examples are exported as expected. Looking in the LyX-code I
can also don't see a problem, but I'll have a closer look the next days.
The reason for this is probably that you did not follow Jean-Marcs advice to
use the context machinery.
I tried this but failed. It doesn't seem to work in this case but I'm not an
expert in this.
If you want a more fancy test, try this:
\begin{verbatim}
\begin{foo}
\end{verbatim}
This will convert everything what follows to verbatim. If you look how
verbatimEnvironment() is implemented, you can also see why this is the case.
OK. I wasn't aware of these cases.
skip_braces() is wrong.
Why? We are now behind \end{verbatim} so if there are braces we can eat
then, no?
No. They must be eaten iff LyX writes them.
Fixed now.
thanks and regards
Uwe