Up to [cvsweb.bsd.lv] / mandoc / regress / tbl / mod
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 5 18:14:40 2025 UTC (5 months, 2 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +46 -2 lines
Diff to previous 1.4 (colored)
In the tbl(7) layout parser, use the roff(7) numerical expression parser to support arithmetic operations in column width modifiers. Documentation authors ought to focus on semantic markup and avoid trying to manipulate presentational details. Consequently, using tbl(7) is discouraged in the first place, using column width modifiers even more so, and complicating them by performing arithmetics yet more so. However, the madhouse called DocBook relies on this feature. For example, DocBook XSL version 1.79.2 generates man(7)+tbl(7) code that abuses arithmetics in column width modifiers to format things as simple and mundane as numbered lists, resulting in atrocious layout that is very hard to read. Last year, tb@ reported git-reset(1) as an example of an affected manual page. Properly parsing the width in the tbl(7) parser allows removal of some incomplete ad-hoc parsing from the tbl(7) formatter, where it didn't really belong.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 13 21:22:13 2023 UTC (19 months, 1 week ago) by schwarze
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)
reduce the man(7) global indentation from 7n to 5n, see man_term.c rev. 1.244
Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 28 11:55:43 2022 UTC (2 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)
Vertical spacing changes around tables in man_term.c rev. 1.241 and tbl_term.c rev. 1.79 cause quite a bit of churn, unfortunately. This commit cleans up most of it.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 28 20:13:08 2021 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.1: +0 -4 lines
Diff to previous 1.1 (colored)
delete the two pairs of extra blank lines from expected man(7) terminal output that are no longer printed since man_term.c rev. 1.236
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 8 18:11:23 2017 UTC (8 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5,
VERSION_1_14_4,
VERSION_1_14_3,
VERSION_1_14_2
Implement w layout specifier (minimum column width). Improve width calculation of text blocks. Reduces the groff/mandoc diff in Base+Xenocara by about 800 lines.