]> git.lyx.org Git - features.git/commit
Let TeXFiles.py handle symbolic links.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Jun 2019 13:46:14 +0000 (15:46 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:34 +0000 (15:48 +0200)
commit3039465875afe41882223bb53a41f54e80ba44fc
treefaaf4964958c2a47c8e006f9fb93ea33e8af28f7
parent0d1060417f60e067aacc3f5c72101f5fb9fa6df8
Let TeXFiles.py handle symbolic links.

Nix (https://nixos.org) is a Unix package manager, which can be used to
install LaTeX on macOS. A peculiarity of Nix is that all packages are
installed into separate directories and the actual directory tree is
then constructed via symlinks.

This interacts badly with the way LyX currently detects files in the
TeX setup, because TeXFiles.py does not follow symlinks. Therefore,
almost nothing is found when using LyX together with Nix’ LaTeX.

Patch from Michael Roitzsch.
lib/CREDITS
lib/generate_contributions.py
lib/scripts/TeXFiles.py