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

Unclear why layout did not converge within 5 attempts #72

Open
pvelayudhan opened this issue Sep 5, 2024 · 2 comments
Open

Unclear why layout did not converge within 5 attempts #72

pvelayudhan opened this issue Sep 5, 2024 · 2 comments
Labels
bug Something isn't working upstream

Comments

@pvelayudhan
Copy link
Contributor

Hello,

Thank you for all the amazing recent updates you have made!

I am finding that some slides I am preparing with a combination of pauses and figures have been returning the warning: layout did not converge within 5 attempts message and am not exactly sure why that is.

Here is a MWE that results in this issue:

#import "@preview/touying:0.5.2": *
#import themes.dewdrop: *
#show: dewdrop-theme

= A

#figure(image("square.svg", height: 40%))

#pause 1

= B

2 #pause

= C

I've attached square.svg as a file here:

square

For whatever reason, any of the following adjustments renders the slides without any problems:

  1. Removing the figure
  2. Removing either of the lines containing pauses
  3. Removing section headers B or C

Any insight as to what I may be doing wrong here or how to avoid this would be greatly appreciated!

@OrangeX4
Copy link
Member

OrangeX4 commented Sep 5, 2024

This will be fixed in typst 0.12 and you can fix it by config-common(enable-frozen-states-and-counters: false) for now.

@OrangeX4 OrangeX4 added bug Something isn't working upstream labels Sep 5, 2024
@pvelayudhan
Copy link
Contributor Author

Great to hear and that did fix it, thank you!

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
Projects
None yet
Development

No branches or pull requests

2 participants