=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.134 retrieving revision 1.137 diff -u -p -r1.134 -r1.137 --- mandoc/mdoc.7 2010/07/15 23:50:15 1.134 +++ mandoc/mdoc.7 2010/07/19 10:48:36 1.137 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.134 2010/07/15 23:50:15 schwarze Exp $ +.\" $Id: mdoc.7,v 1.137 2010/07/19 10:48:36 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 15 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 , @@ -2450,6 +2429,9 @@ Heirloom troff, the other significant troff implementa .Pp .Bl -dash -compact .It +The \es (font size), \em (font colour), and \eM (font filling colour) +font decoration escapes are all discarded in mandoc. +.It Old groff fails to assert a newline before .Sx \&Bd Fl ragged compact . .It @@ -2497,7 +2479,7 @@ pseudo-macro as a line macro. mandoc does. .It The comment syntax -.Sq \e." +.Sq \e\." is no longer accepted. .It In groff, the