diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 22:19:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 22:19:15 +0000 |
commit | 36060e6f93695c0dc996afbb3c9f53f6a825488b (patch) | |
tree | a2cd15e344c83690d76772d4bc5f31a634c9743d /libroff.h | |
parent | 3d67560a814d88e4c50985ee952dfe42794e083b (diff) | |
download | mandoc-36060e6f93695c0dc996afbb3c9f53f6a825488b.tar.gz |
Plug in the "head" concept for tables. A tbl_head specifies the full
layout for each row, including vertical spacers. One grabs the tbl_head
for a row and iterates through each entry, plugging data from the
tbl_span into the header as appropriate.
This is pulled in more or less verbatim from tbl.bsd.lv. In fact, this
is verbatim except that lists macros are made into hard-coded lists (for
compatibility, as long-ago noted by joerg@).
Diffstat (limited to 'libroff.h')
-rw-r--r-- | libroff.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,8 @@ struct tbl { struct tbl_row *last_row; struct tbl_span *first_span; struct tbl_span *last_span; + struct tbl_head *first_head; + struct tbl_head *last_head; struct tbl *next; }; |