+2005-08-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * text.C (parse_text): Output \item in list environments that are
+ unknown to LyX (bug 1979)
+
2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text.C (parse_text): add forgotten \` accent.
}
context.set_item();
context.check_layout(os);
+ if (context.has_item) {
+ // An item in an unknown list-like environment
+ // FIXME: Do this in check_layout()!
+ context.has_item = false;
+ if (optarg)
+ handle_ert(os, "\\item", context);
+ else
+ handle_ert(os, "\\item ", context);
+ }
if (optarg) {
if (context.layout->labeltype != LABEL_MANUAL) {
// lyx does not support \item[\mybullet]