summaryrefslogtreecommitdiffstats
path: root/src/libdraw/string.c
diff options
context:
space:
mode:
authorg-branden-robinson <91402745+g-branden-robinson@users.noreply.github.com>2022-08-12 22:37:28 -0500
committerGitHub <noreply@github.com>2022-08-12 23:37:28 -0400
commit93f814360076ccf28d33c9cb909fca7200ba4a7d (patch)
treef6faaef72b36bc2a5e4f103b2a872f89c303e26f /src/libdraw/string.c
parent506de8f6d4acedcb5b30f841611e6a4d95ce0feb (diff)
downloadplan9port-93f814360076ccf28d33c9cb909fca7200ba4a7d.tar.gz
plan9port-93f814360076ccf28d33c9cb909fca7200ba4a7d.zip
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.
Diffstat (limited to 'src/libdraw/string.c')
0 files changed, 0 insertions, 0 deletions