diff -rub -x Makefile* texinfo-4.0+diff-20010321/makeinfo/defun.c texinfo-4.0-patched/makeinfo/defun.c --- texinfo-4.0+diff-20010321/makeinfo/defun.c Sun Jul 11 18:50:24 1999 +++ texinfo-4.0-patched/makeinfo/defun.c Mon Jun 11 14:43:36 2001 @@ -21,6 +21,7 @@ #include "defun.h" #include "insertion.h" #include "makeinfo.h" +#include "docbook.h" #define DEFUN_SELF_DELIMITING(c) \ @@ -430,11 +431,15 @@ current_indent -= default_indentation_increment; start_paragraph (); - if (html && !x_p) + if (!x_p) { /* Start the definition on new paragraph. */ + if (html) add_word ("
\n");
+ if (docbook)
+ docbook_begin_paragraph ();
+ }
- if (!html)
+ if (!html && !docbook)
switch (base_type)
{
case deffn:
@@ -505,6 +510,33 @@
}
} /* if (html)... */
+ if (docbook)
+ {
+ switch (base_type)
+ {
+ case deffn:
+ case defvr:
+ case deftp:
+ case defcv:
+ case defop:
+ add_word_args ("<" DB_FUNCTION ">%s" DB_FUNCTION ">",
+ defined_name);
+ break;
+ case deftypefn:
+ case deftypevr:
+ add_word_args ("%s <" DB_FUNCTION ">%s" DB_FUNCTION ">",
+ type_name, defined_name);
+ break;
+ case deftypemethod:
+ case deftypeop:
+ case deftypeivar:
+ add_word_args ("%s <" DB_FUNCTION ">%s" DB_FUNCTION ">",
+ type_name2, defined_name);
+ break;
+ }
+
+ } /* if (docbook)... */
+
current_indent += default_indentation_increment;
/* Now process the function arguments, if any. If these carry onto
diff -rub -x Makefile* texinfo-4.0+diff-20010321/makeinfo/docbook.c texinfo-4.0-patched/makeinfo/docbook.c
--- texinfo-4.0+diff-20010321/makeinfo/docbook.c Mon Jun 11 15:16:56 2001
+++ texinfo-4.0-patched/makeinfo/docbook.c Mon Jun 11 15:01:31 2001
@@ -177,8 +177,10 @@
else
return;
+ ++docbook_no_new_paragraph;
add_word_args ("\n\