Context::Context(bool need_layout_,
TeX2LyXDocClass const & textclass_,
Layout const * layout_, Layout const * parent_layout_,
Context::Context(bool need_layout_,
TeX2LyXDocClass const & textclass_,
Layout const * layout_, Layout const * parent_layout_,
: need_layout(need_layout_),
need_end_layout(false), need_end_deeper(false),
: need_layout(need_layout_),
need_end_layout(false), need_end_deeper(false),
- has_item(false), deeper_paragraph(false),
- new_layout_allowed(true), textclass(textclass_),
+ has_item(false), in_list_preamble(false), deeper_paragraph(false),
+ new_layout_allowed(true), merging_hyphens_allowed(true),
+ textclass(textclass_),
// FIXME: This is not enough for things like
// \\Huge par1 \\par par2
// FIXME: If the document language is not english this outputs a
// FIXME: This is not enough for things like
// \\Huge par1 \\par par2
// FIXME: If the document language is not english this outputs a
- // superflous language change. Fortunately this is only file format
- // bloat an does not change the TeX export of LyX.
+ // superfluous language change. Fortunately this is only file format
+ // bloat and does not change the TeX export of LyX.
- // a standard paragraph in an
- // enumeration. We have to recognize
- // that this may require a begin_deeper.
+ // A standard paragraph in a list.
+ // We have to recognize that this
+ // may require a begin_deeper.
if (!extra_stuff.empty())
os << "extrastuff=[" << extra_stuff << "] ";
if (!par_extra_stuff.empty())
os << "parextrastuff=[" << par_extra_stuff << "] ";
if (!extra_stuff.empty())
os << "extrastuff=[" << extra_stuff << "] ";
if (!par_extra_stuff.empty())
os << "parextrastuff=[" << par_extra_stuff << "] ";
os << "textclass=" << textclass.name()
<< " layout=" << to_utf8(layout->name())
<< " parent_layout=" << to_utf8(parent_layout->name()) << "] font=["
os << "textclass=" << textclass.name()
<< " layout=" << to_utf8(layout->name())
<< " parent_layout=" << to_utf8(parent_layout->name()) << "] font=["