Skip to main content

pdfpc-file

pdfpc-file(loc)(source)

Generate pdfpc metadata for the presentation. Called internally in the preamble when enable-pdfpc is true.

The result carries the <pdfpc-file> label. Turn it into a .pdfpc file either with #pdfpc.bundle-assets() in a bundle export, or with the shell command typst eval --in ./example.typ 'query(<pdfpc-file>).first().value' > ./example.pdfpc.

Parameters

loc : location​

A location inside the presentation. It tells the slides of this presentation apart from those of the other documents in a bundle export.

Returns: content