w3c / elreq

Ethiopic Layout Requirements
Other
10 stars 4 forks source link

Extraneous spaces in conversions to wordspace #92

Open r12a opened 8 years ago

r12a commented 8 years ago

2.2.4 Space-Wordspace Substitution Rules http://w3c.github.io/elreq/#space_wordspace_substitution_rules

The list under "Wordspace to Space Transformation Rules" doesn't say anything about what to do with spaces in the text next to punctuation. I know that one doesn't expect them to be there, but it may be useful to have a step that deals with them if they are there(?)

dyacob commented 7 years ago

I think this is addressed by rule 7 "A space following non-encompasing punctuation is removed."

I'll update it now to substitute "following" for "next to" to also account for preceding spaces. Does this suffice?

r12a commented 7 years ago

I'm talking about what to do when converting wordspaces to spaces, ie. not the list with a 7 in it.

btw, note also a couple of typos: 'worspaces'

dyacob commented 7 years ago

I've simplified the rules slightly where there appeared to be redundancy. I think now is the time to develop the corresponding test cases, and embed selected test cases as examples to illustrate the rules will help clarify them.