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

Weird behavior of outline slide #23

Closed
s92077 opened this issue Mar 27, 2024 · 3 comments · Fixed by #28
Closed

Weird behavior of outline slide #23

s92077 opened this issue Mar 27, 2024 · 3 comments · Fixed by #28
Labels
bug Something isn't working

Comments

@s92077
Copy link

s92077 commented Mar 27, 2024

In the current version (version 0.3.3) of dewdrop theme, if there are too many sections to be packed into a single outline slide, it seem that each of the slide of the outline create a new section/subsection, which is not desired. Is there any quick fix to that?

@OrangeX4
Copy link
Member

OrangeX4 commented Mar 28, 2024

Could you provide a concrete example?

@s92077
Copy link
Author

s92077 commented Mar 28, 2024

For example, in the following code, each section is repeated four times in the outline.

#import "@preview/touying:0.3.3": *

#let s = themes.dewdrop.register(
  aspect-ratio: "16-9",
  footer: [Dewdrop],
  navigation: "mini-slides",
)
#let s = (s.methods.info)(
  self: s,
  title: [Title],
  subtitle: [Subtitle],
  author: [Authors],
  date: datetime.today(),
  institution: [Institution],
)
#let (init, slides, touying-outline, alert) = utils.methods(s)
#show: init

#show strong: alert

#let (slide, empty-slide, title-slide, new-section-slide, focus-slide) = utils.slides(s)
#show: slides

= 1
= 2
= 3
= 4
= 5
= 6
= 7
= 8
= 9
= 10
= 11

@OrangeX4 OrangeX4 added the bug Something isn't working label Mar 28, 2024
@OrangeX4
Copy link
Member

It's really a bug, but not a bug with outline slide. If you want an outline slide that doesn't create new sections, you can

#slide[
  #touying-outline()
]

The bug here is that a multi-page slide creates the same section multiple times.

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