On Fri, Sep 27, 2013 at 01:42:06PM -0700, Anthony G. Bradford wrote: > Hi! > > I have placed texinfo HTML output in the root of a public_html webserver > directory > makeinfo --html 4.13 produced HTML header output of the following: > > Next: Chapter1, Up: (dir) > > selecting "(dir)" makes the browser try to resolve ../index.html#dir or > hostname:8080/index.html#dir > #dir is not a valid anchor for index.html but the webserver has a index.html > on that directory level and does not error out. > > texi2any --html 5.1 produced HTML header output of the following: > > Next: Team Members, Up: (dir) [Contents][Index] > > select "(dir)" makes the browser try to resolve ../dir/index.html or > hostname:8080/dir/index.html > > Which errors out. Wouldn't pointing to ../index.html#dir be better? > Most levels of a webserver directory system have a index.html and this would > be > less likely to error out even if the anchor is bad.
There is a customization variable for that url, it is TOP_NODE_UP_URL. As for changing it in the default case, I am not sure. The way it is right now follows the cross ref rules. If the manual is not split, the url is dir.html#Top. I see no specific reason to use ../index.html, it is likely to be incorrect in general. I agree that the current situation is not perfect, but I am not sure that using ../index.html would be better than following the specification for external manuals. -- Pat