version 1.15, 2009/04/12 19:30:45 |
version 1.20, 2009/06/17 19:12:03 |
|
|
.\" $Id$ |
.\" $Id$ |
.\" |
.\" |
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@openbsd.org> |
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> |
.\" |
.\" |
.\" Permission to use, copy, modify, and distribute this software for any |
.\" Permission to use, copy, modify, and distribute this software for any |
.\" purpose with or without fee is hereby granted, provided that the |
.\" purpose with or without fee is hereby granted, provided that the above |
.\" above copyright notice and this permission notice appear in all |
.\" copyright notice and this permission notice appear in all copies. |
.\" copies. |
|
.\" |
.\" |
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
.\" WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
.\" AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
.\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
.\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
.\" PERFORMANCE OF THIS SOFTWARE. |
|
.\" |
.\" |
.Dd $Mdocdate$ |
.Dd $Mdocdate$ |
.Dt MANDOC 1 |
.Dt MANDOC 1 |
|
|
utility formats |
utility formats |
.Ux |
.Ux |
manual pages for display. The arguments are as follows: |
manual pages for display. The arguments are as follows: |
.Bl -tag -width XXXXXXXXXXXX |
.Bl -tag -width Ds |
.\" ITEM |
.\" ITEM |
.It Fl f Ns Ar option... |
.It Fl f Ns Ar option... |
Override default compiler behaviour. See |
Override default compiler behaviour. See |
.Sx Compiler Options |
.Sx Compiler Options |
for details. |
for details. |
.\" ITEM |
.\" ITEM |
.It Fl m |
.It Fl m Ns Ar format |
Input format. See |
Input format. See |
.Sx Input Formats |
.Sx Input Formats |
for available formats. Defaults to |
for available formats. Defaults to |
.Fl m Ns Ar andoc . |
.Fl m Ns Ar andoc . |
.\" ITEM |
.\" ITEM |
.It Fl T |
.It Fl T Ns Ar output |
Output format. See |
Output format. See |
.Sx Output Formats |
.Sx Output Formats |
for available formats. Defaults to |
for available formats. Defaults to |
|
|
utility accepts the following |
utility accepts the following |
.Fl T |
.Fl T |
arguments: |
arguments: |
.Bl -tag -width XXXXXXXXXXXX |
.Bl -tag -width Ds |
.It Fl T Ns Ar ascii |
.It Fl T Ns Ar ascii |
Produce 7-bit ASCII output, backspace-encoded for bold and underline |
Produce 7-bit ASCII output, backspace-encoded for bold and underline |
styles. This is the default. |
styles. This is the default. |
Line 207 corresponding filter in-order. |
|
Line 205 corresponding filter in-order. |
|
Default compiler behaviour may be overriden with the |
Default compiler behaviour may be overriden with the |
.Fl f |
.Fl f |
flag. |
flag. |
.Bl -tag -width XXXXXXXXXXXXXX |
.Bl -tag -width Ds |
.It Fl f Ns Ar ign-scope |
.It Fl f Ns Ar ign-scope |
When rewinding the scope of a block macro, forces the compiler to ignore |
When rewinding the scope of a block macro, forces the compiler to ignore |
scope violations. This can seriously mangle the resulting tree. |
scope violations. This can seriously mangle the resulting tree. |
Line 241 To page manuals to the terminal: |
|
Line 239 To page manuals to the terminal: |
|
.Pp |
.Pp |
.D1 % mandoc mandoc.1 mdoc.3 mdoc.7 | less |
.D1 % mandoc mandoc.1 mdoc.3 mdoc.7 | less |
.\" SECTION |
.\" SECTION |
|
.Sh COMPATIBILITY |
|
This section summarises |
|
.Nm |
|
compatibility with |
|
.Xr groff 1 . |
|
.Pp |
|
.Bl -bullet -compact |
|
.It |
|
A list or display following |
|
.Sq \&.Ss |
|
does not assert a prior vertical break, just as it doesn't with |
|
.Sq \&.Sh . |
|
.\" LIST-ITEM |
|
.It |
|
The \-literal and \-unfilled |
|
.Sq \&.Bd |
|
displays types are synonyms, as are \-filled and \-ragged. |
|
.\" LIST-ITEM |
|
.It |
|
Words aren't hyphenated. |
|
.El |
|
.\" SECTION |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mandoc_char 7 , |
.Xr mandoc_char 7 , |
.Xr mdoc 7 , |
.Xr mdoc 7 , |
.Xr man 7 |
.Xr man 7 |
.\" |
.\" SECTION |
.Sh AUTHORS |
.Sh AUTHORS |
The |
The |
.Nm |
.Nm |
utility was written by |
utility was written by |
.An Kristaps Dzonsons Aq kristaps@openbsd.org . |
.An Kristaps Dzonsons Aq kristaps@kth.se . |
.\" SECTION |
.\" SECTION |
.Sh CAVEATS |
.Sh CAVEATS |
The |
The |
.Nm |
.Nm |
utility in |
utility doesn't yet know how to display \-hang lists. |
.Fl T Ns Ar ascii |
|
mode doesn't yet know how to display the following: |
|
.Pp |
.Pp |
.Bl -bullet -compact |
|
.It |
|
The \-hang |
|
.Sq \&.Bl |
|
list is not yet supported. |
|
.El |
|
.Pp |
|
Other macros still aren't supported by virtue of nobody complaining |
Other macros still aren't supported by virtue of nobody complaining |
about their absence. Please report any omissions: this is a work in |
about their absence. |
progress. |
|
.Pp |
|
The following list documents differences between traditional |
|
.Xr nroff 1 |
|
output and |
|
.Nm : |
|
.Pp |
|
.Bl -bullet -compact |
|
.It |
|
A list of display following |
|
.Sq \&.Ss |
|
does not assert a prior vertical break, just as it doesn't with |
|
.Sq \&.Sh . |
|
.It |
|
Special characters don't follow the current font style. |
|
.\" LIST-ITEM |
|
.It |
|
The \-literal and \-unfilled |
|
.Sq \&.Bd |
|
displays types are synonyms, as are \-filled and \-ragged. |
|
.El |
|