summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-07-15 19:20:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-07-15 19:20:30 +0000
commit0afdbc2d6f1166669ab799d0a3305e9e930ff5ce (patch)
treedfc382eca6bec608ce2e08077f020a36f90684e7 /roff.7
parent8cc896a79402294b6337ffe1e4ed4eb10b98a81f (diff)
downloadmandoc-0afdbc2d6f1166669ab799d0a3305e9e930ff5ce.tar.gz
explain escaping of end-of-sentence characters;
missing info reported by Ian <ropers at gmail dot com> on misc@
Diffstat (limited to 'roff.7')
-rw-r--r--roff.76
1 files changed, 6 insertions, 0 deletions
diff --git a/roff.7 b/roff.7
index e434eec8..7f224edb 100644
--- a/roff.7
+++ b/roff.7
@@ -315,12 +315,18 @@ delimiters
The proper spacing is also intelligently preserved if a sentence ends at
the boundary of a macro line.
.Pp
+If an input line happens to end with a period, exclamation or question
+mark that isn't the end of a sentence, append a zero-width space
+.Pq Sq \e& .
+.Pp
Examples:
.Bd -literal -offset indent -compact
Do not end sentences mid-line like this. Instead,
end a sentence like this.
A macro would end like this:
\&.Xr mandoc 1 \&.
+An abbreviation at the end of an input line needs escaping, e.g.\e&
+like this.
.Ed
.Sh REQUEST SYNTAX
A request or macro line consists of: