=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.133 retrieving revision 1.135 diff -u -p -r1.133 -r1.135 --- mandoc/mdoc.7 2010/07/06 11:07:21 1.133 +++ mandoc/mdoc.7 2010/07/16 21:09:39 1.135 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.133 2010/07/06 11:07:21 kristaps Exp $ +.\" $Id: mdoc.7,v 1.135 2010/07/16 21:09:39 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010 Kristaps Dzonsons .\" Copyright (c) 2010 Ingo Schwarze @@ -15,7 +15,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: July 6 2010 $ +.Dd $Mdocdate: July 16 2010 $ .Dt MDOC 7 .Os .Sh NAME @@ -52,10 +52,10 @@ manuals must have line terminators. .Ss Comments Text following a -.Sq \e" , +.Sq \e\*q , whether in a macro or free-form text line, is ignored to the end of line. A macro line with only a control character and comment escape, -.Sq \&.\e" , +.Sq \&.\e\*q , is also ignored. Macro lines with only a control character and optionally whitespace are stripped from input. .Ss Reserved Characters @@ -2332,6 +2332,18 @@ line. .Ss \&Sc .Ss \&Sh .Ss \&Sm +Switches the spacing mode for output generated from macros. +Its syntax is as follows: +.Pp +.D1 Pf \. Sx \&Sm Cm on | off +.Pp +By default, spacing is +.Cm on . +When switched +.Cm off , +no white space is inserted between macro arguments and between the +output generated from adjacent macros, but free-form text lines +still get normal spacing between words and sentences. .Ss \&So .Ss \&Sq .Ss \&Ss