From fe9b35c83c617cb15e441ad80051ba2c82d7e769 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 --- src/info2html/html.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/src/info2html/html.c b/src/info2html/html.c index 802a4b87..af06a5ff 100644 --- a/src/info2html/html.c +++ b/src/info2html/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, "