=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.47 retrieving revision 1.49 diff -u -p -r1.47 -r1.49 --- mandoc/mdoc.7 2009/07/18 18:49:19 1.47 +++ mandoc/mdoc.7 2009/07/19 09:17:42 1.49 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.47 2009/07/18 18:49:19 kristaps Exp $ +.\" $Id: mdoc.7,v 1.49 2009/07/19 09:17:42 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: July 18 2009 $ +.Dd $Mdocdate: July 19 2009 $ .Dt MDOC 7 .Os .\" SECTION--------------------------------------------- @@ -131,11 +131,6 @@ also be text-decorated using the .Sq \ef escape followed by an indicator: B (bold), I, (italic), or P and R (Roman, or reset). This form is not recommended. -.Pp -Lastly, a standalone double-quote may be produced in a macro line by -using two consecutive double-quotes within a quoted literal. See -.Sx Quotation -for details. .\" SUB-SECTION---------------------- .Ss Whitespace In non-literal free-form lines, consecutive blocks of whitespace are @@ -162,18 +157,8 @@ or when in a literal context. Macro arguments may be quoted with a double-quote to group space-delimited terms or to retain blocks of whitespace. A quoted argument begins with a double-quote preceded by whitespace. The next -double-quote that is -.Em -preceded by a double-quote terminates the term, regardless of -surrounding whitespace. Thus, the following construction produces -.Sq "a""b" , -since, as mentioned in -.Sx Special Characters , -two consecutive double-quotes in a quoted literal produce a standalone -double-quote: -.Bd -literal -offset indent -\&.Em "a""""b" -.Ed +double-quote not pair-wise adjacent to another double-quote terminates +the literal, regardless of surrounding whitespace. .\" PARAGRAPH------------ .Pp This produces tokens @@ -402,7 +387,7 @@ then the macro accepts an arbitrary number of argument .It \&Bsx Ta Yes Ta Yes Ta n .It \&Bt Ta \&No Ta \&No Ta 0 .It \&Bx Ta Yes Ta Yes Ta n -.It \&Cd Ta Yes Ta \&No Ta >0 +.It \&Cd Ta Yes Ta Yes Ta >0 .It \&Cm Ta Yes Ta Yes Ta n .It \&Db Ta \&No Ta \&No Ta 1 .It \&Dd Ta \&No Ta \&No Ta >0 @@ -469,6 +454,11 @@ file re-write .\" PARAGRAPH------------ .Pp .Bl -dash -compact +.\" LIST-ITEM +.It +In quoted literals, groff allowed pair-wise double-quotes to produce a +standalone double-quote in formatted output. This idiosyncratic +behaviour is no longer applicable. .\" LIST-ITEM .It The