[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Newlines in @w and sentence ends
From: |
Gavin Smith |
Subject: |
Newlines in @w and sentence ends |
Date: |
Sun, 28 Jun 2015 17:07:15 +0100 |
Hi Patrice and Karl,
I've working on the paragraph formatter in C and I have a question:
should a newline after an end sentence character within a @w be
recognized as an end of sentence and be doubled to two spaces?
With the following input:
@w{a. b. c.
d. e.}
I get the following output:
a. b. c. d. e.
(This was tested with makeinfo 6.0.) As you can see the spaces after
the full stops are preserved: it is only the unusual case when a
newline appears after a full stop that the end sentence detection is
meaningful.
For contrast, the output of
@w{a. b. C.
d. e.}
is
a. b. C. d. e.
I think that a single space character could well appear after the "c."
or "C." in both cases.
I will quite likely have some more questions about paragraph formatting soon.
Thanks,
Gavin
- Newlines in @w and sentence ends,
Gavin Smith <=