]> 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>
Tue, 25 Jun 2019 13:52:46 +0000 (15:52 +0200)
commit642b4acca1900c55662030ffc5162e9504881764
tree54502f3f9a41be44aa39a484007b17bab807a0ba
parent1a2b1a3bfad7ce48e2a025d3a3dab7103fd0039c
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