On 2010/03/25 17:15, J.C. Roberts wrote:
> On Thu, 25 Mar 2010 19:22:21 -0400 Anders Langworthy
> <[email protected]> wrote:
>
> > The following patch provides some minor grammar edits, adds some
> > markup, and documents a few features that aren't mentioned in the
> > existing man page.
> >
> > This is my first effort at submitting a diff to OpenBSD (or any other
> > project) so if I ought to do something differently let me know.
> >
> > Cheers,
> > Anders
>
> There's a somewhat unstated rule for docs, "New Sentence, New Line."
> Although a lot of existing documentation does not use this rule, it is
> often preferred for proposed changes.
>
mandoc requires this rule to be followed for proper inter-sentence spacing.
---------------------
PatchSet 209
Date: 2010/03/02 00:38:59
Author: schwarze
Branch: HEAD
Tag: (none)
Log:
Proper inter-sentence spacing for mdoc(7).
When a text line or a non-block macro line in the source code ends
in any of ".!?", consider that an end of sentence (EOS).
This makes Jason's rule "new sentence, new line" even more important.
Let the parser detect the EOS and insert a token into the AST.
Let the -Tascii frontend render the EOS token as a double space before
the next word.
Members:
chars.h:1.1->1.2
chars.in:1.4->1.5
mdoc.c:1.34->1.35
mdoc.h:1.17->1.18
mdoc_action.c:1.26->1.27
mdoc_argv.c:1.20->1.21
mdoc_hash.c:1.6->1.7
mdoc_html.c:1.7->1.8
mdoc_macro.c:1.30->1.31
mdoc_term.c:1.69->1.70
mdoc_validate.c:1.42->1.43
term.c:1.20->1.21
---------------------