On Thursday 27 January 2005 17:26, Angus Leeming wrote: > > Ahhhh. > > The scheme expects that the binary to be in the <top-build-dir>/src > directory, but tex2lyx is in the <top-build-dir>/src/tex2lyx directory. > See get_build_dirs: > > string const binary_dir = OnlyPath(binary); > string const build_support_dir = > NormalizePath(AddPath(binary_dir, "../lib")); > > if (!FileSearch(build_support_dir, "lyxrc.defaults").empty()) > > Hmmmm. Any ideas on how best to tackle this?
Add another argument for the relative depth, with 0 for lyx and 1 for tex2lyx? NormalizePath(AddPath(binary_dir, "../" * (depth + 1) + "lib")); I am not sure how serious this is. ;-) -- José Abílio