From: simon Date: Sat, 6 Nov 2004 09:11:55 +0000 (+0000) Subject: man supports `.SS' for subsection headings. Use it. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/4118fc81d41680b91459e46f0e2aef47ecaadcef man supports `.SS' for subsection headings. Use it. git-svn-id: svn://svn.tartarus.org/sgt/halibut@4758 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/bk_man.c b/bk_man.c index 1dcce64..21e33f3 100644 --- a/bk_man.c +++ b/bk_man.c @@ -205,7 +205,10 @@ void man_backend(paragraph *sourceform, keywordlist *keywords, else depth = 0; if (depth >= conf.mindepth) { - fprintf(fp, ".SH \""); + if (depth > conf.mindepth) + fprintf(fp, ".SS \""); + else + fprintf(fp, ".SH \""); if (conf.headnumbers && p->kwtext) { man_text(fp, p->kwtext, FALSE, QUOTE_QUOTES, &conf); fprintf(fp, " ");