aboutsummaryrefslogtreecommitdiff
path: root/contrib/texinfo/makeinfo/footnote.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-05-02 00:48:41 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-05-02 00:48:41 +0000
commit51c84d8830126e09677bd6354c6d4ce972e0d564 (patch)
treef8415845d58f365cb4e107a243356bf07108edd7 /contrib/texinfo/makeinfo/footnote.c
parentb1ac98d8b27a21983ff38293ee3bb7e961552a64 (diff)
parenta889f1983fae2bee97f5375bac561374da0469a0 (diff)
This commit was generated by cvs2svn to compensate for changes in r114472,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=114473
Diffstat (limited to 'contrib/texinfo/makeinfo/footnote.c')
-rw-r--r--contrib/texinfo/makeinfo/footnote.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/texinfo/makeinfo/footnote.c b/contrib/texinfo/makeinfo/footnote.c
index d9f2525c1761..5a110288ea97 100644
--- a/contrib/texinfo/makeinfo/footnote.c
+++ b/contrib/texinfo/makeinfo/footnote.c
@@ -1,7 +1,7 @@
/* footnote.c -- footnotes for Texinfo.
- $Id: footnote.c,v 1.13 2002/03/02 15:05:21 karl Exp $
+ $Id: footnote.c,v 1.4 2002/11/05 03:04:26 karl Exp $
- Copyright (C) 1998, 99, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -237,7 +237,7 @@ cm_footnote ()
`fn-<n>', though that's unlikely. */
if (html)
{
- add_html_elt ("<a rel=footnote href=");
+ add_html_elt ("<a rel=\"footnote\" href=");
add_word_args ("\"#fn-%d\"><sup>%s</sup></a>",
current_footnote_number, marker);
}
@@ -294,7 +294,7 @@ output_pending_notes ()
out there doesn't use numbers by default. Since we rely on the
browser to produce the footnote numbers, we need to make sure
they ARE indeed numbers. Pre-HTML4 browsers seem to not care. */
- add_word ("<hr><h4>");
+ add_word ("<div class=\"footnote\">\n<hr>\n<h4>");
add_word (_("Footnotes"));
add_word ("</h4>\n<ol type=\"1\">\n");
}
@@ -372,7 +372,7 @@ output_pending_notes ()
}
if (html)
- add_word ("</ol><hr>");
+ add_word ("</ol><hr></div>");
close_paragraph ();
free (array);
}