diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-08-19 12:55:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-08-19 12:55:33 +0000 |
commit | 570d1f7837ab059c7f6075679bd414035d0d3e7c (patch) | |
tree | 2d807356ac206037fadbe2ac3de44ceab0cc16e6 /mdoc.7 | |
parent | f23b91cd73e769501ad962f9dc8717925fcfc24e (diff) | |
download | mandoc-570d1f7837ab059c7f6075679bd414035d0d3e7c.tar.gz |
Make LANGUAGE SYNTAX examples a bit more explanatory.
Diffstat (limited to 'mdoc.7')
-rw-r--r-- | mdoc.7 | 32 |
1 files changed, 19 insertions, 13 deletions
@@ -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. |