On Fri, Dec 2, 2022 at 12:12 AM Rich Shepard <rshep...@appl-ecosys.com> wrote: > > On Fri, 2 Dec 2022, Udicoudco wrote: > > > Udi, > > Interesting result: > # texindy biota-to-set-wq-standards.idx > texindy: not a symlink as required for TeX Live at /usr/bin/texindy line 414. > > Here's that function, starting at line 409: > if ( $is_TL ) { # TeX Live > > if ( $is_w32 ) { > $xindy = "$cmd_dir/xindy.pl"; > } else { # LINE 414 follows immediately: > die "$cmd: not a symlink as required for TeX Live" unless -l $0; > # FIXME: What this good for? Ain't xindy not also > # "$cmd_dir/xindy.pl" in a Unix TL installation? Why does > # Peter use the directory of the last symlink, where it just > # finds the symlink again that is then expanded by xindy.pl? > $real_cmd = $0; > $cmd_dir = dirname($real_cmd); > # Follow symlinks, but remember last one > my $lcmd_dir; > while ( -l $real_cmd ) { > $lcmd_dir = $cmd_dir; > $real_cmd = readlink($real_cmd); > $real_cmd = "$lcmd_dir/$real_cmd" unless $real_cmd =~ > m,^[\\/],; # relative link > $cmd_dir = dirname($real_cmd); > } > $xindy = "$lcmd_dir/xindy"; > } > # FIXME: That's a very ugly kludge to achieve that the VERSION > # file is found in output_xindy_release(). The real solution is to > # copy the code from xindy.pl that determines $modules_dir and > # $lib_dir and use that code as well. > $cmd_dir = Cwd::realpath("$cmd_dir/../../xindy/modules"); > die "Cannot locate xindy modules directory" unless -f > "$cmd_dir/../VERSION"; > } else { > ... > > And I don't know perl. > > Rich
Rich, Which latex distribution did you install and which operating system are you working on? Regards, Udi > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users