CVS log for mandoc/regress/tbl/mod/width.in

[BACK] Up to [cvsweb.bsd.lv] / mandoc / regress / tbl / mod

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4 / (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.3: +68 -4 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Tue Jul 4 15:26:56 2017 UTC (7 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Messages of the -Wbase level now print STYLE:.  Since this
causes horrible churn anyway, profit of the opportunity to stop
excessive testing, such that this is hopefully the last instance
of such churn.  Consistently use OpenBSD RCS tags, blank .Os,
blank fourth .TH argument, and Mdocdate like everywhere else.
Use -Ios=OpenBSD for platform-independent predictable output.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 14 17:51:24 2017 UTC (8 years ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

improve rounding rules for scaling units
in horizontal orientation in the terminal formatter

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 8 18:11:23 2017 UTC (8 years ago) by schwarze
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb