bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

navigation URLs


From: Han-Wen Nienhuys
Subject: navigation URLs
Date: Tue, 26 Aug 2003 16:20:23 +0200


The following patch will open a navigation bar in Mozilla for split-up
HTML texinfo.  I believe the <link> tags should really be in the
<head> section of the document, but mozilla processes them in the body
as well.

This is against plain 4.6. My papers are already at the FSF.

Greetings,

Han-Wen




2003-08-26  Han-Wen Nienhuys  <address@hidden>

        * makeinfo/node.c (cm_node): add <LINK > tags. This will produce a
        navigation bar in Mozilla 1.4 (and perhaps earlier.)




--- node.c~     2003-05-01 02:30:07.000000000 +0200
+++ node.c      2003-08-26 16:12:30.325370672 +0200
@@ -939,6 +939,12 @@
              add_word ("<a rel=\"next\" accesskey=\"n\" href=\"");
              add_anchor_name (tem, 1);
              add_word_args ("\">%s</a>", tem);
+
+             add_word ("<link rel=\"next\" accesskey=\"n\" href=\"");
+             add_anchor_name (tem, 1);
+             add_word_args ("\"></link>");
+             
+
               free (tem);
             }
           if (prev)
@@ -950,6 +956,11 @@
              add_word ("<a rel=\"previous\" accesskey=\"p\" href=\"");
              add_anchor_name (tem, 1);
              add_word_args ("\">%s</a>", tem);
+
+             add_word ("<link rel=\"previous\" accesskey=\"p\" href=\"");
+             add_anchor_name (tem, 1);
+             add_word_args ("\"></link>");
+
               free (tem);
             }
           if (up)
@@ -961,6 +972,11 @@
              add_word ("<a rel=\"up\" accesskey=\"u\" href=\"");
              add_anchor_name (tem, 1);
              add_word_args ("\">%s</a>", tem);
+
+             add_word ("<link rel=\"up\" accesskey=\"u\" href=\"");
+             add_anchor_name (tem, 1);
+             add_word_args ("\"></link>");
+             
               free (tem);
             }
           /* html fixxme: we want a `top' or `contents' link here.  */


-- 

Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]