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

Empty pages get incorrect candidates #7

Open
tingerrr opened this issue Dec 30, 2023 · 1 comment
Open

Empty pages get incorrect candidates #7

tingerrr opened this issue Dec 30, 2023 · 1 comment
Labels
bug Something isn't working upstream Waiting for upstream fix

Comments

@tingerrr
Copy link
Owner

tingerrr commented Dec 30, 2023

Given a document like so:

#import "@preview/hydra:0.4.0": hydra
#show heading.where(level: 1): it => pagebreak(weak: true) + it
#set page(paper: "a7", flipped: true, width: 100pt, header: context hydra(1))

= Incorrect

= Correct
#hide[.]

renders the following two pages:
image

Where the first page incorrectly shows the next heading. This seems to be directly correlated to typst#2631.

@tingerrr tingerrr added upstream Waiting for upstream fix bug Something isn't working labels Dec 30, 2023
@tingerrr
Copy link
Owner Author

With Typst 0.11.0 such an incorrect query also seems to cause "Layout did not converge within 5 attempts" for more complex documents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Waiting for upstream fix
Projects
None yet
Development

No branches or pull requests

1 participant