typst/typst

Spaces after « and before » should be nobreak in french

Fechada

#1.920 aberto em 12 de ago. de 2023

 (14 comentários) (5 reações) (0 responsável)Rust (1.574 forks)batch import
buggood contributiongood first issuetext

Métricas do repositório

Stars
 (53.538 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 5h) (54 fundiu PRs em 30d)

Description

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

Guia do colaborador