NetBSD/gnu/usr.bin/groff/tbl/tbl.1

144 lines
3.0 KiB
Groff
Raw Normal View History

.\" $Id: tbl.1,v 1.3 1993/08/02 17:45:15 mycroft Exp $ -*- nroff -*-
1993-07-15 20:39:32 +04:00
.TH TBL 1 "1 April 1993" "Groff Version 1.08"
1993-03-21 12:45:37 +03:00
.SH NAME
1993-07-15 20:39:32 +04:00
tbl \- format tables for troff
1993-03-21 12:45:37 +03:00
.SH SYNOPSIS
1993-07-15 20:39:32 +04:00
.B tbl
1993-03-21 12:45:37 +03:00
[
.B \-Cv
]
[
.IR files \|.\|.\|.
]
.SH DESCRIPTION
1993-07-15 20:39:32 +04:00
This manual page describes the GNU version of
.BR tbl ,
which is part of the groff document formatting system.
.B tbl
compiles descriptions of tables embedded within
.B troff
input files into commands that are understood by
.BR troff .
1993-03-21 12:45:37 +03:00
Normally, it should be invoked using the
.B \-t
option of
.B groff.
1993-07-15 20:39:32 +04:00
It is highly compatible with Unix
1993-03-21 12:45:37 +03:00
.BR tbl .
1993-07-15 20:39:32 +04:00
The output generated by GNU
.B tbl
cannot be processed with Unix
.BR troff ;
it must be processed with GNU
.BR troff .
1993-03-21 12:45:37 +03:00
If no files are given on the command line, the standard input
will be read.
A filename of
.B \-
will cause the standard input to be read.
.SH OPTIONS
.TP
.B \-C
Recognize
.B .TS
and
.B .TE
even when followed by a character other than space or newline.
.TP
.B \-v
Print the version number.
.SH USAGE
1993-07-15 20:39:32 +04:00
Only the differences between GNU
.B tbl
and Unix
1993-03-21 12:45:37 +03:00
.B tbl
are described here.
.LP
1993-07-15 20:39:32 +04:00
Normally
.B tbl
attempts to prevent undesirable breaks in the table by using diversions.
This can sometimes interact badly with macro packages' own use of diversions,
when footnotes, for example, are used.
The
.B nokeep
option tells
.B tbl
not to try and prevent breaks in this way.
.LP
The
.B decimalpoint
option specifies the character to be recognized as the decimal
point character in place of the default period.
It takes an argument in parentheses, which must be a single
character, as for the
.B tab
option.
.LP
1993-03-21 12:45:37 +03:00
The
.B f
format modifier can be followed by an arbitrary length
font name in parentheses.
.LP
There is a
.B d
format modifier which means that a vertically spanning entry
should be aligned at the bottom of its range.
.LP
There is no limit on the number of columns in a table, nor any limit
on the number of text blocks.
All the lines of a table are considered in deciding column
widths, not just the first 200.
Table continuation
.RB ( .T& )
lines are not restricted to the first 200 lines.
.LP
Numeric and alphabetic items may appear in the same column.
.LP
Numeric and alphabetic items may span horizontally.
.LP
1993-07-15 20:39:32 +04:00
.B tbl
1993-03-21 12:45:37 +03:00
uses register, string, macro and diversion names beginning with
.BR 3 .
When using
1993-07-15 20:39:32 +04:00
.B tbl
1993-03-21 12:45:37 +03:00
you should avoid using any names beginning with a
.BR 3 .
.SH BUGS
You should use
.BR .TS\ H / .TH
1993-07-15 20:39:32 +04:00
in conjunction with a supporting macro package for
1993-03-21 12:45:37 +03:00
.I all
multi-page boxed tables.
If there is no header that you wish to appear at the top of each page
of the table, place the
.B .TH
line immediately after the format section.
Do not enclose a multi-page table within keep/release macros,
or divert it in any other way.
.LP
A text block within a table must be able to fit on one page.
1993-07-15 20:39:32 +04:00
.LP
The
.B bp
request cannot be used to force a page-break in a multi-page table.
Instead, define
.B BP
as follows
.IP
.B .de BP
.br
.B .ie '\e\en(.z'' .bp \e\e$1
.br
.B .el \e!.BP \e\e$1
.br
.B ..
.br
.LP
and use
.B BP
instead of
.BR bp .
1993-03-21 12:45:37 +03:00
.SH "SEE ALSO"
1993-07-15 20:39:32 +04:00
.BR groff (1),
.BR troff (1)