=================================================================== RCS file: /cvs/mandoc/mandoc.1,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -r1.21 -r1.22 --- mandoc/mandoc.1 2009/06/18 08:13:34 1.21 +++ mandoc/mandoc.1 2009/06/22 12:04:05 1.22 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.21 2009/06/18 08:13:34 kristaps Exp $ +.\" $Id: mandoc.1,v 1.22 2009/06/22 12:04:05 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 18 2009 $ +.Dd $Mdocdate: June 22 2009 $ .Dt MANDOC 1 .Os .\" SECTION @@ -98,19 +98,19 @@ were provided. .Pp .Ex -std mandoc .\" SUB-SECTION -.Ss Punctuation +.Ss Punctuation and Spacing If punctuation is set apart from words, such as in the phrase .Dq to be \&, or not to be , it's processed by .Nm -according to the following rules. Opening punctuation +according to the following rules: opening punctuation .Po .Sq \&( , .Sq \&[ , and .Sq \&{ .Pc -is not followed by a space. Closing punctuation +is not followed by a space; closing punctuation .Po .Sq \&. , .Sq \&, , @@ -128,6 +128,15 @@ is not preceded by whitespace. If the input is .Xr mdoc 7 , these rules are also applied to macro arguments when appropriate. +.Pp +White-space, in non-literal (normal) mode, is stripped from input and +replaced on output by a single space. Thus, if you wish to preserve +multiple spaces, they must be space-escaped +.Sq \e\ . +or used in a literal display mode, e.g., +.Sq \&.Bd \-literal +in +.Xr mdoc 7 . .\" SUB-SECTION .Ss Input Formats The @@ -253,14 +262,17 @@ 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. +.It +In normal mode (not a literal block), blocks of spaces aren't preserved, +so double spaces following sentence closure +.Pq Qq French spacing +are reduced to a single space. .El .\" SECTION .Sh SEE ALSO