-
-
Notifications
You must be signed in to change notification settings - Fork 793
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
Unexpected linebreak in heading #4189
Comments
I can reproduce this. Presumably the cause is a commit not included in the 0.11.1 release. |
This seems related to #3398. |
Hey, thanks for tagging me. |
It's likely a problem with measurement and floating point. But the relevant code doesn't exist anymore on my layout refactoring branch, so probably not worth it to try and fix it there. |
Yeah that is also what I suspected, thanks for validating :D |
It's not yet public, but I'll probably create a first PR soon-ish and describe things there. |
Description
I tried the following code:
It produces the following unexpected output (screenshot of the pdf created by
typst compile
)This is with version 0.11.1 (I think.
typst --version
saystypst 0.11.0 (4f8bbb01)
. I compiled myself from git). It seems to have worked with 0.11.0What is strange is that I cannot reproduce the issue in the typst web app with any version I try. Perhaps I'm doing something wrong.
Reproduction URL
No response
Operating system
Linux
Typst version
The text was updated successfully, but these errors were encountered: