summaryrefslogtreecommitdiffstats
path: root/tbl.7
Commit message (Collapse)AuthorAgeFilesLines
* Replace ugly .sp requests with normal .Pp macros.Ingo Schwarze2022-08-281-3/+3
| | | | After tbl_term.c 1.79, such contortions are no longer needed.
* In one of the examples, the tbl(7) source code displayedIngo Schwarze2022-01-121-2/+2
| | | | | | | | 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>.
* correct whitespace in the title of the Lesk paper to match the original;Ingo Schwarze2021-09-181-1/+1
| | | | patch from jsg@
* we already parse the GNU tbl(7) "nospaces" option,Ingo Schwarze2021-09-071-1/+1
| | | | so let it have the intended effect, too
* Support two-character font names (BI, CW, CR, CB, CI)Ingo Schwarze2021-08-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* remove a few words to improve flow; from tedu@Ingo Schwarze2019-03-021-2/+2
|
* add a BUGS section explaining the situation with box and line drawingIngo Schwarze2019-02-091-1/+15
| | | | in UTF-8 output; suggested by bentley@
* fix typo: "a data cells" -> "a data cell"; from bentley@Ingo Schwarze2019-02-081-1/+1
|
* zap trailing whitespace; from jmc@Ingo Schwarze2018-12-141-1/+1
|
* Let cells containing nothing but \^ extend the cell above.Ingo Schwarze2018-11-251-6/+12
| | | | Missing feature reported by Pali dot Rohar at gmail dot com.
* HISTORY: mention first appearance in OpenBSDIngo Schwarze2017-10-171-1/+3
|
* Rewrite half of this, i was completely unaware how bad it was.Ingo Schwarze2017-06-281-185/+251
| | | | | | | | 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.
* Implement w layout specifier (minimum column width).Ingo Schwarze2017-06-081-5/+4
| | | | | Improve width calculation of text blocks. Reduces the groff/mandoc diff in Base+Xenocara by about 800 lines.
* Radical cleanup of COMPATIBILITY sections:Ingo Schwarze2015-01-291-10/+9
| | | | | | | | 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.
* implement the tbl(7) "center" layout optionIngo Schwarze2015-01-281-1/+0
|
* Rework tbl(7) layout parsing:Ingo Schwarze2015-01-261-9/+24
| | | | | | | | | | | * 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.
* More improvements regarding tbl(7) options.Ingo Schwarze2015-01-261-38/+40
| | | | | | | | | * 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.
* change spelling of centre to center: consistent with other man pagesIngo Schwarze2015-01-201-3/+3
| | | | and the name of the syntax elements being described; from tedu@
* Allow comma-separated options in tbl(7) tables.Ingo Schwarze2014-11-261-0/+1
| | | | | Provides better groff compatibility. From bentley@.
* Rudimentary implementation of the e, x, and z table layout modifiersIngo Schwarze2014-10-141-3/+13
| | | | | | | 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@.
* implement font modifiers in table layoutsIngo Schwarze2014-10-131-22/+23
|
* Drop .Ud remark, it has started to slowly turn into a lie.Ingo Schwarze2013-09-161-7/+0
|
* For citing the names and email addresses of authors,Ingo Schwarze2013-07-131-2/+1
| | | | | | | consistently use the style ".An name Aq Mt email". Triggered by a question from Jan Stary <hans at stare dot cz>, ok jmc@.
* Fix handling of font modifiers in tables. Noted by Brad Smith.Kristaps Dzonsons2011-09-031-3/+12
|
* Fix typos and spelling errors found by demandoc -w | spell -b.Kristaps Dzonsons2011-09-021-1/+1
|
* Replace the old `An'/`Aq' AUTHORS note with `An'/`Mt'.Kristaps Dzonsons2011-08-181-2/+3
|
* Note the development status of eqn.7 and tbl.7.Kristaps Dzonsons2011-03-171-0/+7
|
* The macro .Ns has no effect at the beginning of an input line;Ingo Schwarze2011-02-071-5/+5
| | | | ok kristaps@ jmc@.
* "decimalpoint" is in fact supported.Kristaps Dzonsons2011-01-171-2/+0
|
* Note that "^" needs an empty cell, while "s" does not.Kristaps Dzonsons2011-01-111-0/+2
|
* Add support for "^" vertical spanners. Unlike GNU tbl, raiseKristaps Dzonsons2011-01-111-3/+9
| | | | | | | 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...
* First, make extra data cells be thrown away. This makes "dp->layout"Kristaps Dzonsons2011-01-101-2/+6
| | | | | | | | | | | | 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.
* Note that we support the "a" key.Kristaps Dzonsons2011-01-081-2/+1
|
* The numerical column type centres on the *last* decimal point.Kristaps Dzonsons2011-01-081-1/+1
|
* Give the "n" cell type knowledge of its spacing.Kristaps Dzonsons2011-01-081-8/+8
|
* Fixes: T} can be followed by a delimiter then more data. Make thisKristaps Dzonsons2011-01-071-1/+4
| | | | | | | | | 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.
* Tweaks to tbl.7 from Jason McIntyre.Kristaps Dzonsons2011-01-051-8/+8
|
* Tweak some language in tbl.7.Kristaps Dzonsons2011-01-051-12/+19
|
* Moved table stuff from roff.7 into the new tbl.7 (suggested by Jason McIntyre).Kristaps Dzonsons2011-01-041-0/+312
Added cross-links to tbl.7 from other manuals.