Skip to content

[fix] text mode breaking group separator - #112

Merged
Mc-Zen merged 1 commit into
mainfrom
fix-text-mode-breaking-group-separator
Aug 29, 2026
Merged

[fix] text mode breaking group separator#112
Mc-Zen merged 1 commit into
mainfrom
fix-text-mode-breaking-group-separator

Conversation

@Mc-Zen

@Mc-Zen Mc-Zen commented Aug 29, 2026

Copy link
Copy Markdown
Owner

closes #111.

I decided to also change the default of unit.unit-separator to sym.space.narrowfor consistency (although it has no effect).

@Mc-Zen
Mc-Zen merged commit efd2459 into main Aug 29, 2026
1 check passed
@danvim

danvim commented Aug 29, 2026

Copy link
Copy Markdown

I noticed you used space.narrow instead of space.nobreak.narrow. It seems that both works in Typst, but space.narrow is undocumented. Is this intended behavior and can be trusted? https://github.com/typst/codex/blob/main/src/modules/sym.txt doesn't have space.narrow defined. Official docs lists space.nobreak.narrow

@Mc-Zen

Mc-Zen commented Aug 29, 2026

Copy link
Copy Markdown
Owner Author

Good question. Let's ask the team on discord.

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 this pull request may close these issues.

Non-math number is broken inline due to default thousand separator

2 participants