Incorrect hyphen right after apostrophe in French
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 142
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
In French, a hyphen can be added right after an apostrophe, which is incorrect.[^1][^2]
This can be reproduced in Typst with the following code.
#set text(lang: "fr")
#set page(width: 1.8cm)
#set par(justify: true)
Aujourd'hui
Note that this does not happen when the language is set to English.
[^1]: Wikipedia (fr) states "On ne coupe jamais à la position d’une apostrophe", which means "One should never hyphen on an apostrophe."
[^2]: http://plumefrancaise.fr/la-cesure-en-typographie (fr)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Typst snippet with French text and a narrow page width, then inspect the repository's French hyphenation handling. The issue names no implementation file or test; done means the apostrophe is never selected as a hyphenation point in French while the existing English behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tex
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100