Bennett Helm wrote:
For LyX-1.5svn, attempting to insert a child document whose filename has spaces results in only the first word of the filename being used, and so the file is not found.

I just reported this as bug # 3135:

<http://bugzilla.lyx.org/show_bug.cgi?id=3135>

Bennett


Hello,

this one was similar to the one with external inset file names

Bernhard
Index: src/insets/insetinclude.C
===================================================================
--- src/insets/insetinclude.C   (revision 16854)
+++ src/insets/insetinclude.C   (working copy)
@@ -271,7 +271,7 @@
 void InsetInclude::read(LyXLex & lex)
 {
        if (lex.isOK()) {
-               lex.next();
+               lex.eatLine();
                string const command = lex.getString();
                params_.scanCommand(command);
        }

Reply via email to