* mandoc and EOS spacing.
@ 2010-05-12 21:03 Kristaps Dzonsons
0 siblings, 0 replies; only message in thread
From: Kristaps Dzonsons @ 2010-05-12 21:03 UTC (permalink / raw)
To: discuss
Hello,
I just checked in a framework for EOS spacing in mandoc. It's a very
small, easily-auditable patch, but it works quite well and can expand to
handle lots of hard cases.
It works by the back-ends setting a flag for nodes are on a sentence
boundary. The front-end drivers catch this and (optionally) sets a flag
for the output engine, which adds an extra space to the inter-word spacing.
I've implemented it for non-literal free-form text contexts in both
-mdoc and -man for -Tascii. It's documented in mdoc.7 and man.7,
respectively, both of which have also been end-of-sentence-end-of-lined.
Thanks,
Kristaps
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-12 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-12 21:03 mandoc and EOS spacing Kristaps Dzonsons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).