polylux icon indicating copy to clipboard operation
polylux copied to clipboard

Directly generate pdfpc config

Open Beiri22 opened this issue 1 year ago • 1 comments

It might not be 100% perfect by now, but please have a look, should fix #83 . As I see now, there is no big logic to fear.

Known problems:

  • Empty page at end. This might be cause by emitting the metadata, but i think https://github.com/typst/typst/pull/1929 shall fix this.

How to use:

$ typst query gauss.typ "<pdfpc>" --field value --one > gauss.pdfpc

Right now, every theme does emit the metadata separately. Maybe we could introduce a base theme that is used by all others to centralize tasks and settings that all themes share?

Beiri22 avatar Aug 28 '23 08:08 Beiri22

I really like rust, but have you considered creating the pdfpc file directly without a rust program?

Beiri22 avatar Apr 03 '24 05:04 Beiri22