Commit graph

7 commits

Author SHA1 Message Date
g-branden-robinson
93f8143600
troff: support \~ as an alias for \ (#567)
In groff, Heirloom Doctools troff, and neatroff, the `\~` escape
sequence produces an adjustable (paddable) but unbreakable space.
mandoc, which does not perform adjustment or render to typesetters,
supports the escape sequence as a synonym for `\ `, the same as `\0`.

This extension is of long pedigree: groff has supported it for at least
30 years, Heirloom for 17, mandoc for 13, and neatroff for 6.

Do the same as mandoc to prevent mis-rendering of documents using this
escape sequence.  Heirloom Doctools troff, a descendant of Documenter's
Workbench troff, would be a good place to look for a compatible
implementation of the adjustable semantics for this sequence.
2022-08-12 23:37:28 -04:00
Dan Cross
fa325e9b42 Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
74374cc8a4 ctype sign fixes (Tom Miller) 2005-10-31 16:42:32 +00:00
wkj
1f72bc47fe Tweak to make troff compile silently. 2004-05-17 02:23:11 +00:00
wkj
c5561c23cf Checkpoint -- still merging with Taj's version of the world. 2004-05-16 07:55:57 +00:00
rsc
5cedca1b69 Let's try this. It's BUGGERED. 2004-05-15 23:24:00 +00:00