> Van: Pavel Sanda > Verzonden: maandag 16 september 2024 11:11 ... > On Thu, Sep 12, 2024 at 11:10:57AM +0200, Kees Zeelenberg wrote: > > > Additionally, I've noticed a change in setting the BibTeX database path. > > > 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.
Kees -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users