Closed St0rml closed 8 months ago
When adding more than 4 sections, the outline does only display the last 4 sections. Also, the typst console shows the warning layout did not converge within 5 attempts with the hint to check if any states or queries are updating themselves.
layout did not converge within 5 attempts
To reproduce:
#import "@preview/touying:0.2.0": * #let s = themes.metropolis.register(s, aspect-ratio: "16-9", footer: self => self.info.institution) #let s = (s.methods.info)( self: s, title: [Title], subtitle: [Subtitle], author: [Authors], date: datetime.today(), institution: [Institution], ) #let s = (s.methods.enable-transparent-cover)(self: s) #let (init, slide, title-slide, new-section-slide, focus-slide, touying-outline) = utils.methods(s) #show: init #title-slide(extra: [Extra]) #slide(title: [Table of contents])[ #touying-outline() ] #new-section-slide[1] #new-section-slide[2] #new-section-slide[3] #new-section-slide[4] #new-section-slide[5]
With the code above, the outline shows four entries: 2,3,4,5
2,3,4,5
The same happens with the dewdrop theme. See MWE:
#import "@preview/touying:0.2.0": * #let s = themes.dewdrop.register( s, aspect-ratio: "16-9", footer: [Dewdrop], navigation: "mini-slides", // navigation: "sidebar", // navigation: none, ) #let s = (s.methods.info)( self: s, title: [Title], subtitle: [Subtitle], author: [Authors], date: datetime.today(), institution: [Institution], ) #let s = (s.methods.enable-transparent-cover)(self: s) // #let s = (s.methods.appendix-in-outline)(self: s, false) #let (init, slide, title-slide, touying-outline) = utils.methods(s) #show: init #title-slide() #slide[ == Outline #touying-outline(cover: false) ] #slide(section: [1])[] #slide(section: [2])[] #slide(section: [3])[] #slide(section: [4])[] #slide(section: [5])[]
Thanks, I've fixed it, will update on the next release.
When adding more than 4 sections, the outline does only display the last 4 sections. Also, the typst console shows the warning
layout did not converge within 5 attempts
with the hint to check if any states or queries are updating themselves.To reproduce:
With the code above, the outline shows four entries:
2,3,4,5
The same happens with the dewdrop theme. See MWE: