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

Equation numbering increases with #pause on each subslide #38

Open
yjcui opened this issue Apr 22, 2024 · 1 comment
Open

Equation numbering increases with #pause on each subslide #38

yjcui opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working upstream

Comments

@yjcui
Copy link

yjcui commented Apr 22, 2024

When subslide is used (with #pause, #only, etc.), numbering of equation keeps increasing on each subslide, where they should remain the same number.

Code snippet for testing.

#set math.equation(numbering: "(1)")

#slide[
  - Item 1
  #pause
  - Item 2
  #pause
  - Item 3
  
  $ alpha + beta = f(x) $
]
@OrangeX4
Copy link
Member

This is a known issue and difficult to fix in touying right now, which will need to wait until typst implements frozen state to deal with this.
https://laurmaedje.github.io/posts/frozen-state/

@OrangeX4 OrangeX4 added bug Something isn't working upstream labels Apr 23, 2024
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