On Tue, 10 Jan 2006 15:16:13 +0200 Micha Feigin <[EMAIL PROTECTED]> wrote:
> On Mon, 9 Jan 2006 22:37:50 -0800 > "Stephen Harris" <[EMAIL PROTECTED]> wrote: > > > > > ----- Original Message ----- > > From: "Bo Peng" <[EMAIL PROTECTED]> > > To: "Stephen Harris" <[EMAIL PROTECTED]> > > Cc: <lyx-users@lists.lyx.org> > > Sent: Monday, January 09, 2006 7:49 PM > > Subject: Re: sixth release of LyXWinInstaller > > > > > > My opinion is that if a file is allowed to 'browse in', it should > > work. Otherwise, it is a bug. A normal user would not care if it is > > latex' or lyx' or window', it is simply a bug. A lazy fix would give > > out a warning when a bst file with space is browsed in (since lyx know > > it will not work), and a better fix is handling .bst file the same way > > as the figures. > > > > If I understand this correctly, you have a bib file that you included from the > bibtex browse option and it is sitting in a path with spaces, right? or did > you > put it in the bibtex directory under texmf and you want it to be found > automatically? > > Assuming the first one, I tried under linux to move an existing document to a > directory with spaces and then created another directory with spaces under it > and put the bib file in that. I then browsed to it and included it and it > works > fine (under linux, didn't try windows yet). > > If that is the case (and I will try windows later) then it most certainly is a > bug. If you put it into the bib directory under the texmf directory which > contains spaces in its path then it is a problem with the miktex installation > and not lyx. > > Again, if it is in the texmf tree which is installed in a directory with > spaces > its the problem of whomever installed it and didn't follow the instructions. > If > the bib file is in a local user directory (with spaces) and included by the > user > browsing to it then it is very much a lyx bug. > I checked this on windows and I don't get any problem with a bib file that is in a path with spaces (implicitly where the lyx file is in a file with spaces or explicitly where it is also in a subdirectory with spaces). > > Bo > > > > The browse function works as designed if you browse to > > a directory that adheres to the Miktex installation policy. > > > > It is not a bug if you circumvent a function that works > > correctly with the default bst directory install location. > > Anybody who changes parameters of a default installation > > is always responsible for problems arising from that change. > > > > In order to qualify as a bug, you need to claim that LyX should > > anticipate that a user will avoid installing bst files to the default > > folder, the only type (without spaces) of folder that works, but > > instead the user installs to a folder that won't work. Additionally, > > the LyX documentation should check for this and create a > > report for the user about what is essentially a Miktex gotcha. > > IMO, that is way too much to expect from online Lyx > > documentation, it falls short of being a bug. > > > > OTOH, I don't think you made a dumb mistake. I do doubt that > > it is a problem that a normal user will experience. Why is your > > report just now bringing up this issue, why hasn't there been > > a report about this from a normal user? Probably because the > > normal user doesn't encounter or expose this browse function. > > They probably use the ordinary procedures. > > > > That addresses the priority and depth of a solution. Angus says > > fixing this is fragile, difficult so time-consuming. It would fix a > > rarely experienced problem which has a great alternate solution. > > Using a directory without spaces is a very standard workaround. > > Windows uses double quotes (" ") to surround a path with spaces, > > and I think that should have a higher priority than: rewriting the LyX > > online doc plus a method to check the current directory for spaces > > and issue a warning to the user. > > > > I think writing an entry under WinLyX Tips which makes people > > aware of a potential problem is sufficient for a rarely encountered > > sticking point. Unless you think this is a more common error for > > normal users and nobody has bothered to report it in the past. I > > think it will be years before LyX developers have nothing better to > > do than to fix a Miktex/TeX limitation which is either not considered > > a bug, is a WONTFIX, or maybe can't be fixed. > > > > http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html > > > > 3.1 MiKTeX > > "The approved way to use TeX4ht is via a series of batch files. Therefore, > > it is important that you install MiKTeX to a folder whose name (and path) > > does not include a space. The default location, c:\texmf, is perfect. If > > you > > really don't want MiKTeX in c:\texmf, you should place it in some > > subdirectory whose name does not include spaces, like c:\ProgramFiles > > (note: > > no space here) or c:\DosPrograms. You could also place GhostScript and > > ImageMagick in that folder." > > > > Regards, > > Stephen > > > > > > > > +++++++++++++++++++++++++++++++++++++++++++ > > This Mail Was Scanned By Mail-seCure System > > at the Tel-Aviv University CC. > > > > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > +++++++++++++++++++++++++++++++++++++++++++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC.