n-t-roff / heirloom-doctools

The Heirloom Documentation Tools: troff, nroff, and related utilities
http://n-t-roff.github.io/heirloom/doctools.html
Other
126 stars 23 forks source link

Test hyphenation after dashes following non-words #25

Open n-t-roff opened 9 years ago

n-t-roff commented 9 years ago

Issue added due to comment of @reffort for commit fd2816bbce0e5f8830e5c977cdaf8d322d84db10.

a) The sequence [word][space][emdash][space][word] is commonly used to allow a break before or after an em dash by default, in addition to adding some space around the dash. In this example the em dash doesn't immediately follow a word --- it follows a space that follows a word.

b) Depending on usage, number sequences can be broken around an em dash, hyphen, or \% hyphenation, but not (normally) around an en dash or a minus sign.