version 1.74, 2010/06/04 21:49:39 |
version 1.76, 2010/06/04 22:26:13 |
Line 1584 mdoc_fn_pre(MDOC_ARGS) |
|
Line 1584 mdoc_fn_pre(MDOC_ARGS) |
|
int sz, i; |
int sz, i; |
struct roffsu su; |
struct roffsu su; |
|
|
if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags) { |
/* NB: MDOC_LINE has no effect on this macro! */ |
|
if (SEC_SYNOPSIS == n->sec) { |
SCALE_HS_INIT(&su, INDENT); |
SCALE_HS_INIT(&su, INDENT); |
bufcat_su(h, "margin-left", &su); |
bufcat_su(h, "margin-left", &su); |
su.scale = -su.scale; |
su.scale = -su.scale; |
bufcat_su(h, "text-indent", &su); |
bufcat_su(h, "text-indent", &su); |
|
if (n->prev && MDOC_Ft != n->prev->tok) { |
|
SCALE_VS_INIT(&su, 1); |
|
bufcat_su(h, "margin-top", &su); |
|
} |
if (n->next) { |
if (n->next) { |
SCALE_VS_INIT(&su, 1); |
SCALE_VS_INIT(&su, 1); |
bufcat_su(h, "margin-bottom", &su); |
bufcat_su(h, "margin-bottom", &su); |