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

#footnote increasing counter for each overlay #1

Open
cristobaltapia opened this issue Aug 16, 2024 · 2 comments
Open

#footnote increasing counter for each overlay #1

cristobaltapia opened this issue Aug 16, 2024 · 2 comments

Comments

@cristobaltapia
Copy link

Hi, thanks for the nice library!

I have tested both Polylux and Touying, and for some reason I like minideck more. :)

As the title describes it, when using #footnote(...) together with #show: pause the number of the footnote is increased for each overlay. I guess an easy solution is to not use numbers for the footnotes, but was wondering if this is something that can be fixed, so that it works with numbers too?

Cheers!

@knuesel
Copy link
Owner

knuesel commented Aug 16, 2024

Glad you like it! I think there's the same issue for equation numbers, as described in this blog post: https://laurmaedje.github.io/posts/frozen-state/

It seems simple enough to fix in individual cases (for footnotes, for equations...) by saving and restoring counters, but a general solution will have to wait for typst/typst#1841

I'll see if I can put the fix for footnotes and equations in the next release (if the impact on performance is OK).

@cristobaltapia
Copy link
Author

Thanks for that reference to the issue in typst. I see that it is a problem that should be best addressed in typst itself. When that issue is resolved, slides will be much better, as there will be less problems with all that is numbered.

I'll see if I can put the fix for footnotes and equations in the next release (if the impact on performance is OK).

Thanks. It is also currently not a big problem for me. I still use beamer for most of my courses at the university, but I hope that I can soon start transitioning to typst (it is so much less time wasted in compilation!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants