> In LyX 2.4, the software only supports relative paths within the current
folder. For
> files located in parent directories, it now uses absolute paths instead.
This is a
> change from LyX 2.3, which was able to use relative paths more
extensively.

When adding a subdocument, you may still give a relative path by typing its
location
explicitly in the box at the top of the Subdocument window appearing after
clicking
Insert / List .. / Subdocument. You can also edit the location after the
subdocument has
been included in the usual way by browsing.

> 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/windows-com
mands/mklink). But I don't know
whether MacOS is able to follow this link. 

Kees


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to