mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix bug 1979
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10404 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1368806376
commit
2970d3734f
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1278,6 +1278,15 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
}
|
||||
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]
|
||||
|
Loading…
Reference in New Issue
Block a user