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

Incorrect page numbering when handout mode is on and if the page has #pause #121

Closed
anormalperson8 opened this issue Nov 24, 2024 · 0 comments · Fixed by #125
Closed

Incorrect page numbering when handout mode is on and if the page has #pause #121

anormalperson8 opened this issue Nov 24, 2024 · 0 comments · Fixed by #125
Labels
bug Something isn't working

Comments

@anormalperson8
Copy link

Given the following code:

#import "@preview/touying:0.5.3": *
#import themes.university: *

#show: university-theme.with(
  aspect-ratio: "16-9",
  progress-bar: false,
  navigation: none,
  header-right: none,
  config-info(
    title: [Title],
    short-title: [short title],
    subtitle: [subtitle],
    author: [author],
    date: [date],
    institution: [Some place]
  ),
  config-common(
    show-hide-set-list-marker-none: true,
    handout: true // THIS LINE
  ),
)

#title-slide()
= Section 1
== Page 2
Testing
#pause
Testing 2
#pause
Testing 3

== Page 3
Testing
#pause
Testing 2

== Page 4
Testing
#pause
Testing 2

= Section 2
== Page 6
Testing
#pause
Testing 2

= Section 3
== Page 8
Testing

== Page 9
Testing

If handout is true and the slide after a section (single =) uses #pause, then the page numbering on those pages would be completely broken.

The title of each subsection should refer to its actual page number, but compiling this with Typst 0.12.0 makes them wonky.

I hope I didn't configure something incorrectly. Thanks!

@anormalperson8 anormalperson8 changed the title Page numbering incorrect when handout mode is on if the page has #pause Incorrect page numbering when handout mode is on and if the page has #pause Nov 24, 2024
@OrangeX4 OrangeX4 added the bug Something isn't working label Nov 28, 2024
@OrangeX4 OrangeX4 linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants