Follow-up Comment #7, bug #35395 (project texinfo): Salut Patrice and al.,
After some further thoughts my suggestion would be as follows: - provide a new command line option --link-prefix that allows the user to force some prefix for relative links - if the user does not explicitely give some output directory with --output or -o, then add prefix `../' automatically when the --html w/o --no-split options are used. - if the user sets some output directory name with --output=FILE --html, but w/o --no-split and w/o --link-prefix then do not prepend `../' if FILE has some path specified, but do prepend `../' if FILE hasn't any path (i.e. basename extraction does not change FILE) so: --html --output=./somedir won't prepend `../' but --html --output=somedir will prepend `../' - if the users sets some prefix with --link-prefix, simply use this prefix, which overrules all the rules above. If you agree with this proposition, then I can contribute the documentation update. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35395> _______________________________________________ Message posté via/par Savannah http://savannah.gnu.org/