CVS log for mandoc/tbl.7

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 28 13:52:59 2022 UTC (18 months, 4 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (unified) to selected 1.5 (unified)

Replace ugly .sp requests with normal .Pp macros.
After tbl_term.c 1.79, such contortions are no longer needed.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 12 04:14:25 2022 UTC (2 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (unified) to selected 1.5 (unified)

In one of the examples, the tbl(7) source code displayed
contains a backslash that needs to be escaped, and the
missing escaping resulted in very misleading formatting.

Documentation bug found due to a question from
Ted Bullock <tbullock at comlore dot com>.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 18 12:34:27 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (unified) to selected 1.5 (unified)

correct whitespace in the title of the Lesk paper to match the original;
patch from jsg@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 7 11:48:19 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (unified) to selected 1.5 (unified)

we already parse the GNU tbl(7) "nospaces" option,
so let it have the intended effect, too

Revision 1.35 / (download) - annotate - [select for diffs], Tue Aug 10 12:55:04 2021 UTC (2 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.34: +5 -4 lines
Diff to previous 1.34 (unified) to selected 1.5 (unified)

Support two-character font names (BI, CW, CR, CB, CI)
in the tbl(7) layout font modifier.

Get rid of the TBL_CELL_BOLD and TBL_CELL_ITALIC flags and use
the usual ESCAPE_FONT* enum mandoc_esc members from mandoc.h instead,
which simplifies and unifies some code.

While here, also support CB and CI in roff(7) \f escape sequences
and in roff(7) .ft requests for all output modes.  Using those is
certainly not recommended because portability is limited even with
groff, but supporting them makes some existing third-party manual
pages look better, in particular in HTML output mode.

Bug-compatible with groff as far as i'm aware, except that i consider
font names starting with the '\n' (ASCII 0x0a line feed) character
so insane that i decided to not support them.

Missing feature reported by nabijaczleweli dot xyz in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992002.
I used none of the code from the initial patch submitted by
nabijaczleweli, but some of their ideas.
Final patch tested by them, too.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 2 21:03:02 2019 UTC (5 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (unified) to selected 1.5 (unified)

remove a few words to improve flow; from tedu@

Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 9 16:46:13 2019 UTC (5 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.32: +17 -3 lines
Diff to previous 1.32 (unified) to selected 1.5 (unified)

add a BUGS section explaining the situation with box and line drawing
in UTF-8 output; suggested by bentley@

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 8 22:51:53 2019 UTC (5 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (unified) to selected 1.5 (unified)

fix typo: "a data cells" -> "a data cell"; from bentley@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Dec 14 20:40:24 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (unified) to selected 1.5 (unified)

zap trailing whitespace; from jmc@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Nov 25 21:17:34 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.29: +14 -8 lines
Diff to previous 1.29 (unified) to selected 1.5 (unified)

Let cells containing nothing but \^ extend the cell above.
Missing feature reported by Pali dot Rohar at gmail dot com.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 17 23:19:12 2017 UTC (6 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4
Changes since 1.28: +5 -3 lines
Diff to previous 1.28 (unified) to selected 1.5 (unified)

HISTORY: mention first appearance in OpenBSD

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 28 00:59:57 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_3, VERSION_1_14_2
Changes since 1.27: +253 -187 lines
Diff to previous 1.27 (unified) to selected 1.5 (unified)

Rewrite half of this, i was completely unaware how bad it was.
Remove several lies, lots of duplicate information,
and a lengthy discussion of features we don't support.
Clarify the wording in some places and make it more concise in others.
Delete examples from where they don't belong
and write a new EXAMPLES section from scratch.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 8 18:11:22 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.26: +6 -7 lines
Diff to previous 1.26 (unified) to selected 1.5 (unified)

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.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 29 00:33:57 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1, VERSION_1_13_4, VERSION_1_13_3, VERSION_1_13
Changes since 1.25: +11 -12 lines
Diff to previous 1.25 (unified) to selected 1.5 (unified)

Radical cleanup of COMPATIBILITY sections:
Remove lots of lies, dozens of irrelevant implementation details,
and all references to groff versions older than 1.17.  Move relevant
information to the pages where it belongs, and out of mandoc(1) in
particular.  Add some missing general remarks to roff(7), where it
fits the character and purpose of the page much better.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 28 04:19:35 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (unified) to selected 1.5 (unified)

implement the tbl(7) "center" layout option

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 26 18:42:30 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.23: +26 -11 lines
Diff to previous 1.23 (unified) to selected 1.5 (unified)

Rework tbl(7) layout parsing:
* Continue parsing even if part of the input is invalid.
* Do not require whitespace between cell specifications.
* Allow tabs as well as blanks between modifiers.
* Mark the 'm' modifier as unsupported.
* Parse and ignore the 'p' and 'v' modifiers.
* Better warning and error messages.
* Get rid of a static buffer.
Improved functionality but minus 50 lines of code.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 26 13:03:48 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.22: +42 -40 lines
Diff to previous 1.22 (unified) to selected 1.5 (unified)

More improvements regarding tbl(7) options.
* Treat "allbox" as an alias for "box" for now.
* Parse and ignore the GNU tbl "nowarn" option.
* For separation, allow spaces, tabs, and commas only.
* Mark eqn(7) within tbl(7) as unsupported.
* Simplify the option table.
* Improve and sort documentation.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 20 19:39:34 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (unified) to selected 1.5 (unified)

change spelling of centre to center: consistent with other man pages
and the name of the syntax elements being described; from tedu@

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 26 17:51:55 2014 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (unified) to selected 1.5 (unified)

Allow comma-separated options in tbl(7) tables.
Provides better groff compatibility.
From bentley@.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 14 02:16:06 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.19: +15 -5 lines
Diff to previous 1.19 (unified) to selected 1.5 (unified)

Rudimentary implementation of the e, x, and z table layout modifiers
to equalize, maximize, and ignore the width of columns.
Does not yet take vertical rulers into account,
and does not do line breaks within table cells.
Considerably improves the lftp(1) manual; issue noticed by sthen@.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 13 23:31:46 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.18: +25 -24 lines
Diff to previous 1.18 (unified) to selected 1.5 (unified)

implement font modifiers in table layouts

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 16 22:39:19 2013 UTC (10 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1, VERSION_1_12_4, VERSION_1_12_3, VERSION_1_12_2, VERSION_1_12
Changes since 1.17: +2 -9 lines
Diff to previous 1.17 (unified) to selected 1.5 (unified)

Drop .Ud remark, it has started to slowly turn into a lie.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 13 19:41:16 2013 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.16: +3 -4 lines
Diff to previous 1.16 (unified) to selected 1.5 (unified)

For citing the names and email addresses of authors,
consistently use the style ".An name Aq Mt email".

Triggered by a question from Jan Stary <hans at stare dot cz>,
ok jmc@.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 3 00:29:21 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_1, VERSION_1_12_0
Changes since 1.15: +14 -5 lines
Diff to previous 1.15 (unified) to selected 1.5 (unified)

Fix handling of font modifiers in tables.  Noted by Brad Smith.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 2 19:37:35 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_7
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (unified) to selected 1.5 (unified)

Fix typos and spelling errors found by demandoc -w | spell -b.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Aug 18 08:58:44 2011 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (unified) to selected 1.5 (unified)

Replace the old `An'/`Aq' AUTHORS note with `An'/`Mt'.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 17 15:12:42 2011 UTC (13 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_6, VERSION_1_11_5, VERSION_1_11_4, VERSION_1_11_3, VERSION_1_11_2, VERSION_1_11_1, VERSION_1_10_10
Changes since 1.12: +9 -2 lines
Diff to previous 1.12 (unified) to selected 1.5 (unified)

Note the development status of eqn.7 and tbl.7.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 7 00:05:40 2011 UTC (13 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (unified) to selected 1.5 (unified)

The macro .Ns has no effect at the beginning of an input line;
ok kristaps@ jmc@.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 17 21:29:04 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (unified) to selected 1.5 (unified)

"decimalpoint" is in fact supported.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 11 14:15:56 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (unified) to selected 1.5 (unified)

Note that "^" needs an empty cell, while "s" does not.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 11 14:12:01 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.8: +11 -5 lines
Diff to previous 1.8 (unified) to selected 1.5 (unified)

Add support for "^" vertical spanners.  Unlike GNU tbl, raise
error-class messages when data is being ignored by specifying it in "^"
cells (either as-is or in blocks).

Also note again that horizontal spanners aren't really supported...

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 10 14:40:30 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (unified) to selected 1.5 (unified)

First, make extra data cells be thrown away.  This makes "dp->layout"
always hold, which cleans up the table stuff a bit.

Second, set a "spans" value per data cell consisting of the number of
skipped TBL_CELL_SPAN layout cells.

Third, make tbl_term.c understand how to skip over spanned sections when
iterating over the header queue.

What remains is to calculate the widths of spanned cells.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 8 17:30:03 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (unified) to selected 1.5 (unified)

Note that we support the "a" key.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 8 17:16:48 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (unified)

The numerical column type centres on the *last* decimal point.

Revision 1.5 / (download) - annotate - [selected], Sat Jan 8 17:00:27 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.4: +10 -10 lines
Diff to previous 1.4 (unified)

Give the "n" cell type knowledge of its spacing.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 7 14:59:52 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (unified) to selected 1.5 (unified)

Fixes: T} can be followed by a delimiter then more data.  Make this
work and add documentation for it.

Also make tbl_term() not puke if the number of data cells is less than
the number of layout cells (which happens from time to time).  This
still needs work because we should pad out empty cells so that the
borders all work out.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 5 20:02:34 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.2: +10 -10 lines
Diff to previous 1.2 (unified) to selected 1.5 (unified)

Tweaks to tbl.7 from Jason McIntyre.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jan 5 09:31:10 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +20 -13 lines
Diff to previous 1.1 (unified) to selected 1.5 (unified)

Tweak some language in tbl.7.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 4 23:32:21 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Diff to selected 1.5 (unified)

Moved table stuff from roff.7 into the new tbl.7 (suggested by Jason McIntyre).

Added cross-links to tbl.7 from other manuals.

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