-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Previously, this worked:
#import "@preview/polylux:0.3.1": *
#pdfpc.config(duration-minutes: 5)Now, with version 0.4.0, I get the following error:
error: unknown variable: pdfpc
┌─ presentation.typ:12:1
│
12 │ #pdfpc.config(
│ ^^^^^
I found that the pdfpc package is now a subpackage of the toolbox package, so the fix would be as follows:
#import "@preview/polylux:0.4.0": *
#toolbox.pdfpc.config(duration-minutes: 5)This is however not what the docs say. The docs still claim:
Polylux exports the pdfpc module [...]
Examples in the docs also use #pdfpc. I'm not sure if the docs are wrong or if the imports need fixing. ;)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels