Skip to content

Add test for line breaks for french guillemets#7652

Draft
eltos wants to merge 4 commits intotypst:mainfrom
eltos:eltos-fix-1920
Draft

Add test for line breaks for french guillemets#7652
eltos wants to merge 4 commits intotypst:mainfrom
eltos:eltos-fix-1920

Conversation

@eltos
Copy link
Copy Markdown
Contributor

@eltos eltos commented Jan 4, 2026

EDIT: Given that #1920 is already solved by #7412, the PR just adds a test for #1920

#set text(lang: "fr")
Les principales « guillemets ».\
Et les autres ‹ guillemets › en français & suisse romande.

#set text(lang: "de")
Alternative »Anführungszeichen« in DE & AT.

Before / After:
grafik grafik

OUTDATED:

Fixes #1920

For french (and only for french), linebreaks on spaces between a guillement and the word are skipped, such that the guillements always stick to the word they belong to.

@MDLC01
Copy link
Copy Markdown
Collaborator

MDLC01 commented Jan 4, 2026

Won't #1920 already be fixed by #7412?

@laurmaedje laurmaedje added text Related to the text category, which is all about text handling, shaping, etc. fix A bug fix. labels Jan 5, 2026
@eltos eltos marked this pull request as draft January 5, 2026 10:01
@eltos
Copy link
Copy Markdown
Contributor Author

eltos commented Jan 5, 2026

Indeed, I overlooked this one.
It might still be useful to add the test, so I rebased onto #7412

@eltos eltos changed the title Fix line breaks for french guillemets Add test for line breaks for french guillemets Jan 5, 2026
@laurmaedje laurmaedje added i18n About language- or script-specific features. May need attention from native speakers. and removed fix A bug fix. labels Jan 5, 2026
@laurmaedje laurmaedje added the blocked This PR is blocked by something. label Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked This PR is blocked by something. i18n About language- or script-specific features. May need attention from native speakers. text Related to the text category, which is all about text handling, shaping, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spaces after « and before » should be nobreak in french

4 participants