version 1.80, 2010/06/12 11:21:44 |
version 1.82, 2010/06/12 12:10:55 |
Line 1035 mdoc_it_pre(MDOC_ARGS) |
|
Line 1035 mdoc_it_pre(MDOC_ARGS) |
|
if (MDOC_BLOCK != n->type) |
if (MDOC_BLOCK != n->type) |
bl = bl->parent; |
bl = bl->parent; |
|
|
type = bl->data.list; |
type = bl->data.Bl.type; |
|
comp = bl->data.Bl.comp; |
|
|
/* Set default width and offset. */ |
/* Set default width and offset. */ |
|
|
Line 1059 mdoc_it_pre(MDOC_ARGS) |
|
Line 1060 mdoc_it_pre(MDOC_ARGS) |
|
/* Get width, offset, and compact arguments. */ |
/* Get width, offset, and compact arguments. */ |
|
|
wp = -1; |
wp = -1; |
for (comp = i = 0; bl->args && i < (int)bl->args->argc; i++) |
for (i = 0; bl->args && i < (int)bl->args->argc; i++) |
switch (bl->args->argv[i].arg) { |
switch (bl->args->argv[i].arg) { |
case (MDOC_Column): |
case (MDOC_Column): |
wp = i; /* Save for later. */ |
wp = i; /* Save for later. */ |
Line 1070 mdoc_it_pre(MDOC_ARGS) |
|
Line 1071 mdoc_it_pre(MDOC_ARGS) |
|
case (MDOC_Offset): |
case (MDOC_Offset): |
a2offs(bl->args->argv[i].value[0], &offs); |
a2offs(bl->args->argv[i].value[0], &offs); |
break; |
break; |
case (MDOC_Compact): |
|
comp = 1; |
|
break; |
|
default: |
default: |
break; |
break; |
} |
} |
Line 1123 mdoc_bl_pre(MDOC_ARGS) |
|
Line 1121 mdoc_bl_pre(MDOC_ARGS) |
|
return(0); |
return(0); |
if (MDOC_BLOCK != n->type) |
if (MDOC_BLOCK != n->type) |
return(1); |
return(1); |
if (LIST_enum != n->data.list) |
if (LIST_enum != n->data.Bl.type) |
return(1); |
return(1); |
|
|
ord = malloc(sizeof(struct ord)); |
ord = malloc(sizeof(struct ord)); |
Line 1147 mdoc_bl_post(MDOC_ARGS) |
|
Line 1145 mdoc_bl_post(MDOC_ARGS) |
|
|
|
if (MDOC_BLOCK != n->type) |
if (MDOC_BLOCK != n->type) |
return; |
return; |
if (LIST_enum != n->data.list) |
if (LIST_enum != n->data.Bl.type) |
return; |
return; |
|
|
ord = h->ords.head; |
ord = h->ords.head; |