+2005-03-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * text.C (output_command_layout): Use parse_text instead of
+ parse_text_in_inset to avoid creating a new context
+ * text.C (parse_text): translate \thanks to footnote in title layouts
+
2005-02-25 Angus Leeming <leeming@lyx.org>
* context.h: declare as "class Font" rather than "struct Font".
eat_whitespace(p, os, context, false);
}
}
- parse_text_snippet(p, os, FLAG_ITEM, outer, context);
+ parse_text(p, os, FLAG_ITEM, outer, context);
context.check_end_layout(os);
if (parent_context.deeper_paragraph) {
// We must suppress the "end deeper" because we
end_inset(os);
}
- else if (t.cs() == "footnote") {
+ else if (t.cs() == "footnote" ||
+ (t.cs() == "thanks" && context.layout->intitle)) {
p.skip_spaces();
context.check_layout(os);
begin_inset(os, "Foot\n");