+2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
+ inset. (bug 1963)
+
2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
* BufferView_pimpl.C (updateScrollbar): scrollbar fixes
+2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * insetinclude.C (string2params): fix typo in error message (bug 1963).
+
2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insettabular.C (getStatus): disable line and paragraph breaks
string id;
lex >> id;
if (!lex || id != "Include")
- return print_mailer_error("InsetBoxMailer", in, 2, "Include");
+ return print_mailer_error("InsetIncludeMailer", in, 2, "Include");
InsetInclude inset(params);
inset.read(lex);
#include "insets/insetexternal.h"
#include "insets/insetfloat.h"
#include "insets/insetgraphics.h"
+#include "insets/insetinclude.h"
#include "insets/insetnote.h"
#include "insets/insettabular.h"
#include "insets/insetvspace.h"
string data = trim(cmd.argument.substr(name.size()));
if (name == "bibitem" ||
name == "bibtex" ||
- name == "include" ||
name == "index" ||
name == "label" ||
name == "ref" ||
name == "url") {
InsetCommandParams p(name);
data = InsetCommandMailer::params2string(name, p);
+ } else if (name == "include") {
+ InsetCommandParams p(data);
+ data = InsetIncludeMailer::params2string(p);
} else if (name == "box") {
// \c data == "Boxed" || "Frameless" etc
InsetBoxParams p(data);