On 11-Jan-2000 Juergen Vigna wrote:
> 
> On 11-Jan-2000 Lars Gullik Bjønnes wrote:
>> 
>> ...ok I just found a bug in LyX...
>> If you write in a filename in the open filedialog and this file does
>> not exist, you get the response "Not a LyX file" and a file with no
>> contents with that name is created. I think this is what caused the
>> filecorruption I mentioned earlier to happen, will investigate.
>> 
> 
> I noticed that if you start lyx from the source directory ./src/lyx and
> then try to view a help file you also get the same message "Not a LyX file"!
> I'm very busy right now but I'll too try to have a look.
> 

Ok I just had a look and this is the results:

When opening a Help-File from the src-dir, which now in ./lib/doc/ does
not anymore contain the LyX-Help-Files it happens that it cannot find it.
Strangely when starting from the source-directory it ONLY searches the
Help-files in the same source-directory and does not get back to the
system-lyxdir(/usr/local/share/lyc), as in this case system-lyxdir IS
the source directory.

I now updated the source so that if 

   string fname = i18nLibFileSearch("doc", docname, "lyx");

returns an empty string in 'void Menus::MenuDocu(string const & docname)'
I now write an error messages that the right documentation-file could
not be found. IMO we should here ALWAYS get back in last instance to the
/usr/local/share/lyx/doc directory.

Greets Jürgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
Italienallee 13/N                     Tel:    +39-0471-450260
I-39100 Bozen                         Fax:    +39-0471-450296
ITALY                                 Web:    http://www.sad.it/~jug

A synonym is a word you use when you can't spell the word you first
thought of.
                -- Burt Bacharach

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to