--- yelp-2.20.0/src/yelp-man.c 2007-09-17 16:49:09.000000000 -0400 +++ hacked/src/yelp-man.c 2007-11-16 22:21:32.000000000 -0500 @@ -463,6 +463,16 @@ yelp_document_error_pending (document, error); } +#if 0 + { + xmlChar *text; + int len; + xmlDocDumpFormatMemory (priv->xmldoc, &text, &len, 1); + g_print (text); + xmlFree (text); + } +#endif + g_mutex_lock (priv->mutex); if (priv->state == MAN_STATE_STOP) { g_mutex_unlock (priv->mutex); --- yelp-2.20.0/src/yelp-man-parser.c 2007-09-17 16:49:09.000000000 -0400 +++ hacked/src/yelp-man-parser.c 2007-11-16 20:00:34.000000000 -0500 @@ -501,7 +501,12 @@ static void macro_hanging_paragraph_handler (YelpManParser *parser, gchar *macro, GSList *args) { - parser_stack_pop_node (parser, "IP"); + xmlNodePtr tmpNode; + + tmpNode = parser_stack_pop_node (parser, "HP"); + + if (tmpNode != NULL) + parser->ins = tmpNode->parent; parser->ins = parser_append_node (parser, macro); @@ -510,6 +515,8 @@ parser_append_given_text (parser, args->data); parser->ins = parser->ins->parent; } + + parser_stack_push_node (parser, parser->ins); } /* BSD mandoc macros --- yelp-2.20.0/stylesheets/man2html.xsl 2007-09-17 16:49:10.000000000 -0400 +++ hacked/stylesheets/man2html.xsl 2007-11-16 22:19:34.000000000 -0500 @@ -85,6 +85,8 @@ span[class~="Section"] { margin-left: 0.4em; } dd { padding-bottom: 10px; } + + p[class~="HP"] { text-indent: -2em; margin-left: 2em; } @@ -204,6 +206,10 @@

+ +

+
+