diff options
author | ru <ru@FreeBSD.org> | 2002-07-22 16:52:57 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-22 16:52:57 +0000 |
commit | f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646 (patch) | |
tree | 69fb6353246292f64a8c7babbd9a86da48cbb4dc /contrib/texinfo/makeinfo/node.c | |
parent | 5500b59c459afe212e4ee8d1c1847e051a9b7653 (diff) | |
download | FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.zip FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.tar.gz |
Import of stripped down GNU texinfo 4.2
Diffstat (limited to 'contrib/texinfo/makeinfo/node.c')
-rw-r--r-- | contrib/texinfo/makeinfo/node.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/texinfo/makeinfo/node.c b/contrib/texinfo/makeinfo/node.c index 3c7a27d..b5a90066 100644 --- a/contrib/texinfo/makeinfo/node.c +++ b/contrib/texinfo/makeinfo/node.c @@ -1,5 +1,5 @@ /* node.c -- nodes for Texinfo. - $Id: node.c,v 1.31 2002/02/23 19:12:15 karl Exp $ + $Id: node.c,v 1.34 2002/03/26 16:16:29 karl Exp $ Copyright (C) 1998, 99, 2000, 01, 02 Free Software Foundation, Inc. @@ -599,7 +599,7 @@ cm_node () no_indent = 1; if (xml) { - xml_begin_document (); + xml_begin_document (current_output_filename); xml_begin_node (); if (!docbook) { @@ -928,7 +928,7 @@ cm_node () tem = expansion (next, 0); add_word (",\n"); add_word (_("Next:")); - add_word ("<a rel=next href=\""); + add_word ("<a rel=next accesskey=n href=\""); add_anchor_name (tem, 1); add_word_args ("\">%s</a>", tem); free (tem); @@ -938,7 +938,7 @@ cm_node () tem = expansion (prev, 0); add_word (",\n"); add_word (_("Previous:")); - add_word ("<a rel=previous href=\""); + add_word ("<a rel=previous accesskey=p href=\""); add_anchor_name (tem, 1); add_word_args ("\">%s</a>", tem); free (tem); @@ -948,7 +948,7 @@ cm_node () tem = expansion (up, 0); add_word (",\n"); add_word (_("Up:")); - add_word ("<a rel=up href=\""); + add_word ("<a rel=up accesskey=u href=\""); add_anchor_name (tem, 1); add_word_args ("\">%s</a>", tem); free (tem); @@ -1149,7 +1149,8 @@ cm_anchor (arg) xml_insert_element (ANCHOR, END); } /* Save it in the tag table. */ - remember_node (anchor, NULL, NULL, NULL, output_position + output_column, + remember_node (anchor, NULL, NULL, NULL, + output_position + output_paragraph_offset, line_number, fname_for_anchor, TAG_FLAG_ANCHOR); } |