From 75008d04b8af8284e3eb16fd1cf5aaea12037309 Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 6 May 2006 13:59:03 +0000 Subject: [PATCH] better para_Rule implementation for "man" backend, using TROFF's built-in line-drawing function. git-svn-id: svn://svn.tartarus.org/sgt/halibut@6648 cda61777-01e9-0310-a592-d414129be87e --- 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: -- 2.11.0