=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.133 retrieving revision 1.136 diff -u -p -r1.133 -r1.136 --- mandoc/mdoc.7 2010/07/06 11:07:21 1.133 +++ mandoc/mdoc.7 2010/07/19 09:19:22 1.136 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.133 2010/07/06 11:07:21 kristaps Exp $ +.\" $Id: mdoc.7,v 1.136 2010/07/19 09:19:22 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 19 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 @@ -135,28 +135,7 @@ If is specified outside of any font scope, such as in unenclosed, free-form text, it will affect the remainder of the document. .Pp -Text may also be sized with the -.Sq \es -escape, whose syntax is one of -.Sq \es+-n -for one-digit numerals; -.Sq \es(+-nn -or -.Sq \es+-(nn -for two-digit numerals; and -.Sq \es[+-N] , -.Sq \es+-[N] , -.Sq \es'+-N' , -or -.Sq \es+-'N' -for arbitrary-digit numerals: -.Pp -.D1 \es+1bigger\es-1 -.D1 \es[+10]much bigger\es[-10] -.D1 \es+(10much bigger\es-(10 -.D1 \es+'100'much much bigger\es-'100' -.Pp -Note these forms are +Note this form is .Em not recommended for .Nm , @@ -2332,6 +2311,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