=================================================================== RCS file: /cvs/mandoc/mdoc_man.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -p -r1.47 -r1.48 --- mandoc/mdoc_man.c 2012/12/31 22:34:48 1.47 +++ mandoc/mdoc_man.c 2013/05/19 21:07:51 1.48 @@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.47 2012/12/31 22:34:48 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.48 2013/05/19 21:07:51 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Ingo Schwarze * @@ -408,6 +408,8 @@ print_offs(const char *v) struct roffsu su; size_t sz; + print_line(".RS", MMAN_Bk_susp); + /* Convert v into a number (of characters). */ if (NULL == v || '\0' == *v || 0 == strcmp(v, "left")) sz = 0; @@ -427,6 +429,7 @@ print_offs(const char *v) * in terms of different units. */ print_word(v); + outflags |= MMAN_nl; return; } } else @@ -441,6 +444,7 @@ print_offs(const char *v) snprintf(buf, sizeof(buf), "%ldn", sz); print_word(buf); + outflags |= MMAN_nl; } /* @@ -825,9 +829,7 @@ pre_bd(DECL_ARGS) print_line(".nf", 0); if (0 == n->norm->Bd.comp && NULL != n->parent->prev) outflags |= MMAN_sp; - print_line(".RS", MMAN_Bk_susp); print_offs(n->norm->Bd.offs); - outflags |= MMAN_nl; return(1); } @@ -981,9 +983,7 @@ static int pre_dl(DECL_ARGS) { - print_line(".RS", MMAN_Bk_susp); print_offs("6n"); - outflags |= MMAN_nl; return(1); }