diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 07:01:51 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 07:01:51 +0000 |
commit | 4f14d32dcd946fddf1df23d122e4f4d6248e6bf9 (patch) | |
tree | 84cbffb2695342695e120169b852ba1c42677ddb | |
parent | 63c50855905c3409df3d977f38d5877dc487bde6 (diff) | |
download | mandoc-4f14d32dcd946fddf1df23d122e4f4d6248e6bf9.tar.gz |
Documented EOS buffered spaces and added `]'.
-rw-r--r-- | man.7 | 9 | ||||
-rw-r--r-- | mandoc.c | 2 | ||||
-rw-r--r-- | mdoc.7 | 12 |
3 files changed, 19 insertions, 4 deletions
@@ -216,8 +216,13 @@ literal text. When composing a manual, make sure that your sentences end at the end of a line. By doing so, front-ends will be able to apply the proper amount of -spacing after the end of sentence (unescaped) period, exclamation, or question -mark. +spacing after the end of sentence (unescaped) period, exclamation mark, +or question mark followed by zero or more non-sentence closing +delimiters ( +.Ns Sq \&) , +.Sq \&] , +.Sq \&' , +.Sq \&" ) . .Sh MANUAL STRUCTURE Each .Nm @@ -320,6 +320,8 @@ mandoc_eos(const char *p, size_t sz) /* FALLTHROUGH */ case ('\''): /* FALLTHROUGH */ + case (']'): + /* FALLTHROUGH */ case (')'): break; case ('.'): @@ -301,10 +301,18 @@ When composing a manual, make sure that your sentences end at the end of a line. By doing so, front-ends will be able to apply the proper amount of spacing after the end of sentence (unescaped) period, exclamation mark, -or question mark. +or question mark followed by zero or more non-sentence closing +delimiters ( +.Ns Sq \&) , +.Sq \&] , +.Sq \&' , +.Sq \&" ) . .Pp The proper spacing is also intelligently preserved if a sentence ends at -the boundary of a macro line. +the boundary of a macro line, e.g., +.Pp +.D1 \&Xr mandoc 1 \. +.D1 \&Fl T \&Ns \&Cm ascii \. .Sh MANUAL STRUCTURE A well-formed .Nm |