polylux
polylux copied to clipboard
University theme ignores section name if title is not set
Take e.g.
#slide(title: [Title 1], new-section: [Section 1])[
#lorem(20)
]
#slide(new-section: [Section 2])[
#lorem(20)
]
#slide(title: [Title 2])[
#lorem(20)
]
Only the first and third slides will display section name, and the third slide will show up as Section 1.
Looking at the code, I can see that the new-section argument is entirely ignored if title is not set.
https://github.com/andreasKroepelin/polylux/blob/462716289947a30686694fcabaf47f04f8ab4e02/themes/university.typ#L126-L129