diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-27 10:10:10 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-27 10:10:10 +0000 |
commit | 2341a694838b583ad6b2bb331aa57a958cb149f6 (patch) | |
tree | 36920a2e96d231d12bef14bd33b4e8b5592024cf /man.7 | |
parent | 1a23231b7d2adf726b168ad0121186f58c9afc2c (diff) | |
download | mandoc-2341a694838b583ad6b2bb331aa57a958cb149f6.tar.gz |
Documentation of apostrophe control character.
Diffstat (limited to 'man.7')
-rw-r--r-- | man.7 | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -403,9 +403,11 @@ Documents any security precautions that operators should consider. Macros are one to three three characters in length and begin with a control character , .Sq \&. , -at the beginning of the line. An arbitrary amount of whitespace may -sit between the control character and the macro name. Thus, the -following are equivalent: +at the beginning of the line. The +.Sq \(aq +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 \&.PP \&.\ \ \ PP @@ -999,22 +1001,33 @@ This section documents areas of questionable portability between implementations of the .Nm language. +. .Pp .Bl -dash -compact .It In quoted literals, GNU troff allowed pair-wise double-quotes to produce a standalone double-quote in formatted output. It is not known whether this behaviour is exhibited by other formatters. +. .It 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 troff: for maximum portability, whitespace sensitive blocks should be enclosed in literal contexts. +. .It The .Sx \&sp macro does not accept negative values in mandoc. In GNU troff, this 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 . . |