On Tue, Sep 17, 2024 at 02:18:25PM +0200, Pavel Sanda wrote: > > > > > In LyX 2.3, I could directly input a relative path in the dialog box > > > > > under the local database. > > > > > However, in LyX 2.4, I can only click "add local..." and then select > > > > > from the file browser, which results in an absolute path. Chenyu > > > > > Gao > > > > > > > > This is indeed annoying. When the file is local, you might solve this > > > > by creating a hard link to the file in the other directory. On Windows > > > > this can be done with the command mklink /H <target> <link>; e.g. > > > > mklink /H bg.bib "..\other folder\bg.bib" > > > > (https://learn.microsoft.com/en-us/windows-server/administration/windo > > > > ws-com mands/mklink). But I don't know whether MacOS is able to follow > > > > this link. > > > > > > I have problem to reproduce the problem in the first place. > > > I can can type e.g. "../file.bst" directly in the field. > > > You can not? > > > > > I thought the OP was referring to the dialog box for adding a bibliography > > (a .bib file). > > (menu: Add / List/Content/References). When choosing Add Local, a > > file-browser menu opens, > > and when entering a relative path (e.g. ..\folderA\newbib.bib), LyX accepts > > this but changes it to an > > absolute path (e.g. C:\Papers\folderA\newbib.bib). > > The OP also noted that this full-path entry cannot be edited and so cannot > > be changed back to a relative path. > > Ok, now I can follow, this indeed looks like regression. I created ticket > #13097 > for this.
FYI the issue was fixed by Juergen and will be released as part of future LyX 2.4.3. Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users