From c8851c4bc15085865d2e6cb7f1434c3ad94b196e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 20 Aug 2009 13:51:55 +0000 Subject: Fixed (not documented anywhere of course) that `SH' and `SS' in libman have next-line head scope. --- man.7 | 6 +++--- man_macro.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/man.7 b/man.7 index f95b3a13..bec44daf 100644 --- a/man.7 +++ b/man.7 @@ -1,4 +1,4 @@ -.\" $Id: man.7,v 1.33 2009/08/20 13:32:09 kristaps Exp $ +.\" $Id: man.7,v 1.34 2009/08/20 13:51:55 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -301,8 +301,8 @@ end of file. .It PP Ta 0 Ta current Ta paragraph .It RE Ta 0 Ta current Ta none .It RS Ta 1 Ta current Ta part -.It SH Ta >0 Ta current Ta section -.It SS Ta >0 Ta current Ta sub-section +.It SH Ta >0 Ta next-line Ta section +.It SS Ta >0 Ta next-line Ta sub-section .It TP Ta n Ta next-line Ta paragraph .El . diff --git a/man_macro.c b/man_macro.c index 7a5518b0..bc39053f 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.23 2009/08/20 11:51:07 kristaps Exp $ */ +/* $Id: man_macro.c,v 1.24 2009/08/20 13:51:55 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -38,8 +38,8 @@ static int rew_block(int, enum man_type, const struct man_macro __man_macros[MAN_MAX] = { { in_line_eoln, 0 }, /* br */ { in_line_eoln, 0 }, /* TH */ - { blk_imp, 0 }, /* SH */ - { blk_imp, 0 }, /* SS */ + { blk_imp, MAN_SCOPED }, /* SH */ + { blk_imp, MAN_SCOPED }, /* SS */ { blk_imp, MAN_SCOPED }, /* TP */ { blk_imp, 0 }, /* LP */ { blk_imp, 0 }, /* PP */ -- cgit v1.2.3