Possibility for optional hyphens and no-break spaces
- Dominant language
- HTML
- Stars
- 27
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
If a braille file, prepared for a particular line length, is opened on a reading system with a different line length, to optimise the braille, it would be useful that long words can be hyphenated appropriately, or that text that should not be split, remains together.
Examples:
The word "responsibilities" (to give but one) is a long word with no contractions in English braille. Due to word wrapping, without hyphenation, it can cause a bad line break.
Though not always considered essential, it should be possible to insert hyphenation points into such long words to allow good spllitting if needed.
Along similar lines, email and web addresses can be extremely long "words" and introducing hyphenation points can prevent splitting at inappropriate points. "Inappropriate" would be just to cram as much onto the available braille line and wrap regardless (worst case scenario).
On the other hand, in other situations it is considered good practice to prevent a line break between certain words - for example "chapter 3", "25 m" or "the number 2 000 000". Using no-break spaces would prevent inappropriate line breaking in these cases.
Of course, unless "advanced" searches are used, an ordinary text search should skip over optional hyphens and should treat no-break spaces as ordinary spaces.
Proposal:
Concepts such as an optional hyphenation point, no-break space and other typographical helpers should be available in the braille file.
Optional hyphens should also include what braille sign(s) (if any) should be shown if the hyphen were inserted (it varies according to braille code).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.