Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unify package] Set decimal separator manually #188

Closed
TheChilliPL opened this issue Oct 19, 2023 · 3 comments
Closed

[unify package] Set decimal separator manually #188

TheChilliPL opened this issue Oct 19, 2023 · 3 comments

Comments

@TheChilliPL
Copy link

It should be possible to set the default decimal separator. I tried doing

#set _format-float(decsep: ",")

$ num("2.0") $

as I prefer to leave the numbers in code with dots (yet want it to show up as 2,0), but it throws a syntax error. Any way to set that in another way?

@PgBiel
Copy link
Contributor

PgBiel commented Oct 19, 2023

cc @ChHecker

@ChHecker
Copy link
Contributor

This is currently not possible. You could open up a feature request on the unify repository. Otherwise, I could do the same for you.

@laurmaedje
Copy link
Member

@ChHecker Good to know that there's a repo. This should probably be added to the typst.toml metadata so that the package list can link to it. (This would even be possible without a version bump under the minor fix policy.)

@laurmaedje laurmaedje closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2023
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

No branches or pull requests

4 participants