-
Notifications
You must be signed in to change notification settings - Fork 25
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
pause with enum and list #10
Comments
This is because the hide function in typst upstream doesn't hide the number properly https://github.com/typst/typst/issues/2040, you could wait for typst 0.11 release, but you can use a hack config-methods(cover: utils.semi-transparent-cover.with(alpha: 100%)) |
I think this behaves weirdly when image present? Or maybe I miss some document about how to display image. |
You can also use config-methods(cover: (self: none, body) => box(scale(x: 0%, body))) |
Proposed hack works with |
Can you give a minimal reproducible example? |
I retested and it works now. I think I misplaced the |
The issue is still relevant (for touying 0.5.2), but workaround is outdated. Example#import "@preview/touying:0.5.2": *
#import themes.simple: *
#show: simple-theme.with(aspect-ratio: "16-9")
#slide[
+ One
#pause
+ Two
] Is there another workaround for current version? |
Unfortunately, before there is a fix for that I won't be starting using touying. For my use cases, bullet points need to appear one by one without giving away their total number beforehand. |
This is a typst upstream issue, packages like touying or polylux cannot currently fix such an upstream issue. You can try the hack mentioned above: config-methods(cover: (self: none, body) => box(scale(x: 0%, body))) |
Or use a generic hack that works better: #show hide: set list(marker: none) I will consider adding this hack to the next version of touying. |
pause behave weirdly with enum and list
It shouldn't show the number in early slide?
The text was updated successfully, but these errors were encountered: