Skip to content

pdfpc is not exported #220

@targodan

Description

@targodan

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. ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions