diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-08 16:50:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-08 16:50:37 +0000 |
commit | 576ac457378db6a2f9b51202cd8b136d64844f6d (patch) | |
tree | c5fadf96391c3cad70afba27800cbde0ac849472 /usr.bin/mandoc/mdoc_term.c | |
parent | c9ee7a0265cb70748a8592d39507ffe384405694 (diff) |
implement -Tman .An
also reset -[no]split mode at .Sh AUTHORS in -Tascii
Diffstat (limited to 'usr.bin/mandoc/mdoc_term.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c index fd2b07e5796..c1b0a4e5957 100644 --- a/usr.bin/mandoc/mdoc_term.c +++ b/usr.bin/mandoc/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.140 2011/11/13 13:05:23 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.141 2012/07/08 16:50:36 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -1421,6 +1421,8 @@ termp_sh_pre(DECL_ARGS) break; case (MDOC_BODY): p->offset = term_len(p, p->defindent); + if (SEC_AUTHORS == n->sec) + p->flags &= ~(TERMP_SPLIT|TERMP_NOSPLIT); break; default: break; |