From d893c561e63800ad96820c440c3baae9f772931f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 19 Aug 2011 12:55:33 +0000 Subject: Make LANGUAGE SYNTAX examples a bit more explanatory. --- mdoc.7 | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index 1f8049df..0d1df00b 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.203 2011/08/19 10:19:55 kristaps Exp $ +.\" $Id: mdoc.7,v 1.204 2011/08/19 12:55:33 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2010 Ingo Schwarze @@ -98,9 +98,9 @@ or a single one character sequence. Examples: .Bl -tag -width Ds -offset indent -compact .It Li \e(em -em dash +Two-letter em dash escape. .It Li \ee -backslash +One-letter backslash escape. .El .Pp See @@ -126,9 +126,9 @@ scope. Examples: .Bl -tag -width Ds -offset indent -compact .It Li \efBbold\efR -write in bold, then switch to regular +Write in bold, then switch to regular font mode. .It Li \efIitalic\efP -write in italic, then return to previous +Write in italic, then return to previous font mode. .El .Pp Text decoration is @@ -152,9 +152,9 @@ and N-character Examples: .Bl -tag -width Ds -offset indent -compact .It Li \e*(Am -ampersand -.It Li \e*(Ba -vertical bar +Two-letter ampersand predefined string. +.It Li \e*q +One-letter double-quote predefined string. .El .Pp These strings are set using @@ -197,15 +197,21 @@ terminates the literal, regardless of surrounding whitespace. Examples: .Bl -tag -width Ds -offset indent -compact .It Li .Fn strlen \(dqconst char *s\(dq -groups +Group arguments .Qq const char *s -into one term -.Pq see Sx \&Fn +into one functinon argument. +If unspecified, +.Qq const , +.Qq char , +and +.Qq *s +would be considered separate arguments. +.Pq See Sx \&Fn . .It Li .Op \(dqFl a\(dq -considers +Consider .Qq \&Fl a -as literal text -.Pq see Sx \&Op , \&Fl +as literal text instead of a flag macro. +.Pq Aee Sx \&Op , \&Fl . .El .Ss Scaling Widths Many macros support scaled widths for their arguments. -- cgit v1.2.3-56-ge451