"Bruce" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> (I sent this message last week, and though received no error message
> it didn't seem to make it to the list (or at least not to the
> archive). Apologies if it is a duplicate.)
> _______________
> 
> 
> I get this message when try to preview a file that (suprise) is in a
> directory that has spaces in its name.
> 
> Not that this is a huge deal, I'm just curious... why is this?
> 
> Though I must say that it is refreshing to get an error message that
> tells you _exactly_ what went wrong, which unfortunately so many
> programs don't do.
> 
> B.

In case you're a Windows user, a couple of tips that I *think* will work 
(seem to work for me):

1.  For paths to viewers, etc. (paths you enter into LyX as options), you 
can get around the no-spaces issue by escaping spaces with \.  So, for 
instance, if your DVI viewer is in C:\Program Files\WinDVI, for instance, 
you could enter that as /Program\ Files/WinDVI/windvi.exe.

2.  That doesn't work for files passed to LaTeX, etc.  I like to keep my 
LyX files in subdirectories under My Documents, so the trick is to put a 
symbolic link in my Cygwin home directory that contains no spaces (for 
instance, /home/rubin/mydocuments links to C:\ridiculously_long_path\My 
Documents).

Not sure how to handle this if you're using the native Win32 port of LyX, 
and of course all bets are off if you're a Mac user.

-- Paul

*************************************************************************
Paul A. Rubin                                  Phone:    (517) 432-3509
Department of Management                       Fax:      (517) 432-1111
The Eli Broad Graduate School of Management    E-mail:   [EMAIL PROTECTED]
Michigan State University                      http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*************************************************************************
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.                                    J. W. v. GOETHE

Reply via email to