diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2006-05-06 13:59:03 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2006-05-06 13:59:03 +0000 |
| commit | 7e0052eaf166f11c07c70b9e342f800f58522eb3 (patch) | |
| tree | acadf2bc7dbfab1ce7a4d457889304b9524c6180 | |
| parent | e87d577601d9ab59ed1b1850636d450aa6c7bbcd (diff) | |
| download | halibut-7e0052eaf166f11c07c70b9e342f800f58522eb3.zip halibut-7e0052eaf166f11c07c70b9e342f800f58522eb3.tar.gz halibut-7e0052eaf166f11c07c70b9e342f800f58522eb3.tar.bz2 halibut-7e0052eaf166f11c07c70b9e342f800f58522eb3.tar.xz | |
better para_Rule implementation for "man" backend, using TROFF's built-in
line-drawing function.
[originally from svn r6648]
| -rw-r--r-- | bk_man.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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: |