Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyphenation issue after apostrophe? #1297

Closed
Omikhleia opened this issue Dec 4, 2021 · 3 comments · Fixed by #1296
Closed

Hyphenation issue after apostrophe? #1297

Omikhleia opened this issue Dec 4, 2021 · 3 comments · Fixed by #1296

Comments

@Omikhleia
Copy link
Member

SILE 0.12

Observed

grou-pe d’-hommes (French, 0x2019)
grou-pe dʼ-hommes (French, 0x02BC)
grup d’-ho-mes (Catalan, 0x2019)
grup dʼ-ho-mes (Catalan, 0x02BC)

I am getting line breaks with an hyphen after the apostrophe (whether using the 0x02BC apostrophe or the 0x2019 quote mark: I thought this could have been my issue initially, with received texts from different software having one or the other, but they behave the same apparently).

image

Expected

It does not seem to me that the hyphenation point is legit. Seems to occur in more than one language (e.g. French and Catalan above).

@Omikhleia
Copy link
Member Author

Omikhleia commented Dec 5, 2021

The second commit in the above PR fixes the issue for U+2019... A mere typo in the code ;)

U+2019 "is preferred where the character is to represent a punctuation mark" - so this seems sufficient.

U+02BC "is preferred where the apostrophe is to represent a modifier letter (for example, in transliterations to indicate a glottal stop)" - so is not appropriate anyway.

EDIT. No it's a mess, linked to #687

@Omikhleia
Copy link
Member Author

FWIW

@alerque
Copy link
Member

alerque commented Dec 16, 2021

c.f. #355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants