version 1.98, 2014/09/27 09:02:19 |
version 1.100, 2014/09/27 09:13:39 |
Line 307 man_root_pre(MAN_ARGS) |
|
Line 307 man_root_pre(MAN_ARGS) |
|
assert(man->msec); |
assert(man->msec); |
mandoc_asprintf(&title, "%s(%s)", man->title, man->msec); |
mandoc_asprintf(&title, "%s(%s)", man->title, man->msec); |
|
|
PAIR_SUMMARY_INIT(&tag[0], "Document Header"); |
PAIR_CLASS_INIT(&tag[0], "head"); |
PAIR_CLASS_INIT(&tag[1], "head"); |
t = print_otag(h, TAG_TABLE, 1, tag); |
t = print_otag(h, TAG_TABLE, 2, tag); |
|
PAIR_INIT(&tag[0], ATTR_WIDTH, "30%"); |
PAIR_INIT(&tag[0], ATTR_WIDTH, "30%"); |
print_otag(h, TAG_COL, 1, tag); |
print_otag(h, TAG_COL, 1, tag); |
print_otag(h, TAG_COL, 1, tag); |
print_otag(h, TAG_COL, 1, tag); |
Line 332 man_root_pre(MAN_ARGS) |
|
Line 331 man_root_pre(MAN_ARGS) |
|
print_stagq(h, tt); |
print_stagq(h, tt); |
|
|
PAIR_CLASS_INIT(&tag[0], "head-rtitle"); |
PAIR_CLASS_INIT(&tag[0], "head-rtitle"); |
PAIR_INIT(&tag[1], ATTR_ALIGN, "right"); |
print_otag(h, TAG_TD, 1, tag); |
print_otag(h, TAG_TD, 2, tag); |
|
print_text(h, title); |
print_text(h, title); |
print_tagq(h, t); |
print_tagq(h, t); |
free(title); |
free(title); |
Line 345 man_root_post(MAN_ARGS) |
|
Line 343 man_root_post(MAN_ARGS) |
|
struct htmlpair tag[2]; |
struct htmlpair tag[2]; |
struct tag *t, *tt; |
struct tag *t, *tt; |
|
|
PAIR_SUMMARY_INIT(&tag[0], "Document Footer"); |
PAIR_CLASS_INIT(&tag[0], "foot"); |
PAIR_CLASS_INIT(&tag[1], "foot"); |
t = print_otag(h, TAG_TABLE, 1, tag); |
t = print_otag(h, TAG_TABLE, 2, tag); |
|
PAIR_INIT(&tag[0], ATTR_WIDTH, "50%"); |
PAIR_INIT(&tag[0], ATTR_WIDTH, "50%"); |
print_otag(h, TAG_COL, 1, tag); |
print_otag(h, TAG_COL, 1, tag); |
print_otag(h, TAG_COL, 1, tag); |
print_otag(h, TAG_COL, 1, tag); |
Line 362 man_root_post(MAN_ARGS) |
|
Line 359 man_root_post(MAN_ARGS) |
|
print_stagq(h, tt); |
print_stagq(h, tt); |
|
|
PAIR_CLASS_INIT(&tag[0], "foot-os"); |
PAIR_CLASS_INIT(&tag[0], "foot-os"); |
PAIR_INIT(&tag[1], ATTR_ALIGN, "right"); |
print_otag(h, TAG_TD, 1, tag); |
print_otag(h, TAG_TD, 2, tag); |
|
|
|
if (man->source) |
if (man->source) |
print_text(h, man->source); |
print_text(h, man->source); |