typst/typst

Spaces after « and before » should be nobreak in french

Chiusa

#1920 aperta il 12 ago 2023

 (14 commenti) (5 reazioni) (0 assegnatari)Rust (1574 fork)batch import
buggood contributiongood first issuetext

Metriche repository

Star
 (53.538 stelle)
Metriche merge PR
 (Merge medio 8g 5h) (54 PR mergiate in 30 g)

Descrizione

Description

(Hi, first time submitting an issue for this project, hope I'm doing it things more or less right!)

When setting lang to french, spaces after and before the french « quotes » (or "guillemets") « and » should be unbreakable. Currently, this is not the case:

« Bonjour, ceci est un dialogue » 

"Bonjour, ceci est un dialogue"

Screenshot 2023-08-12 at 14-08-44 Test – Typst

As the example above shows, using the smart quote feature it works correctly, but some french layouts (e.g. Bépo) allow to easily type « and » and if you are used to do it the results won't be great.

(If you agree this should be fixed and can point me in the right direction, I'd be happy to try and start working on a PR ^^)

Reproduction URL

No response

Operating system

Web app, Windows

Typst version

  • I am using the latest version of Typst

Guida contributor