CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2010/03/01 17:38:59
Modified files: usr.bin/mandoc : chars.h chars.in mdoc.c mdoc.h mdoc_action.c mdoc_argv.c mdoc_hash.c mdoc_html.c mdoc_macro.c mdoc_term.c mdoc_validate.c term.c Log message: 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.