@simon Most of my PDF creation is solving the “how do I save the current content of a webpage as a single file and not just an image” problem.
SingleFile <https://github.com/gildas-lormeau/SingleFile> and/or MHTML <https://en.wikipedia.org/wiki/MHTML> should be more universal than they are.