Angus Leeming <[EMAIL PROTECTED]> writes:

> 
> Michael Schmitt wrote:
> > 1. The fact that paths to documents are not allowed to contain spaces is
> > a big problem on the Windows platform. This restriction implies that all
> > Non-Administrators (i.e., users that cannot escape from their "Documents
> > and Settings" environment cannot use LyX  I wonder whether it is
> > enough to relax some check in the LyX code...
> 
> Can you be more explicit? What fails? If LyX is refusing to do something,
> can you track down the place in the code? (I've only got so much time,
> y'know...)

Something like this (found in Exporter::Export())

} else if (contains(buffer->filePath(), ' ')) {
        Alert::error(_("File name error"),
           _("The directory path to the document cannot contain spaces."));
        return false;

?

The new teTeX 3.0 has a way (or two) to handle spaces. Something like
    \include{"My Files"}

So probably we should drop all safety checks concerning this and just
include the quotes whenever LyX creates such a TeX command.

Ciao
/Andreas


PS. You'll get an updated SnippetConversion-patch this week :-)

Reply via email to