]> git.cameronkatri.com Git - mandoc.git/commit
Do not handle vertical lines as additional tbl(7) columns,
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 27 May 2012 17:54:54 +0000 (17:54 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 27 May 2012 17:54:54 +0000 (17:54 +0000)
commitee72941131e356c2314d4c3009737bbc0f101fc0
treee261cf307917d75e5446cdefff6a6ecccd31d227
parent5924b5736a3bec0c2ef93ddbd1da733745942d59
Do not handle vertical lines as additional tbl(7) columns,
instead save their properties with the following column.
This simplifies layout parsing and saves a lot of code
related to column handling.

At output time, print all white space and vertical lines
separating columns before printing the following column,
and none after printing the preceding column, considerably
simplifying white space handling and width calculations.

No functional change, but it saves 150 lines of code,
and it allows the next patch to tbl_term.c, tbl_literal().

"Please check them in and I'll look into them later!" kristaps@
mandoc.h
out.c
tbl_data.c
tbl_html.c
tbl_layout.c
tbl_term.c