A long-standing problem (irritation?) that maybe noone has mentioned is that the index link on every page (that I have tried) takes you to section 9.114 Index (under construction) rather than to section D. GPC Index.
Clive
----------------------------------------------------------------------------- Atmospheric, Oceanic and Planetary Physics +44-1865-272905 (desk) Clarendon Laboratory +44-1865-272923 (fax) Parks Road Oxford OX1 3PU c.rodgers@physics.ox.ac.uk U.K. http://www.atm.ox.ac.uk/user/rodgers/
MIME, NeXTMail and SunMail attachments welcomed. HTML attachments tolerated Proprietary document formats (especially WORD) binned. Use rtf instead -----------------------------------------------------------------------------
Clive Rodgers wrote:
A long-standing problem (irritation?) that maybe noone has mentioned is that the index link on every page (that I have tried) takes you to section 9.114 Index (under construction) rather than to section D. GPC Index.
Argh. text2html assumes that the index node is called `Index' -- which is not true for GPC, since the node `Index' (will) document the Pascal function `Index', so the index is called `GPC Index'.
Well, since I've had a number of other problems with texi2html, I want to get rid of it, anyway. Last time I checked, makeinfo's HTML mode didn't support splitting the file, and one large HTML file of 1 or 2 MB doesn't seem such a good idea ;-). If it can do it now, we can switch (someone wants to check that?)...
For now, the following kludge. Make `GPC Index' hard-coded in texi2html (which is just as valid or invalid as any other hard-coded name) -- no, I won't make it a command-line option, my Perl is not nearly good enough for that, I don't intend to change that ;-).
Peter, can you please change that on agnes and rebuild the HTML pages? (Anyone who wants to build GPC's manual in HTML format at home can also apply that patch, but look out for problems when using texi2html for other projects...)
--- texi2html.161.orig Mon Apr 10 15:03:56 2000 +++ texi2html.161 Sat Mar 17 01:27:49 2001 @@ -3494,7 +3494,7 @@ $node2href{Top} = $T2H_HREF{Top}; $T2H_HREF{Contents} = $docu_toc.'#SEC_Contents' if @toc_lines; $T2H_HREF{Overview} = $docu_stoc.'#SEC_OVERVIEW' if @stoc_lines; -$T2H_HREF{Index} = $node2href{'Index'}; +$T2H_HREF{Index} = $node2href{'GPC Index'};
%T2H_NAME = (
Frank