On Thu, 29 Jun 2000, Asger K. Alstrup Nielsen wrote:
[Spaces in directories]
>
>
> I do not like the linking idea, since it's not portable.
>
I was wondering how that was going to work when someone compiled LyX to run on
a wind*ws machine with an x-emulator or the sort.
> However, a dialog that warned the user is in order. Potentially, it
> could even offer to do the renaming for the user.
Granted, this directory renaming would *not* be done behind the user's back, but
why don't we look at what LyX *does* do behind our back? For starters,
everytime I "View postscript", LyX barges into my directories and creates .tex
versions of all my input LyX files. Isn't the generation of LaTex files supposed
to be a user option (File->Export->as Latex)?
I have not looked into the code, but my guess is that LyX generates these files
to serve up to tetex, and thus produce the postscript. Because LyX generates
these files (behind my back) in a space riddled directory, tetex will fail. And
since it is going to generate .tex files *anyways*, why not use a temporary
directory and associated temporary file names? This way the user, who did not
ask for .tex files, who lives happy in the .lyx world, will not be burdened by
the .tex baggage. And spaces in directories or file names could be
possible, independent from os-platform.
>
> Greets,
>
> Asger