~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man supports `.SS' for subsection headings. Use it.
[sgt/halibut]
/
bk_man.c
diff --git
a/bk_man.c
b/bk_man.c
index
1dcce64
..
21e33f3
100644
(file)
--- 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) {
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, " ");
if (conf.headnumbers && p->kwtext) {
man_text(fp, p->kwtext, FALSE, QUOTE_QUOTES, &conf);
fprintf(fp, " ");