From 7e0052eaf166f11c07c70b9e342f800f58522eb3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 6 May 2006 13:59:03 +0000 Subject: better para_Rule implementation for "man" backend, using TROFF's built-in line-drawing function. [originally from svn r6648] --- bk_man.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bk_man.c b/bk_man.c index 553b2dd..14fc295 100644 --- a/bk_man.c +++ b/bk_man.c @@ -289,11 +289,12 @@ void man_backend(paragraph *sourceform, keywordlist *keywords, case para_Rule: /* - * This isn't terribly good. Anyone who wants to do better - * should feel free! + * New paragraph containing a horizontal line 1/2em above the + * baseline whose length is the line length minus the current + * indent. */ cleanup_described_thing; - fprintf(fp, ".PP\n----------------------------------------\n"); + fprintf(fp, ".PP\n\\u\\l'\\n(.lu-\\n(.iu'\\d\n"); break; case para_LcontPush: -- cgit v1.1