version 1.58, 2010/03/25 07:28:16 |
version 1.59, 2010/03/27 10:10:10 |
Line 403 Documents any security precautions that operators shou |
|
Line 403 Documents any security precautions that operators shou |
|
Macros are one to three three characters in length and begin with a |
Macros are one to three three characters in length and begin with a |
control character , |
control character , |
.Sq \&. , |
.Sq \&. , |
at the beginning of the line. An arbitrary amount of whitespace may |
at the beginning of the line. The |
sit between the control character and the macro name. Thus, the |
.Sq \(aq |
following are equivalent: |
macro control character is also accepted. An arbitrary amount of |
|
whitespace may sit between the control character and the macro name. |
|
Thus, the following are equivalent: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
\&.PP |
\&.PP |
\&.\ \ \ PP |
\&.\ \ \ PP |
Line 999 This section documents areas of questionable portabili |
|
Line 1001 This section documents areas of questionable portabili |
|
implementations of the |
implementations of the |
.Nm |
.Nm |
language. |
language. |
|
. |
.Pp |
.Pp |
.Bl -dash -compact |
.Bl -dash -compact |
.It |
.It |
In quoted literals, GNU troff allowed pair-wise double-quotes to produce |
In quoted literals, GNU troff allowed pair-wise double-quotes to produce |
a standalone double-quote in formatted output. It is not known whether |
a standalone double-quote in formatted output. It is not known whether |
this behaviour is exhibited by other formatters. |
this behaviour is exhibited by other formatters. |
|
. |
.It |
.It |
Blocks of whitespace are stripped from macro and free-form text lines |
Blocks of whitespace are stripped from macro and free-form text lines |
(except when in literal mode) in mandoc. This is not the case for GNU |
(except when in literal mode) in mandoc. This is not the case for GNU |
troff: for maximum portability, whitespace sensitive blocks should be |
troff: for maximum portability, whitespace sensitive blocks should be |
enclosed in literal contexts. |
enclosed in literal contexts. |
|
. |
.It |
.It |
The |
The |
.Sx \&sp |
.Sx \&sp |
macro does not accept negative values in mandoc. In GNU troff, this |
macro does not accept negative values in mandoc. In GNU troff, this |
would result in strange behaviour. |
would result in strange behaviour. |
|
. |
|
.It |
|
The |
|
.Sq \(aq |
|
macro control character, in GNU troff (and prior troffs) suppresses a |
|
newline before macro output; in mandoc, it is an alias for the standard |
|
.Sq \&. |
|
control character. |
.El |
.El |
. |
. |
. |
. |