From 04dd3e2c77a289b2e12ad00c7ea0713d5b968d3c Mon Sep 17 00:00:00 2001 From: rhlabs Date: Fri, 13 Mar 1998 21:43:38 +0000 Subject: Decided to tempt fate and use tables in the info->html conversion. Looks much better, seems to be working. The html widget is a bit fragile, so if it blows chunks let me know. Dr Mike --- components/help/converters/gnome-info2html2/html.c | 44 +++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/components/help/converters/gnome-info2html2/html.c b/components/help/converters/gnome-info2html2/html.c index 802a4b874..af06a5ff2 100644 --- a/components/help/converters/gnome-info2html2/html.c +++ b/components/help/converters/gnome-info2html2/html.c @@ -18,6 +18,8 @@ #define USE_FILE_URLS +int inTable=0; + char *BaseFilename=NULL; char *OverrideBaseFilename=NULL; @@ -161,11 +163,26 @@ void start_html_content( FILE *f ) /* we want to put links to next, prev, and up nodes */ void make_nav_links( FILE *f, NODE *node ) { +#if 0 fprintf(f,"
\n");
   write_node_link_html( f, node->filename, "Next:", node->next );
   write_node_link_html( f, node->filename, "Prev:", node->prev );
   write_node_link_html( f, node->filename, "Up:", node->up );
   fprintf(f,"
\n"); +#else + fprintf(f,""); + fprintf(f,""); + fprintf(f,""); + fprintf(f,""); + fprintf(f,"
"); + write_node_link_html( f, node->filename, "Next:", node->next ); + fprintf(f,""); + write_node_link_html( f, node->filename, "Prev:", node->prev ); + fprintf(f,""); + write_node_link_html( f, node->filename, "Up:", node->up ); + fprintf(f,"
"); +#endif + } /* s is error message */ @@ -727,13 +744,27 @@ void open_menu_html( FILE *f, char *p ) if (*p != '\000') fprintf(f, "

%s

\n",p); /* fprintf(f, "